Stairs/web/protocol.js
Mark van Renswoude b39f3ba826 Added OTA firmware update
Added range customization (untested)
Added static mode easing (untested)
2017-04-16 13:40:34 +02:00

22 lines
317 B
JavaScript

module.exports =
{
Command:
{
Error: 0x00,
Ping: 0x01,
Reply: 0x02,
GetMode: 0x03,
SetMode: 0x04,
UpdateFirmware: 0xFF
},
Mode:
{
Static: 0x01,
Custom: 0x02,
Alternate: 0x03,
Slide: 0x04
//ADC: 0x05
}
};