O'Reilly logo

Embedded Programming with the Microsoft® .NET Micro Framework by Rob Miles, Donald Thompson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building a Connected Flashlight

We are going to extend the flashlight we've been developing over the past few chapters by having it periodically communicate its GPS position to the central office (HQ). (They are not very trustful of their security guards, apparently.) When the flashlight is powered on, it will register with HQ by making a TCP connection. In return, it will receive some configuration parameters (also over TCP) that it will use to drive the UDP-based updates it will send out while it is operating.

Creating the HQ Server

We will use the desktop version of .NET to create a stand-alone personal-computer server for the flashlight to communicate with (back at HQ). This is just a simple console application that will provide the configuration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required