| Msg |
UI/SP Command |
Cmd |
Command byte /
words |
|
Details |
|
JS API |
Fields |
xch |
HW support |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Method |
All cmds subscript |
|
|
Microchip |
Microchip |
Microchip |
Microchip |
WCH |
WCH |
Arduino |
| |
Exch Specs Version 1.0 |
0x |
b7 |
b6 |
b5 |
b4 |
b3 |
b2 |
b1 |
b0 |
|
|
/api/... |
|
|
PIC16F628 |
PIC16F876 |
PIC24F |
PIC32 |
CH32V003 |
CH32V307 |
Uno |
| M1 |
skst, stopkst |
0x01 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
Stop K-ST (Kernel Space scheduler) |
|
krt/stopkst |
|
1.0 |
v |
|
|
|
|
|
|
| M2 |
rkst, runkst |
0x02 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
Run K-ST (Kernel Space scheduler) |
|
krt/runkst |
|
1.0 |
v |
|
|
|
|
|
|
| M4 |
sys, systat |
0x04 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
Read-back systat then reset min/max |
|
krt/systat |
|
1.0 |
v |
|
|
|
|
|
|
| M8 |
clr, clear |
0x08 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
Clear Fault and Alarm Words |
|
krt/clear |
|
1.0 |
v |
|
|
|
|
|
|
| M16 |
sust, stopust |
0x10 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
Stop U-ST (User Space scheduler) |
|
krt/stopust |
|
1.0 |
v |
|
|
|
|
|
|
| M32 |
rust, runust |
0x20 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
Run U-ST (User Space scheduler) |
|
krt/runust |
|
1.0 |
v |
|
|
|
|
|
|
| M64 |
sta, status |
0x40 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
Return Status, Alarm and Fault words |
|
krt/status |
|
1.0 |
v |
|
|
|
|
|
|
|
Custom |
0x__ |
1 |
x |
x |
x |
x |
x |
x |
x |
Custom commands |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M128 |
g[n]ci |
0x80 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
Set GPIO [n] as digital input |
POST |
gpio/config/[num] |
mode = input |
1.0 |
v |
|
|
|
|
|
|
| M129 |
g[n]co |
0x81 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
Set GPIO [n] as digital output |
POST |
gpio/config/[num] |
mode = output |
1.0 |
v |
|
|
|
|
|
|
| M130 |
g[n]ca |
0x82 |
1 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
Set GPIO [n] as analog input. Server responds with PWM
resolution in bits. |
POST |
gpio/config/[num] |
mode = analog |
1.0 |
|
|
|
|
|
|
|
| M131 |
g[n]cp |
0x83 |
1 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
Set GPIO [n] as PWM output. Server responds with PWM
resolution in bits. |
POST |
gpio/config/[num] |
mode = pwm |
1.0 |
|
|
|
|
|
|
|
| M132 |
|
0x84 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M133 |
|
0x85 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M134 |
g[n]cs+data |
0x86 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
Configure special. User defined. |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M135 |
g[n]cr |
0x87 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
Read-back GPIO [n] Configuration |
GET |
gpio/config/[num] |
|
1.0 |
v |
|
|
|
|
|
|
| M136 |
g[n]cod |
0x88 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
Configure GPIO [n] Open Drain (High Z) |
|
gpio/config/[num] |
mode = opendrain |
1.0 |
v |
|
|
|
|
|
|
| M137 |
g[n]cpu |
0x89 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
Configure GPIO [n] Pull Up |
POST |
gpio/config/[num] |
mode = pullup //enable: 0,1 |
1.0 |
v |
|
|
|
|
|
|
| M138 |
g[n]cpd |
0x8a |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
Configure GPIO [n] Pull Down |
|
gpio/config/[num] |
mode = pulldown |
1.0 |
|
|
|
|
|
|
|
| M139 |
|
0x8b |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M140 |
g[n]cpp |
0x8c |
1 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
Configure GPIO [n] Push-Pull |
|
gpio/config/[num] |
mode = pushpull |
1.0 |
|
|
|
|
|
|
|
| M141 |
|
0x8d |
1 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M142 |
|
0x8e |
1 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M143 |
|
0x8f |
1 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M144 |
g[n]cslow |
0x90 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
Configure GPIO [n] Slew rate Slow |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M145 |
g[n]cmed |
0x91 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
Configure GPIO [n] Slew rate Medium |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M146 |
g[n]cfast |
0x92 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
Configure GPIO [n] Slew rate Fast |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M147 |
|
0x93 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M148 |
|
0x94 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M149 |
|
0x95 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M150 |
|
0x96 |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M151 |
|
0x97 |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M152 |
g[n]rd |
0x98 |
1 |
0 |
0 |
1 |
1 |
0 |
0 |
0 |
Read GPIO [n]. Returns a boolean (8 bit with boolean at
LSB) |
GET |
gpio/grd/[num] |
|
1.0 |
v |
|
|
|
|
|
|
| M153 |
g[n]rd8 |
0x99 |
1 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
Read GPIO [n] through [n+7]. Returns an 8 bit result LSB
= [n] MSB = [n+7] |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M154 |
g[n]rd16 |
0x9a |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
Read GPIO [n] through [n+15]. Returns an 8 bit result LSB
= [n] MSB = [n+15] |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M155 |
g[n]rd32 |
0x9b |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
1 |
Read GPIO [n] through [n+31]. Returns an 8 bit result LSB
= [n] MSB = [n+31] |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M156 |
g[n]rd[m]r... |
0x9c |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
0 |
Read list of digital inputs ex. g1r2r4r8r reads
DI 1,2,4,8. Packed bits payload received. |
|
|
1.0 |
|
|
|
|
|
|
|
| M157 |
|
0x9d |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M158 |
|
0x9e |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M159 |
|
0x9f |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M160 |
g[n]ra |
0xa0 |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
Read analog input [n]. Returns N bytes depending on ADC
configuration. |
|
gpio/gra/[num] |
|
1.0 |
|
|
|
|
|
|
|
| M161 |
g[n]ra[m]ra... |
0xa1 |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
Read list of analog inputs ex. g1a2a4a8a reads
Analog channels 1,2,4,8. Packed payload received. |
|
1.0 |
|
|
|
|
|
|
|
| M162 |
|
0xa2 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M163 |
|
0xa3 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M164 |
g[n]wd[v] |
0xa4 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
Write [v] to GPIO [n]. Payload 1 byte, bits 7-1 =
address, bit 0 = value |
POST |
gpio/gwd/[num] |
|
1.0 |
v |
|
|
|
|
|
|
| M165 |
g[n1]wd[v1]m[n2]wd[v2] |
0xa5 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
Write multiple GPIO : Payload of [i] GPIO to
setup. Payload 1 byte, bits 7-1 = address, bit 0 = value |
|
1.0 |
|
|
|
|
|
|
|
| M166 |
|
0xa6 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M167 |
|
0xa7 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M168 |
g[n]wp[v] |
0xa8 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
For a PWM output, writes unscaled value (with
of the PWM received at configuration). Send the
payload appropriately. |
gpio/gwp/[num] |
|
1.0 |
|
|
|
|
|
|
|
| M169 |
g[n1]wp[v1]m[n2]wp[v2] |
0xa9 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
Set many PWM ([i]). Payload is the packed PWM
configuration. Ex |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M170 |
|
0xaa |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M171 |
|
0xab |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M172 |
|
0xac |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M173 |
|
0xad |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M174 |
|
0xae |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M175 |
|
0xaf |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M176 |
8 bit payload |
0xb0 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
Next byte is an 8 bit payload |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M177 |
16 bit payload |
0xb1 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
1 |
Next 2 bytes are a 16 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M178 |
24 bit payload |
0xb2 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
0 |
Next 3 bytes are a 24 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M179 |
32 bit payload |
0xb3 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
Next 4 bytes are a 32 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M180 |
40 bit payload |
0xb4 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
0 |
Next 5 bytes are a 40 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M181 |
48 bit payload |
0xb5 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
Next 6 bytes are a 48 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M182 |
56 bit payload |
0xb6 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
Next 7 bytes are a 56 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M183 |
64 bit payload |
0xb7 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
1 |
Next 8 bytes are a 64 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M184 |
128 bit payload |
0xb8 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
Next 16 bytes are a 128 bit CRC for the previous packet
or frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M185 |
192 bit payload |
0xb9 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
1 |
Next 24 bytes are a 192 bit CRC for the previous packet
or frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M186 |
256 bit payload |
0xba |
1 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
Next 32 bytes are a 256 bit CRC for the previous packet
or frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M187 |
512 bit payload |
0xbb |
1 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
Next 64 bytes are a 512 bit CRC for the previous packet
or frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M188 |
|
0xbc |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M189 |
|
0xbd |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M190 |
|
0xbe |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M191 |
|
0xbf |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M192 |
8 bit CRC |
0xc0 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
Next byte is an 8 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M193 |
16 bit CRC |
0xc1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
1 |
Next 2 bytes are a 16 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M194 |
32 bit CRC |
0xc2 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
Next 4 bytes are a 32 bit CRC for the previous packet or
frame |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M195 |
|
0xc3 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M196 |
|
0xc4 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M197 |
|
0xc5 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M198 |
|
0xc6 |
1 |
1 |
0 |
0 |
0 |
1 |
1 |
0 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M199 |
|
0xc7 |
1 |
1 |
0 |
0 |
0 |
1 |
1 |
1 |
Provision |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M200 |
|
0xc8 |
1 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M201 |
|
0xc9 |
1 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M202 |
|
0xca |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M203 |
|
0xcb |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M204 |
|
0xcc |
1 |
1 |
0 |
0 |
1 |
1 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M205 |
|
0xcd |
1 |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M206 |
|
0xce |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M207 |
|
0xcf |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M208 |
|
0xd0 |
1 |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M209 |
|
0xd1 |
1 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M210 |
|
0xd2 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M211 |
|
0xd3 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M212 |
|
0xd4 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M213 |
|
0xd5 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M214 |
|
0xd6 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M215 |
|
0xd7 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M216 |
|
0xd8 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M217 |
|
0xd9 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M218 |
|
0xda |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M219 |
|
0xdb |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M220 |
|
0xdc |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M221 |
|
0xdd |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M222 |
|
0xde |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M223 |
|
0xdf |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M224 |
ihwmcu |
0xe0 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
Read-back hardware MCU type. See bytes_def. Ex. 0x3009
for 16F628 |
|
info/hwmcu |
|
1.0a |
v |
|
|
|
|
|
|
| M225 |
iping |
0xe1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
Ping-Pong. MCU Reads back an 8 bit increment counter
which does not reset. |
|
info/ping |
|
1.0a |
|
|
|
|
|
|
|
| M226 |
irtcrd |
0xe2 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
Read RTC |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M227 |
irtcwr |
0xe3 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
1 |
Write RTC |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M228 |
irtcdevrd |
0xe4 |
1 |
1 |
1 |
0 |
0 |
1 |
0 |
0 |
Read RTC deviation correction factor +127/-128ppm (1 byte
signed int8_t) |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M229 |
irtcdevwr |
0xe5 |
1 |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
Write RTC deviation correction factor +127/-128ppm (1
byte signed int8_t) |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M230 |
ibatt |
0xe6 |
1 |
1 |
1 |
0 |
0 |
1 |
1 |
0 |
MCU to read-back the battery level. 0x01-0xff. If not
known, 0x00. |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M231 |
isup |
0xe7 |
1 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
MCU to read-back the power source. Not known 0x00, batt
0x01, mains 0xff. |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M232 |
icons |
0xe8 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
0 |
MCU to read-back its remaining batty time |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M233 |
|
0xe9 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M234 |
|
0xea |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M235 |
|
0xeb |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M236 |
|
0xec |
1 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M237 |
|
0xed |
1 |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M238 |
|
0xee |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M239 |
|
0xef |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M240 |
csleep |
0xf0 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
Send to put MCU in sleep. Provide a 1 byte period [s]. |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M241 |
cwake |
0xf1 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
MCU Wake up command. Send this when the MCU send a
periodic probes. |
|
|
|
1.0a |
|
|
|
|
|
|
|
| M242 |
|
0xf2 |
1 |
1 |
1 |
1 |
0 |
0 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M243 |
|
0xf3 |
1 |
1 |
1 |
1 |
0 |
0 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M244 |
|
0xf4 |
1 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M245 |
|
0xf5 |
1 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M246 |
|
0xf6 |
1 |
1 |
1 |
1 |
0 |
1 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M247 |
|
0xf7 |
1 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M248 |
mhead |
0xf8 |
1 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
Standard message with header |
|
|
|
1.0 |
|
|
|
|
|
|
|
| M249 |
|
0xf9 |
1 |
1 |
1 |
1 |
1 |
0 |
0 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M250 |
|
0xfa |
1 |
1 |
1 |
1 |
1 |
0 |
1 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M251 |
|
0xfb |
1 |
1 |
1 |
1 |
1 |
0 |
1 |
1 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M252 |
|
0xfc |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
0 |
|
|
|
|
1.0 |
|
|
|
|
|
|
|
| M253 |
nop |
0xfd |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
1 |
NOP |
|
|
|
1.0b |
|
|
|
|
|
|
|
| M254 |
clrserial |
0xfe |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
Clear serial states (multi byte states for Serial
decoder) |
|
|
|
1.0 |
v |
|
|
|
|
|
|
| M255 |
extcmd + M[57...68]+PL |
0xff |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
Extended command. Followed by M56 to M67
payload specification. User defined. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Additional Informations |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| M232 |
icons |
0xe8 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
0 |
MCU to read-back 2 bytes remaining battery
time. Units are sec, mins, hrs, days. |
|
|
1.0a |
|
|
|
|
|
|
|
| M240 |
csleep |
0xf0 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
Send to put MCU in sleep. Provide a 1 byte
period [s] wake up ping for MCU to send-back and Serial read for about 1ms
(if no answer, will go back into sleep). |
1.0a |
|
|
|
|
|
|
|
| M241 |
cwake |
0xf1 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
When received a MCU probe, send-back the Wake
command to have MCU out of sleep. |
|
|
1.0a |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|