Bluetooth Low Energy based Firmware Over The Air with Mbed. Mbed part is a external processor of the IoT devices and communicate with a Bluetooth module. The Bluetooth module have to support BLE and implement BLE FOTA profile designed by ours. BLE FOTA profile specification is available from our GIT hub wiki(https://github.com/sevencore/BLEFOTA).
Dependencies: mbed
Fork of mbed_fota by
Bluetooth Low Energy based Firmware Over The Air with Mbed. Mbed part is a external processor of the IoT devices and communicate with a Bluetooth module. The Bluetooth module have to support BLE and implement BLE FOTA profile designed by ours. BLE FOTA profile specification is available from our GIT hub wiki.
Diff: dialog_fota/diss_task.h
- Revision:
- 5:e11b23f9aacc
- Parent:
- 4:60be78a172c2
- Child:
- 9:fcf91f563147
--- a/dialog_fota/diss_task.h Wed Jun 24 08:50:07 2015 +0000 +++ b/dialog_fota/diss_task.h Mon Jul 13 06:32:05 2015 +0000 @@ -5,6 +5,8 @@ namespace sevencore_fota{ +#define STR_MAX_LEN (18) + ///Attribute Table Indexes enum @@ -84,7 +86,7 @@ /// Value length uint8_t val_len; /// Value - uint8_t val[18]; + uint8_t val[STR_MAX_LEN]; }; /// Parameters of the @ref DISS_CREATE_DB_REQ message @@ -94,6 +96,17 @@ uint16_t features; }; +/// Parameters of the @ref DISS_ENABLE_REQ message +struct diss_enable_req +{ + ///Connection handle + uint16_t conhdl; + /// security level: b0= nothing, b1=unauthenticated, b2=authenticated, b3=authorized; b1 or b2 and b3 can go together + uint8_t sec_lvl; + ///Type of connection + uint8_t con_type; +}; + }//namespace #endif//DISS_TASK_H