The previous section describe devices must behave to be connected to Lhings. This was a generic description valid to any device. This section describes how you can program a device to connect to Lhings from a coding point of view, and provides detailed information about the different ways of doing it.
Lhings provides a generic way of connecting devices to it, its HTTP API, valid for any device capable of sending HTTP requests. There are also some supported devices, for which libraries are available to ease the task of connecting a device to Lhings.