Structure representing a BLE advertising request.

Public Attributes#

uint8_t

Advertising Status -.

uint8_t

Advertising type used during advertising -.

uint8_t

Advertising filter type -.

uint8_t

Address type of the device to which directed advertising has to be done -.

uint8_t

Address of the device to which directed advertising has to be done.

uint16_t

Advertising interval min 0x0020 to 0x4000.

uint16_t

Advertising interval max 0x0020 to 0x4000.

uint8_t

Address of the local device.

uint8_t

Advertising channel map.

Public Attribute Documentation#

status#

uint8_t rsi_ble_req_adv_s::status

Advertising Status -.

  0 - disable 
  • 1 - enable


Definition at line 410 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

adv_type#

uint8_t rsi_ble_req_adv_s::adv_type

Advertising type used during advertising -.

  1. Advertising would visible (discoverable) to all the devices. Scanning/Connection is also accepted from all devices. 
  •   #define UNDIR_CONN     0x80 
    
  •   2. Advertising would be visible (discoverable) to the particular device mentioned in RSI_BLE_ADV_DIR_ADDR only. 
    
  •   Scanning and Connection would be accepted from that device only. 
    
  •   #define DIR_CONN           0x81 
    
  •   3. Advertising would be visible (discoverable) to all the devices. Scanning would be accepted from all the devices. 
    
  •   Connection would be not be accepted from any device. 
    
  •   #define UNDIR_SCAN         0x82 
    
  •   4. Advertising would be visible(discoverable) to all the devices. Scanning and Connection would not be accepted from any device. 
    
  •   #define UNDIR_NON_CONN       0x83 
    
  •   5. Advertising would be visible(discoverable) to the particular device mentioned in RSI_BLE_ADV_DIR_ADDR only. 
    
  •   Scanning and Connection would be accepted from that device only. 
    
  •   #define DIR_CONN_LOW_DUTY_CYCLE      0x84  
    

Definition at line 451 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

filter_type#

uint8_t rsi_ble_req_adv_s::filter_type

Advertising filter type -.

  #define ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY                        0x00 
  •   #define ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ANY                 0x01 
    
  •   #define ALLOW_SCAN_REQ_ANY_CONN_REQ_ACCEPT_LIST                 0x02 
    
  •   #define ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ACCEPT_LIST          0x03 
    

Definition at line 465 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

direct_addr_type#

uint8_t rsi_ble_req_adv_s::direct_addr_type

Address type of the device to which directed advertising has to be done -.

  #define LE_PUBLIC_ADDRESS                                     0x00 
  •   #define LE_RANDOM_ADDRESS                                     0x01 
    
  •   #define LE_RESOLVABLE_PUBLIC_ADDRESS                          0x02 
    
  •   #define LE_RESOLVABLE_RANDOM_ADDRESS                          0x03 
    

Definition at line 479 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

direct_addr#

uint8_t rsi_ble_req_adv_s::direct_addr[RSI_DEV_ADDR_LEN]

Address of the device to which directed advertising has to be done.


Definition at line 481 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

adv_int_min#

uint16_t rsi_ble_req_adv_s::adv_int_min

Advertising interval min 0x0020 to 0x4000.


Definition at line 484 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

adv_int_max#

uint16_t rsi_ble_req_adv_s::adv_int_max

Advertising interval max 0x0020 to 0x4000.


Definition at line 487 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

own_addr_type#

uint8_t rsi_ble_req_adv_s::own_addr_type

Address 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 
    

Definition at line 502 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

adv_channel_map#

uint8_t rsi_ble_req_adv_s::adv_channel_map

Advertising channel map.

  •   #define  RSI_BLE_ADV_CHANNEL_MAP    0x01 or 0x03 or 0x07 
    

Definition at line 508 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h