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 ...
Get Embedded Programming with the Microsoft® .NET Micro Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.