Stairs/web/protocol.js
2017-05-06 15:27:20 +02:00

24 lines
365 B
JavaScript

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