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: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_fan_control by
Diff: dialog_fota/diss_task.h
- Revision:
- 5:e11b23f9aacc
- Parent:
- 4:60be78a172c2
- Child:
- 9:fcf91f563147
diff -r 60be78a172c2 -r e11b23f9aacc dialog_fota/diss_task.h
--- 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
