Public Attributes#
Scanning Status 0 - disable 1 - enable.
Scanning type #define SCAN_TYPE_ACTIVE 0x01 #define SCAN_TYPE_PASSIVE 0x00.
To filter incoming advertising reports FILTERING_DISABLED = 0 (default) WHITELIST_FILTERING = 1.
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 interval This is defined as the time interval from when the Controller started its last LE scan until it begins the subsequent LE scan.
Scan window The duration of the LE scan.
Public Attribute Documentation#
status#
uint8_t rsi_ble_req_scan_s::status
Scanning Status 0 - disable 1 - enable.
460
of file components/si91x/ble/inc/rsi_ble.h
scan_type#
uint8_t rsi_ble_req_scan_s::scan_type
Scanning type #define SCAN_TYPE_ACTIVE 0x01 #define SCAN_TYPE_PASSIVE 0x00.
465
of file components/si91x/ble/inc/rsi_ble.h
filter_type#
uint8_t rsi_ble_req_scan_s::filter_type
To filter incoming advertising reports FILTERING_DISABLED = 0 (default) WHITELIST_FILTERING = 1.
Note
In order to allow only whitelisted devices, need to add bd_addr into whitelist by calling rsi_ble_addto_whitelist() API
472
of file components/si91x/ble/inc/rsi_ble.h
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
479
of file components/si91x/ble/inc/rsi_ble.h
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
485
of file components/si91x/ble/inc/rsi_ble.h
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
490
of file components/si91x/ble/inc/rsi_ble.h