deregister Device
Deregister a device from the Amazon Sidewalk network.
Return
SidewalkResult.Success if the Amazon Sidewalk device is de-registered successfully; otherwise SidewalkResult.Failure with the failure cause.
Parameters
smsn
The Sidewalk Manufacturing Serial Number (SMSN) of the device to attempt to connect to. The SMSN is a 5-Byte hex string, for instance, "F123456789". String with invalid length or character will cause the process to fail directly.
factory Reset
If set to true, will attempt to scan for and factory reset the device.