LIFX Developer Zone

Announcing a machine readable definition of the LAN protocol


#1

Hi,

We are releasing a machine readable definition of the LIFX LAN protocol over at https://github.com/LIFX/public-protocol. This should enable developers to generate their own protocol parsing libraries automatically. This is similar to how we generate libraries internally at LIFX.

An advanced example of using this yaml file to generate a library can be found in this project https://github.com/delfick/photons-messages-generator which is used by the python photons project which you can find at https://github.com/delfick/photons-core/tree/master/generate_photons_messages

We hope this will help reduce the effort in producing correct protocol parsing libraries. If you have any questions about this format, do feel free to ask here or make an issue on the public-protocol repository.