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: main.cpp
- Revision:
- 18:4f5b317c04b9
- Parent:
- 17:03c8af30087a
- Child:
- 19:e2de6c1776eb
--- a/main.cpp Mon Sep 19 02:26:11 2016 +0000 +++ b/main.cpp Fri Sep 23 01:41:28 2016 +0000 @@ -8,7 +8,7 @@ #include "ble_cli.h" #define uart_buffer_size 512 //Do not increase uart_buffer_size to prevent out of memory -#define uart_baudrate 1200 //supported baudrate range between 1200 to 230400 (57600) for NQ620 (NNN40) +#define uart_baudrate 115200 //supported baudrate range between 1200 to 230400 (57600) for NQ620 (NNN40) unsigned char uart_buf[uart_buffer_size]; unsigned int i = 0;