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 (if still present) ?
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, so no active Wifi connection can be there. 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
00
to UUID4E04
, this will trigger the factory reset. - Monitor value of
4e09
, potential values are:- 0x00 Succes
- 0x01 Factory Reset in progress
- 0x02 Factory Reset error
Updated 3 months ago