Public Attribute Documentation#
status#
uint8_t status
Scanning Status 0 - disable 1 - enable
382
of file include/rsi_ble.h
scan_type#
uint8_t scan_type
Scanning type #define SCAN_TYPE_ACTIVE 0x01 #define SCAN_TYPE_PASSIVE 0x00
387
of file include/rsi_ble.h
filter_type#
uint8_t 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
394
of file include/rsi_ble.h
own_addr_type#
uint8_t 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
401
of file include/rsi_ble.h
scan_int#
uint16_t 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
407
of file include/rsi_ble.h
scan_win#
uint16_t 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
412
of file include/rsi_ble.h