Function pointer types of the BLE library.  
More...
 | 
| typedef void(*  | IotBleAttributeEventCallback_t) (IotBleAttributeEvent_t *pEventParam) | 
|   | Callback called when a request on a attribute is made by the remote device.  More...
  | 
|   | 
| typedef void(*  | IotBle_MtuChangedCallback_t) (uint16_t connId, uint16_t mtu) | 
|   | Callback invoked when the MTU for a given connection changes.  More...
  | 
|   | 
| typedef void(*  | IotBle_ConnectionCallback_t) (BTStatus_t status, uint16_t connId, bool connected, BTBdaddr_t *pRemoteBdAddr) | 
|   | Callback indicating that a remote device has connected or been disconnected.  More...
  | 
|   | 
| typedef void(*  | IotBle_StartAdvCallback_t) (BTStatus_t status) | 
|   | Callback indicating the status of start advertisement operation. Invoked on BLE_StartAdv.  More...
  | 
|   | 
| typedef void(*  | IotBle_StopAdvCallback_t) (BTStatus_t status) | 
|   | Callback indicating the status of stop advertisement operation. Invoked on BLE_StopAdv.  More...
  | 
|   | 
| typedef void(*  | IotBle_ConnParameterUpdateRequestCallback_t) (BTStatus_t status, const BTBdaddr_t *pRemoteBdAddr, IotBleConnectionParam_t *pConnectionParam, uint32_t connInterval) | 
|   | Callback invoked on BLE_ConnParameterUpdateRequest from remote device.  More...
  | 
|   | 
| typedef void(*  | IotBle_PairingStateChanged_t) (BTStatus_t status, BTBdaddr_t *pRemoteBdAddr, BTBondState_t bondstate, BTSecurityLevel_t securityLevel, BTAuthFailureReason_t reason) | 
|   | Callback invoked when pairing state is changed.  More...
  | 
|   | 
| typedef void(*  | IotBle_NumericComparisonCallback_t) (BTBdaddr_t *pRemoteBdAddr, uint32_t passKey) | 
|   | Callback invoked on pairing request from remote device.  More...
  | 
|   | 
Function pointer types of the BLE library. 
◆ IotBleAttributeEventCallback_t
      
        
          | typedef void(* IotBleAttributeEventCallback_t) (IotBleAttributeEvent_t *pEventParam) | 
        
      
 
Callback called when a request on a attribute is made by the remote device. 
- Parameters
 - 
  
    | [in] | pAttribute | Pointer to the attribute being accessed.  | 
    | [in] | pEventParam | Pointer to the event data.  | 
  
   
 
 
◆ IotBle_MtuChangedCallback_t
      
        
          | typedef void(* IotBle_MtuChangedCallback_t) (uint16_t connId, uint16_t mtu) | 
        
      
 
Callback invoked when the MTU for a given connection changes. 
- Parameters
 - 
  
    | [in] | connId | Connection ID  | 
    | [in] | mtu | Established MTU size.  | 
  
   
 
 
◆ IotBle_ConnectionCallback_t
      
        
          | typedef void(* IotBle_ConnectionCallback_t) (BTStatus_t status, uint16_t connId, bool connected, BTBdaddr_t *pRemoteBdAddr) | 
        
      
 
Callback indicating that a remote device has connected or been disconnected. 
- Parameters
 - 
  
    | [in] | status | Returns eBTStatusSuccess if operation succeeded.  | 
    | [in] | connId | Connection ID.  | 
    | [in] | connected | Flag set to true if device is connected.  | 
    | [in] | pRemoteBdAddr | Remote device address.  | 
  
   
 
 
◆ IotBle_StartAdvCallback_t
      
        
          | typedef void(* IotBle_StartAdvCallback_t) (BTStatus_t status) | 
        
      
 
Callback indicating the status of start advertisement operation. Invoked on BLE_StartAdv. 
- Parameters
 - 
  
    | [in] | status | Returns eBTStatusSuccess if operation succeeded.  | 
  
   
 
 
◆ IotBle_StopAdvCallback_t
      
        
          | typedef void(* IotBle_StopAdvCallback_t) (BTStatus_t status) | 
        
      
 
Callback indicating the status of stop advertisement operation. Invoked on BLE_StopAdv. 
- Parameters
 - 
  
    | [in] | status | Returns eBTStatusSuccess if operation succeeded.  | 
  
   
 
 
◆ IotBle_ConnParameterUpdateRequestCallback_t
Callback invoked on BLE_ConnParameterUpdateRequest from remote device. 
- Parameters
 - 
  
    | [in] | status | Returns eBTStatusSuccess if operation succeeded.  | 
    | [in] | pRemoteBdAddr | Address of the Remote device  | 
    | [in] | pConnectionParam | Connection parameters.  | 
    | [in] | connInterval | Established connection interval.  | 
  
   
 
 
◆ IotBle_PairingStateChanged_t
Callback invoked when pairing state is changed. 
- Parameters
 - 
  
    | [in] | status | Returns eBTStatusSuccess if operation succeeded.  | 
    | [in] | pRemoteBdAddr | Address of the remote device.  | 
    | [in] | bondState | Bond state value.  | 
    | [in] | securityLevel | Security level (mode 1, level 1, 2 ,3 ,4).  | 
    | [in] | reason | Reason for failing to authenticate.  | 
  
   
 
 
◆ IotBle_NumericComparisonCallback_t
      
        
          | typedef void( * IotBle_NumericComparisonCallback_t) (BTBdaddr_t *pRemoteBdAddr, uint32_t passKey) | 
        
      
 
Callback invoked on pairing request from remote device. 
Numeric comparison event.
- Parameters
 - 
  
    | [in] | pRemoteBdAddr | Address of the remote device.  |