BLE fota Robot Demo
Dependencies: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_lamp_control by
Diff: dialog_fota/gap.h
- Revision:
- 9:fcf91f563147
- Parent:
- 5:e11b23f9aacc
- Child:
- 10:18044afe4364
diff -r 9eec2c246a85 -r fcf91f563147 dialog_fota/gap.h --- a/dialog_fota/gap.h Thu Aug 20 05:16:55 2015 +0000 +++ b/dialog_fota/gap.h Mon Aug 24 02:29:16 2015 +0000 @@ -2,6 +2,15 @@ #define GAP_H #include "dialog_fota_config.h" +/** + **************************************************************************************** + * @addtogroup dialog_fota module + * @brief Generic Access Profile. + * + * @{ + **************************************************************************************** + */ + namespace sevencore_fota{ #define KEY_LEN 0x10 @@ -35,7 +44,8 @@ /// Broadcaster mode which is a non discoverable and non connectable mode. GAP_BROADCASTER_MODE, }; -/****************** GAP Role **********************/ + +/// Role GAP enum gap_role { /// No role set yet @@ -89,7 +99,9 @@ /// Authorization request automatically rejected GAP_AUTHZ_REJECT = 0x02, }; + +}//namespace -//////////////~GAP~ -}//namespace +/// @} dialog_fota module + #endif//GAP_H \ No newline at end of file