Module lifecycle

Module lifecycle 

Source
Expand description

State lifecycle and one-off device settings: save, restore, clear, reset, factory-reset, pin, ble, identity, name, and alert.

Enums§

AlertOp
BleOp
IdentityOp
PairState
Whether the pairing window should be open. The window is a state, not an act — PROP_BLE_PAIRING — so it can be set in either direction and read back.

Constants§

CLEAR_BONDS_WARNING 🔒
FACTORY_RESET_WARNING 🔒

Functions§

alert
Report or drive the locate alert (PROP_ALERT).
ble
Read or manage the device’s Bluetooth bonds.
clear
display 🔒
Human-readable rendering of a PROP_ALERT state.
factory_reset
identity
name
pin
reboot
Restart the device, keeping everything it has persisted.
reset
restore
save