Source code for the Creating protocol gateways chapter of the book "Learning Internet of Things".