InPlay API
ble_set_dev_config_t Struct Reference

device configuration structure More...

#include <in_ble_gap.h>

Data Fields

uint8_t role
 Device Role: Central, Peripheral, Observer, Broadcaster or All roles. More...
 
uint16_t renew_dur
 
ble_addr_t addr
 Provided own static private random address.
 
ble_sec_key_t irk
 Device IRK used for resolvable random BD address generation (LSB first)
 
uint8_t privacy_cfg
 Privacy configuration bit field (. More...
 
uint8_t pairing_mode
 --------—— Security Config -----------------—— More...
 
uint16_t gap_start_hdl
 --------—— ATT Database Config -----------------—— More...
 
uint16_t gatt_start_hdl
 GATT service start handle.
 
uint8_t att_devname_write_perm
 
uint8_t att_apperance_write_perm
 Device Appearance write permission. More...
 
uint8_t att_slv_pref_conn_param_present
 Slave Preferred Connection Parameters present ( 1 = yes, 0 = no )
 
uint8_t svc_change_feat_present
 Service change feature present in GATT attribute database ( 1 = yes, 0 = no )
 
uint16_t sugg_max_tx_octets
 
uint16_t sugg_max_tx_time
 Suggested value for the Controller's maximum packet transmission time to be used (min = 328us, max = 17040us)
 
uint16_t max_mtu
 
uint16_t max_mps
 Maximal MPS Packet size acceptable for device.
 
uint8_t max_nb_lecb
 Maximum number of LE Credit based connection that can be established.
 
uint8_t tx_pref_phy
 
uint8_t rx_pref_phy
 Preferred LE PHY for data reception. More...
 

Detailed Description

device configuration structure

Field Documentation

◆ att_apperance_write_perm

uint8_t att_apperance_write_perm

Device Appearance write permission.

See also
in_ble_write_att_perm

◆ att_devname_write_perm

uint8_t att_devname_write_perm

Attribute database configuration Device Name write permission

See also
in_ble_write_att_perm

◆ gap_start_hdl

uint16_t gap_start_hdl

--------—— ATT Database Config -----------------——

GAP service start handle

◆ max_mtu

uint16_t max_mtu

------------— L2CAP Configuration ------------------------— Maximal MTU acceptable for device (min = 23, max = 2048)

◆ pairing_mode

uint8_t pairing_mode

--------—— Security Config -----------------——

Pairing mode authorized (

See also
enum in_ble_pairing_mode)

◆ privacy_cfg

uint8_t privacy_cfg

Privacy configuration bit field (.

See also
enum in_ble_priv_cfg for bit signification)

◆ renew_dur

uint16_t renew_dur

-----------— Privacy Config --------------------— Duration before regenerate device address when privacy is enabled. - in seconds

◆ role

uint8_t role

Device Role: Central, Peripheral, Observer, Broadcaster or All roles.

See also
enum in_ble_role

◆ rx_pref_phy

uint8_t rx_pref_phy

Preferred LE PHY for data reception.

See also
enum in_ble_phy

◆ sugg_max_tx_octets

uint16_t sugg_max_tx_octets

-----------— LE Data Length Extension --------------------— Suggested value for the Controller's maximum transmitted number of payload octets to be used ( min = 27, max = 251)

◆ tx_pref_phy

uint8_t tx_pref_phy

---------------— LE PHY Management ----------------------— Preferred LE PHY for data transmission

See also
enum in_ble_phy