Chapter 6. Hello Pachube
In this chapter, I will show a basic HTTP client,
HelloPachube, that pushes samples to Pachube, as shown in Figure 6-1.
Figure 6-1. Architecture of HelloPachube
HelloPachube runs on the Netduino Plus and sends measurements to the Pachube web service by issuing HTTP PUT requests. The user, through his web browser, sends HTTP GET requests to Pachube to retrieve feed entries. The data flow originates in the device, goes up to Pachube, and continues from there to the user.
Setting Up the Network Configuration
Before you can run such a client, you need to make sure that your Netduino Plus board has access to the Internet—i.e., it ...