![]() |
Airoha M0 BLE API
1.0.5.4
|
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_t * | parameter |
| ATTCB | appearance_write_CB |
generic access service initialization Parameters
| uint16_t gas_init_para::appearance |
device appearance UUID
| uint8_t* gas_init_para::device_name_buf |
device name String buffer
| uint16_t gas_init_para::device_name_ini_length |
device name String length
| uint16_t gas_init_para::device_name_max_length |
[Optional] device name maximum size, only needed if device name is writable
| 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
| PPCP_t* gas_init_para::parameter |
[Optional] Peripheral Preferred Connection Parameters
| ATTCB gas_init_para::appearance_write_CB |
[Optional] call back function of appearance, appearance will be read only if CB is NULL