This CLI (Command Line Interface) is based mbed-os. Both NNN50 and NQ620 are supported.

Fork of NNN40_CLI by Delta

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

/media/uploads/tsungta/mbed_serial_port_1.png

Please open the com port at 115200 8n1 as default

Revision:
9:ff3ccba5dc16
Parent:
5:ee474e3133eb
Child:
13:7eaec228ad23
--- a/CLI_Source/command-interpreter.cpp	Thu Jan 21 11:32:23 2016 +0000
+++ b/CLI_Source/command-interpreter.cpp	Mon Jan 25 11:19:12 2016 +0000
@@ -475,3 +475,15 @@
 	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;
+}