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

Committer:
gillwei7
Date:
Fri Sep 11 07:29:31 2015 +0000
Revision:
0:5c195ab2f696
Child:
4:b52035367aee
Gill first commit 20150911 for NNN40_CLI Version 0; Merge mbed library to offline Keil Wifi/BLE CLI program

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gillwei7 0:5c195ab2f696 1 /**
gillwei7 0:5c195ab2f696 2 * File: core-cli.c
gillwei7 0:5c195ab2f696 3 * Description: Core CLI commands used by all applications regardless of profile.
gillwei7 0:5c195ab2f696 4 *
gillwei7 0:5c195ab2f696 5 * Copyright 2014 by CYNTEC Corporation. All rights reserved.
gillwei7 0:5c195ab2f696 6 */
gillwei7 0:5c195ab2f696 7
gillwei7 0:5c195ab2f696 8 #include <stdint.h>
gillwei7 0:5c195ab2f696 9 #include <string.h>
gillwei7 0:5c195ab2f696 10 #include "command-interpreter.h"
gillwei7 0:5c195ab2f696 11 #include "nrf.h"
gillwei7 0:5c195ab2f696 12
gillwei7 0:5c195ab2f696 13 #if (DELTA_BLE_ON == 1)
gillwei7 0:5c195ab2f696 14 #include "ble_cli.h"
gillwei7 0:5c195ab2f696 15 #endif
gillwei7 0:5c195ab2f696 16 #if (DELTA_WIFI_ON == 1)
gillwei7 0:5c195ab2f696 17 #include "wifi_cli.h"
gillwei7 0:5c195ab2f696 18 #endif
gillwei7 0:5c195ab2f696 19
gillwei7 0:5c195ab2f696 20
gillwei7 0:5c195ab2f696 21 CyntecCommandEntry cyntecCommandTable[] = {
gillwei7 0:5c195ab2f696 22 #if (DELTA_BLE_ON == 1)
gillwei7 0:5c195ab2f696 23 {"cynb", NULL, (const char*) bleCommandSets, "Command set for BLE module"},
gillwei7 0:5c195ab2f696 24 #endif
gillwei7 0:5c195ab2f696 25 #if (DELTA_WIFI_ON == 1)
gillwei7 0:5c195ab2f696 26 {"cynw", NULL, (const char*) wifiCommandSets, "Command set for WiFi module"},
gillwei7 0:5c195ab2f696 27 #endif
gillwei7 0:5c195ab2f696 28 {NULL, NULL, NULL, NULL},
gillwei7 0:5c195ab2f696 29 };
gillwei7 0:5c195ab2f696 30
gillwei7 0:5c195ab2f696 31