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
Copy file name to clipboardExpand all lines: README.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,6 +204,42 @@ This feature only really works in interactive mode.
204
204
205
205
Note: There is also an `auto_update_contacts` setting that has nothing to do with adding contacts, it permits to automatically sync contact lists between device and meshcore-cli (when there is an update in name, location or path).
206
206
207
+
### LED Control
208
+
209
+
The BLE and status LEDs on companion devices can be controlled using the `set` and `get` commands.
210
+
211
+
#### BLE LED (`led_ble_mode`)
212
+
213
+
Controls the BLE connection indicator LED.
214
+
215
+
| Value | Behavior |
216
+
|-------|----------|
217
+
| 0 | Normal: blinks when disconnected, solid when connected |
218
+
| 1 | Blinks only when disconnected from BLE |
219
+
| 2 | Solid only when connected to BLE |
220
+
| 3 | Disabled |
221
+
222
+
```
223
+
set led_ble_mode 1
224
+
get led_ble_mode
225
+
```
226
+
227
+
#### Status LED (`led_status_mode`)
228
+
229
+
Controls the status LED blinking.
230
+
231
+
| Value | Behavior |
232
+
|-------|----------|
233
+
| 0 | Enabled (normal blinking) |
234
+
| 1 | Disabled |
235
+
236
+
```
237
+
set led_status_mode 1
238
+
get led_status_mode
239
+
```
240
+
241
+
Note: LED settings are persisted to the device and require a reboot to take effect.
242
+
207
243
### Issuing batch commands to contacts with apply to
208
244
209
245
`apply_to <f> <cmd>` : applies cmd to contacts matching filter `<f>` it can be used to apply the same command to a pool of repeaters, or remove some contacts matching a condition.
0 commit comments