Factory reset
Allows end-user (application) to perform factory reset of the hardware
Introduction
From version 2.29 a BLE command has been added that initiates a factory reset of the SmartBridge.
Items that will be reset to the original setting include:
- Opt-in value
- Local API authentication tokens,
- Meter keydata,
- LORA commissioned node,
- Edge NILM configuration parameters
- Locally stored metering data
- Wifi credentials
Not reset is:
- Replacement EUI (applicable when device acts as SmartBridge Replacement)
- Replacement platform address (applicable when hardware was moved to platform different from production setting)
To initiate the factory reset, the BLE interface must be active (LED flashing), so it can not have an active Wifi connection. This is the case when
- the Smartbridge has never been onboarded (factory fresh), or
- the wifi credentials known to device are not valid or router is not in range, or
- the device has been instructed to 'forget' the wifi credentials (administrator call to Device Management API)
Procedure
- Connect with BLE to the device
- Turn on notification of characteristic
4e09
. - Write a byte (array) with value
00
to UUID4E04
, this will trigger the factory reset. - Monitor value of
4e09
until 0x00 or 0x02, potential values are:- 0x00 Succes (usually the second value received)
- 0x01 Factory Reset in progress (This should be the first value received)
- 0x02 Factory Reset error
- After 0x00 Succes the device will disconnect and reboot
Updated 18 days ago