Structure representing a BLE scan request.
Public Attributes#
uint8_t
Scanning Status -.
uint8_t
Scanning type -.
uint8_t
To filter incoming advertising reports -.
uint8_t
Address type of the local device -.
uint16_t
Scan interval -.
uint16_t
Scan window -.
Public Attribute Documentation#
scan_type#
uint8_t rsi_ble_req_scan_s::scan_type
Scanning type -.
SCAN_TYPE_ACTIVE 0x01
- SCAN_TYPE_PASSIVE 0x00 
filter_type#
uint8_t rsi_ble_req_scan_s::filter_type
To filter incoming advertising reports -.
FILTERING_DISABLED = 0 (default)
- ACCEPTLIST_FILTERING = 1 Note - In order to allow only acceptlisted devices, need to add bd_addr into acceptlist by calling rsi_ble_addto_acceptlist() API 
 
own_addr_type#
uint8_t rsi_ble_req_scan_s::own_addr_type
Address type of the local device -.
  #define LE_PUBLIC_ADDRESS                  0x00 
- #define LE_RANDOM_ADDRESS 0x01
- #define LE_RESOLVABLE_PUBLIC_ADDRESS 0x02
- #define LE_RESOLVABLE_RANDOM_ADDRESS 0x03
scan_int#
uint16_t rsi_ble_req_scan_s::scan_int
Scan interval -.
 This is defined as the time interval from when the Controller started
 its last LE scan until it begins the subsequent LE scan. 
- Range: 0x0004 to 0x4000
scan_win#
uint16_t rsi_ble_req_scan_s::scan_win
Scan window -.
  The duration of the LE scan. LE_Scan_Window shall be less than or equal to LE_Scan_Interval 
- Range: 0x0004 to 0x4000