factory_reset

Function factory_reset 

Source
pub fn factory_reset(buf: &mut [u8], tid: u8) -> Result<usize, WriteError>
Expand description

Encode a CMD_FACTORY_RESET frame (no payload). The device erases all mutable state and reboots without replying.