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

Fork of NNN40_CLI by Delta

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ble_cli.h Source File

ble_cli.h

00001 /*
00002  * ble-cli.h
00003  * Copyright 2014 by Delta Corporation. All rights reserved.
00004  */
00005 //#ifdef __cplusplus  
00006 //extern "C" {
00007 //#endif 
00008 
00009 //#ifdef __cplusplus
00010 //}
00011 //#endif
00012 
00013 #include <stdio.h>
00014 #include <stdlib.h>
00015 #include <stdint.h>
00016 #include "mbed.h"
00017 #include "BLE.h"
00018 #include "Gap.h"
00019 #include "nrf_gpio.h"
00020 #include "nrf_soc.h"
00021 //#include "ble_hci.h"
00022 #include "app_error.h"
00023 #include "PinNames.h"
00024 extern "C" {
00025 #include "ble_advdata.h"
00026 }
00027 #include "ble/GattCharacteristic.h"
00028 #include "ble/UUID.h"
00029 #include "ble/DiscoveredCharacteristic.h"
00030 #include "ble/DiscoveredService.h"
00031 #include "command-interpreter.h" 
00032 extern CyntecCommandEntry bleCommandSets[]; //for core_cli.cpp
00033 
00034 void cynBLEInitCommand(void);//Tsungta