Tagged: ploggs

8,266

Towards the Web of Things: Web Mashups for Embedded Devices @ MEM 2009

Dominique Guinard and Vlad Trifa, Towards the Web of Things: Web Mashups for Embedded Devices Dominique Guinard presents this paper. (You might wonder how I manage to both present it and blog about it, well this is thanks to Ghislain Fourny who wrote a summary of my talk). After introducing a couple of smart objects and noticing that the audience is uncool as nobody has a Poken, Dominique asks how we are going to deal with the 1000+ smart objects each person is going to have within the next 5 to 10 years. Communicating with these objects could be made...

Giving some REST to your C++ code: embedding the SHTTPD server. 3,003

Giving some REST to your C++ code: embedding the SHTTPD server.

Wanting to turn the Ploggs, into more RESTful devices, I needed to add a web server (HTTP) to the C++ code managing the Ploggs. After comparing and trying a number of lightweight web servers (Apache was not an option for this kind of small app) I picked SHTTPD, mainly because: It was one of the few I managed to embed in my C++ code (I’m not a C expert…) It offered the possibility of registering call back methods when a particular URL is called, which makes it a quite good candidate for a REST interface. Here is how I did...