Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of NNN40_CLI by
Diff: CLI_Source/ble_cli.h
- Revision:
- 7:33214585c606
- Parent:
- 4:b52035367aee
- Child:
- 17:03c8af30087a
--- a/CLI_Source/ble_cli.h	Wed Jan 20 06:42:09 2016 +0000
+++ b/CLI_Source/ble_cli.h	Thu Jan 21 11:23:44 2016 +0000
@@ -2,18 +2,32 @@
  * ble-cli.h
  * Copyright 2014 by Delta Corporation. All rights reserved.
  */
-#ifdef __cplusplus
+//#ifdef __cplusplus  
+//extern "C" {
+//#endif 
+
+//#ifdef __cplusplus
+//}
+//#endif
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include "mbed.h"
+#include "BLE.h"
+#include "Gap.h"
+#include "nrf_gpio.h"
+#include "nrf_soc.h"
+//#include "ble_hci.h"
+#include "app_error.h"
+#include "PinNames.h"
 extern "C" {
-#endif 
+#include "ble_advdata.h"
+}
+#include "ble/GattCharacteristic.h"
+#include "ble/UUID.h"
+#include "ble/DiscoveredCharacteristic.h"
+#include "ble/DiscoveredService.h"
 #include "command-interpreter.h" 
-#include "ble.h" 
-	
-extern CyntecCommandEntry bleCommandSets[];
-//extern void cyntecCLIAppInit(void);
-//Serial console(p25,p23);
-#ifdef __cplusplus
-}
-#endif
+extern CyntecCommandEntry bleCommandSets[]; //for core_cli.cpp
 
-
-
    