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.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: BLE/inc/ble_main.h
- Revision:
- 258:150f5a76162d
- Child:
- 259:341f04be325e
--- /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
