What Will The Internet of Things Ever Do For Us?

There have been any number of warnings in recent years about the potential negative impacts of what has come to be known as the Internet of Things. Warnings about security: Their own devices Hacking the planet about privacy and the control of global corporations: Against the Smart City – Adam Greenfield The Epic Struggle of … Continue reading “What Will The Internet of Things Ever Do For Us?”

Porting the Paho synchronous embedded C++ client

The MQTT library on mbed.org also now exists in Eclipse Paho. I intend Paho to be the master copy. There are two APIs in this library, the largely complete synchronous API in MQTTClient.h, and the unfinished asynchronous API in MQTTAsync.h. In this post I’ll be talking about the synchronous API. I have discussed the major … Continue reading “Porting the Paho synchronous embedded C++ client”

Receiving messages with the Paho embedded C client

In my previous post I described the motivation behind writing a new MQTT C client, and the first sample – how to publish a message with a small application program. Now I want to go onto the second sample pub0sub1.c. This is meant to mimic the sort of program that subscribes to a command topic, … Continue reading “Receiving messages with the Paho embedded C client”

Use of Gotos in C code (in RSMB)

I saw that John Donovan criticised my use of gotos in the Really Small Message Broker (RSMB) C code a little while back in his article MQTT and the language of the Internet of Things. To quote: And, despite some missing features, a crash bug (for which I have posted a fix), and a scary number … Continue reading “Use of Gotos in C code (in RSMB)”