The test command lists supported functional modes.
Response syntax:
+CFUN: (list of supported <fun>s)
The response parameters and their defined values are the following:
+CFUN=0
if the option is mentioned in the description of the
command. This is useful if the command relates to a permanent hardware configuration
because it avoids the need to give the command every time in the beginning of the
application.Active %XPOFWARN warning blocks the storing to NVM.v1.3.x≥2
+CFUN=0
resets unsolicited notification
requests.
When commanding the device to power off, wait for OK to make sure that NVM has been updated.
CFUN=0
causes writing to NVM.
When using CFUN=0
, take NVM wear into account.The following command example returns the supported functional modes:
AT+CFUN=?
+CFUN: (0,1,4,20,21,30,31,40,41,44)
OK