This CLI (Command Line Interface) is based mbed-os. Both NNN50 and NQ620 are supported.
Fork of NNN40_CLI by
BLE CLI Document can be downloaded here .
Note that when evaluate using Windows PC as the host, the Serial driver need to be installed in advance. The instruction is explained in the link below
https://developer.mbed.org/handbook/Windows-serial-configuration
Once installed, a device called 'mbed Serial Port (COM#)' should be recognized in Device Manager, as shown below
Please open the com port at 115200 8n1 as default
Diff: CLI_Source/command-interpreter.cpp
- Revision:
- 20:bd1760975052
- Parent:
- 13:7eaec228ad23
- Child:
- 21:72d7a6e85d7f
--- a/CLI_Source/command-interpreter.cpp Wed Oct 19 06:49:09 2016 +0000 +++ b/CLI_Source/command-interpreter.cpp Wed Oct 19 10:34:28 2016 +0000 @@ -489,15 +489,4 @@ return commandState.totalIndex; } -uint8_t isValidGPIO(uint8_t num) -{ - uint8_t cfgPin[] = {0,4,5,6,7,13,21,23,24,25,29,30,31}; - uint8_t i; - for ( i = 0; i < sizeof(cfgPin) ; i++ ) { - if ( num == cfgPin[i] ) - return 1; - } - - return 0; -}