KIM HyoengJun
/
mbed_ext_fota
external fota service implementation
Diff: ext_fota/gapc_task.h
- Revision:
- 0:bab3be8d31cf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ext_fota/gapc_task.h Fri Jun 19 06:49:20 2015 +0000 @@ -0,0 +1,97 @@ +#ifndef __GAPC_TASK_H__ +#define __GAPC_TASK_H__ + +enum gapc_msg_id +{ + /* Default event */ + /// Command Complete event + GAPC_CMP_EVT = 14336, + + /* Connection state information */ + /// Indicate that a connection has been established + GAPC_CONNECTION_REQ_IND, + /// Set specific link data configuration. + GAPC_CONNECTION_CFM, + + /// Indicate that a link has been disconnected + GAPC_DISCONNECT_IND, + + /* Link management command */ + /// Request disconnection of current link command. + GAPC_DISCONNECT_CMD, + + /* Peer device info */ + /// Retrieve information command + GAPC_GET_INFO_CMD, + /// Name of peer device indication + GAPC_PEER_NAME_IND, + /// Indication of peer version info + GAPC_PEER_VERSION_IND, + /// Indication of peer features info + GAPC_PEER_FEATURES_IND, + + /// Indication of ongoing connection RSSI + GAPC_CON_RSSI_IND, + /// Indication of peer privacy info + GAPC_PRIVACY_IND, + /// Indication of peer reconnection address info + GAPC_RECON_ADDR_IND, + + /* Privacy configuration */ + /// Set Privacy flag command. + GAPC_SET_PRIVACY_CMD, + /// Set Reconnection Address Value command. + GAPC_SET_RECON_ADDR_CMD, + + /* Connection parameters update */ + /// Perform update of connection parameters command + GAPC_PARAM_UPDATE_CMD, + /// Request of updating connection parameters indication + GAPC_PARAM_UPDATE_REQ_IND, + /// Master confirm or not that parameters proposed by slave are accepted or not + GAPC_PARAM_UPDATE_CFM, + /// Connection parameters updated indication + GAPC_PARAM_UPDATED_IND, + + /* Bonding procedure */ + /// Start Bonding command procedure + GAPC_BOND_CMD, + /// Bonding requested by peer device indication message. + GAPC_BOND_REQ_IND, + /// Confirm requested bond information. + GAPC_BOND_CFM, + /// Bonding information indication message + GAPC_BOND_IND, + + /* Encryption procedure */ + /// Start Encryption command procedure + GAPC_ENCRYPT_CMD, + /// Encryption requested by peer device indication message. + GAPC_ENCRYPT_REQ_IND, + /// Confirm requested Encryption information. + GAPC_ENCRYPT_CFM, + /// Encryption information indication message + GAPC_ENCRYPT_IND, + + /* Security request procedure */ + /// Start Security Request command procedure + GAPC_SECURITY_CMD, + /// Security requested by peer device indication message + GAPC_SECURITY_IND, + + /* Signature procedure */ + /// Indicate the current sign counters to the application + GAPC_SIGN_COUNTER_IND, + + /* Device information */ + /// Indication of ongoing connection Channel Map + GAPC_CON_CHANNEL_MAP_IND, + + + /* Internal messages for timer events, not part of API*/ + /// Parameter update procedure timeout indication + GAPC_PARAM_UPDATE_TO_IND, + +}; + +#endif //__GAPC_TASK_H__