Format an XBee module
You can use the format device request target name to format the XBee module's filesystem. This process removes any previous contents and resets the module to a fresh state.
For best results, you should notify others that you plan to reformat the XBee's filesystem before you initiate a format device request.
When you initiate a format device request, the following occurs:
-
The format operation closes all files open by other users of the system, including those that may be in use by a MicroPython application.
-
The contents of the filesystem are reset to their initial default state.
Example:
<sci_request version="1.0">
<data_service>
<targets>
<device id="Your Device ID here" />
</targets>
<requests>
<device_request target_name="format"/>
</requests> </data_service> </sci_request>