Airoha M0 BLE API  1.0.5.4
gas_init_para Struct Reference

generic access service initialization Parameters More...

Data Fields

uint16_t appearance
 
uint8_t * device_name_buf
 
uint16_t device_name_ini_length
 
uint16_t device_name_max_length
 
ATTCB device_name_write_CB
 
PPCP_tparameter
 
ATTCB appearance_write_CB
 

Detailed Description

generic access service initialization Parameters

Field Documentation

◆ appearance

uint16_t gas_init_para::appearance

device appearance UUID

◆ device_name_buf

uint8_t* gas_init_para::device_name_buf

device name String buffer

◆ device_name_ini_length

uint16_t gas_init_para::device_name_ini_length

device name String length

◆ device_name_max_length

uint16_t gas_init_para::device_name_max_length

[Optional] device name maximum size, only needed if device name is writable

◆ device_name_write_CB

ATTCB gas_init_para::device_name_write_CB

[Optional] call back function of device name, device name will be read only if CB is NULL

◆ parameter

PPCP_t* gas_init_para::parameter

[Optional] Peripheral Preferred Connection Parameters

◆ appearance_write_CB

ATTCB gas_init_para::appearance_write_CB

[Optional] call back function of appearance, appearance will be read only if CB is NULL