Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
258:150f5a76162d
Child:
259:341f04be325e
diff -r e22102d2e079 -r 150f5a76162d BLE/inc/ble_main.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BLE/inc/ble_main.h	Mon Oct 24 21:06:45 2016 +0000
@@ -0,0 +1,38 @@
+/**
+  ******************************************************************************
+  * @file    ble_types.h
+  * @author  Happiesstminds Firmware Team
+  * @version v1.0
+  * @date    4-Oct-2016
+  * @brief   
+  *
+  ******************************************************************************
+  * @attention
+  *  
+  *
+  ******************************************************************************
+  */
+
+#ifndef _BLE_MAIN_H
+#define _BLE_MAIN_H
+
+class BLE_FILE
+{
+   public:
+      // Member functions declaration
+        uint8_t ConfigureBLEDevice(void);
+        void SendFile(uint8_t* json_file,uint8_t len);
+        bool GetBleConnectionState(void);
+};
+
+
+#define COMMAND_LENGTH  4
+#define DATA_LENGTH     0
+//#define SUCCESS 1
+#define FAILURE 0
+#define MAX_PAYLOAD_BYTES 20
+
+#endif
+/******************************************************************************/
+/* END OF FILE                                                                */
+/******************************************************************************/
\ No newline at end of file