You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -121,20 +124,22 @@ MeshCore-specific functionality uses the standard KISS SetHardware command. The
121
124
| SharedSecret |`0x27`| Shared secret (32) |
122
125
| Hash |`0x28`| SHA-256 hash (32) |
123
126
| OK |`0x29`| - |
124
-
| Radio |`0x2A`| Freq (4) + BW (4) + SF (1) + CR (1) |
125
-
| TxPower |`0x2B`| Power dBm (1) |
126
-
| Version |`0x2D`| Version (1) + Reserved (1) |
127
-
| Error |`0x2E`| Error code (1) |
128
-
| TxDone |`0x2F`| Result (1): 0x00=failed, 0x01=success |
129
-
| CurrentRssi |`0x30`| RSSI dBm (1, signed) |
130
-
| ChannelBusy |`0x31`| Result (1): 0x00=clear, 0x01=busy |
131
-
| Airtime |`0x32`| Milliseconds (4) |
132
-
| NoiseFloor |`0x33`| dBm (2, signed) |
133
-
| Stats |`0x34`| RX (4) + TX (4) + Errors (4) |
134
-
| Battery |`0x35`| Millivolts (2) |
135
-
| Pong |`0x36`| - |
136
-
| Sensors |`0x37`| CayenneLPP payload |
137
-
| RxMeta |`0x38`| SNR (1) + RSSI (1) |
127
+
| Error |`0x2A`| Error code (1) |
128
+
| Radio |`0x2B`| Freq (4) + BW (4) + SF (1) + CR (1) |
129
+
| TxPower |`0x2C`| Power dBm (1) |
130
+
| CurrentRssi |`0x2D`| RSSI dBm (1, signed) |
131
+
| ChannelBusy |`0x2E`| Result (1): 0x00=clear, 0x01=busy |
132
+
| Airtime |`0x2F`| Milliseconds (4) |
133
+
| NoiseFloor |`0x30`| dBm (2, signed) |
134
+
| Version |`0x31`| Version (1) + Reserved (1) |
135
+
| Stats |`0x32`| RX (4) + TX (4) + Errors (4) |
136
+
| Battery |`0x33`| Millivolts (2) |
137
+
| MCUTemp |`0x34`| Temperature (2, signed) |
138
+
| Sensors |`0x35`| CayenneLPP payload |
139
+
| DeviceName |`0x36`| Name (variable, UTF-8) |
140
+
| Pong |`0x37`| - |
141
+
| TxDone |`0x38`| Result (1): 0x00=failed, 0x01=success |
142
+
| RxMeta |`0x39`| SNR (1) + RSSI (1) |
138
143
139
144
### Error Codes
140
145
@@ -151,9 +156,9 @@ MeshCore-specific functionality uses the standard KISS SetHardware command. The
151
156
152
157
The TNC sends these SetHardware frames without a preceding request:
153
158
154
-
**TxDone (0x2F)**: Sent after a packet has been transmitted. Contains a single byte: 0x01 for success, 0x00 for failure.
159
+
**TxDone (0x38)**: Sent after a packet has been transmitted. Contains a single byte: 0x01 for success, 0x00 for failure.
155
160
156
-
**RxMeta (0x38)**: Sent immediately after each standard data frame (type 0x00) with metadata for the received packet. Contains SNR (1 byte, signed, value x4 for 0.25 dB precision) followed by RSSI (1 byte, signed, dBm). Standard KISS clients ignore this frame.
161
+
**RxMeta (0x39)**: Sent immediately after each standard data frame (type 0x00) with metadata for the received packet. Contains SNR (1 byte, signed, value x4 for 0.25 dB precision) followed by RSSI (1 byte, signed, dBm). Standard KISS clients ignore this frame.
157
162
158
163
## Data Formats
159
164
@@ -218,6 +223,26 @@ All values little-endian.
218
223
|-------|------|-------------|
219
224
| Millivolts | 2 bytes | uint16_t, battery voltage in mV |
220
225
226
+
### MCU Temperature (MCUTemp response)
227
+
228
+
All values little-endian.
229
+
230
+
| Field | Size | Description |
231
+
|-------|------|-------------|
232
+
| Temperature | 2 bytes | int16_t, tenths of °C (e.g., 253 = 25.3°C) |
233
+
234
+
Returns `NoCallback` error if the board does not support temperature readings.
235
+
236
+
### Device Name (DeviceName response)
237
+
238
+
| Field | Size | Description |
239
+
|-------|------|-------------|
240
+
| Name | variable | UTF-8 string, no null terminator |
241
+
242
+
### Reboot
243
+
244
+
Sends an `OK` response, flushes serial, then reboots the device. The host should expect the connection to drop.
0 commit comments