Data Fields

gapDeviceInfoEvent_t Struct Reference
[BLE GAP Constants and Structures]

#include <gap.h>

Data Fields

osal_event_hdr_t hdr
 GAP_MSG_EVENT and status.
uint8 opcode
 GAP_DEVICE_INFO_EVENT.
uint8 eventType
 Advertisement Type: GAP Advertising Report Event Types.
uint8 addrType
 address type: GAP Address Types
uint8 addr [B_ADDR_LEN]
 Address of the advertisement or SCAN_RSP.
int8 rssi
 Advertisement or SCAN_RSP RSSI.
uint8 dataLen
 Length (in bytes) of the data field (evtData).
uint8pEvtData
 Data field of advertisement or SCAN_RSP.

Detailed Description

GAP_DEVICE_INFO_EVENT message format. This message is sent to the app during a Device Discovery Request, when a new advertisement or scan response is received.


The documentation for this struct was generated from the following file: