NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
ble_gap_disc_desc Struct Reference

Advertising report. More...

#include <ble_gap.h>

Public Attributes

uint8_t event_type
 
uint8_t length_data
 
ble_addr_t addr
 
int8_t rssi
 
const uint8_t * data
 
ble_addr_t direct_addr
 

Detailed Description

Advertising report.

Member Data Documentation

◆ addr

ble_addr_t ble_gap_disc_desc::addr

Advertiser address

◆ data

const uint8_t* ble_gap_disc_desc::data

Advertising data

◆ direct_addr

ble_addr_t ble_gap_disc_desc::direct_addr

Directed advertising address. Valid for BLE_HCI_ADV_RPT_EVTYPE_DIR_IND event type (BLE_ADDR_ANY otherwise).

◆ event_type

uint8_t ble_gap_disc_desc::event_type

Advertising PDU type. Can be one of following constants:

  • BLE_HCI_ADV_RPT_EVTYPE_ADV_IND
  • BLE_HCI_ADV_RPT_EVTYPE_DIR_IND
  • BLE_HCI_ADV_RPT_EVTYPE_SCAN_IND
  • BLE_HCI_ADV_RPT_EVTYPE_NONCONN_IND
  • BLE_HCI_ADV_RPT_EVTYPE_SCAN_RSP

◆ length_data

uint8_t ble_gap_disc_desc::length_data

Advertising Data length

◆ rssi

int8_t ble_gap_disc_desc::rssi

Received signal strength indication in dBm (127 if unavailable)