Microchip® Advanced Software Framework

ll_if.h File Reference

Data Structures

struct  adv_data
 Advertising data structure. More...
 
struct  bd_addr
 BD Address structure. More...
 
struct  llm_le_set_adv_data_cmd
 LLM LE Set Advertising Data Command parameters structure. More...
 
struct  llm_le_set_adv_param_cmd
 LLM LE Set Advertising Parameters Command parameters structure. More...
 
struct  llm_le_set_scan_param_cmd
 LLM LE Set Scan Parameters Command parameters structure. More...
 
struct  llm_le_set_scan_rsp_data_cmd
 LLM LE Set Scan Response Data Command parameters structure. More...
 
struct  scan_rsp_data
 Scan response data structure. More...
 

Macros

#define ADV_DATA_LEN   0x1F
 
#define BD_ADDR_LEN   0x06
 
#define L2C_MIN_LE_MTUSIG   (23)
 Minimal authorized MTU value (defined by Bluetooth SIG) More...
 
#define SCAN_RSP_DATA_LEN   0x1F
 

Enumerations

enum  {
  ADV_CONN_UNDIR = 0x00,
  ADV_CONN_DIR,
  ADV_DISC_UNDIR,
  ADV_NONCONN_UNDIR,
  ADV_END
}
 Advertising HCI Type. More...
 
enum  {
  SCAN_REQ,
  SCAN_RSP,
  SCAN_LEN
}
 Scanning HCI Type. More...
 
enum  {
  ADDR_PUBLIC = 0x00,
  ADDR_RAND,
  ADDR_END
}
 BD address type. More...
 
enum  {
  ADV_CHNL_37_EN = 0x01,
  ADV_CHNL_38_EN,
  ADV_CHNL_39_EN = 0x04,
  ADV_ALL_CHNLS_EN = 0x07,
  ADV_CHNL_END
}
 Advertising channels enables. More...
 
enum  {
  ADV_DIS = 0x00,
  ADV_EN,
  ADV_EN_END
}
 Advertising enables. More...
 
enum  {
  SCAN_PASSIVE = 0x00,
  SCAN_ACTIVE,
  SCAN_END
}
 LE Scan type. More...
 
enum  {
  SCAN_ALLOW_ADV_ALL = 0x00,
  SCAN_ALLOW_ADV_WLST,
  SCAN_ALLOW_ADV_END
}
 Scan filter policy. More...
 
enum  {
  SCAN_DIS = 0x00,
  SCAN_EN,
  SCAN_EN_END
}
 Le Scan enables. More...
 

#define ADV_DATA_LEN   0x1F
#define L2C_MIN_LE_MTUSIG   (23)

Minimal authorized MTU value (defined by Bluetooth SIG)

#define SCAN_RSP_DATA_LEN   0x1F

anonymous enum

Advertising HCI Type.

Enumerator
ADV_CONN_UNDIR 

Connectable Undirected advertising.

ADV_CONN_DIR 

Connectable directed advertising.

ADV_DISC_UNDIR 

Discoverable undirected advertising.

ADV_NONCONN_UNDIR 

Non-connectable undirected advertising.

ADV_END 

Enumeration end value for advertising type value check.

anonymous enum

Scanning HCI Type.

Enumerator
SCAN_REQ 

Scan request.

SCAN_RSP 

Scan response.

SCAN_LEN 

Enumeration end value for scanning type value check.

anonymous enum

BD address type.

Enumerator
ADDR_PUBLIC 

Public BD address.

ADDR_RAND 

Random BD Address.

ADDR_END 

Enumeration end value for BD address type value check.

anonymous enum

Advertising channels enables.

Enumerator
ADV_CHNL_37_EN 

Byte value for advertising channel map for channel 37 enable.

ADV_CHNL_38_EN 

Byte value for advertising channel map for channel 38 enable.

ADV_CHNL_39_EN 

Byte value for advertising channel map for channel 39 enable.

ADV_ALL_CHNLS_EN 

Byte value for advertising channel map for channel 37, 38 and 39 enable.

ADV_CHNL_END 

Enumeration end value for advertising channels enable value check.

anonymous enum

Advertising enables.

Enumerator
ADV_DIS 

Disable advertising.

ADV_EN 

Enable advertising.

ADV_EN_END 

Enumeration end value for advertising enable value check.

anonymous enum

LE Scan type.

Enumerator
SCAN_PASSIVE 

Passive scan.

SCAN_ACTIVE 

Active scan.

SCAN_END 

Enumeration end value for scan type value check.

anonymous enum

Scan filter policy.

Enumerator
SCAN_ALLOW_ADV_ALL 

Allow advertising packets from anyone.

SCAN_ALLOW_ADV_WLST 

Allow advertising packets from White List devices only.

SCAN_ALLOW_ADV_END 

Enumeration end value for scan filter policy value check.

anonymous enum

Le Scan enables.

Enumerator
SCAN_DIS 

Disable scan.

SCAN_EN 

Enable scan.

SCAN_EN_END 

Enumeration end value for scan enable value check.