IAS Exported Functions
- group IAS_Exported_Functions
Functions
-
T_SERVER_ID ias_add_service(void *p_func)
Add immediate alert service to the Bluetooth Host.
Example usage
void profile_init() { server_init(service_num); ias_id = ias_add_service(app_handle_profile_message); }
- 参数:
p_func – [in] Callback when service attribute was read, written or CCCD updated.
- 返回值:
0xFF – Operation failure.
others – Service ID assigned by Bluetooth Host.
- 返回:
Service ID generated by the Bluetooth Host: T_SERVER_ID.
-
T_SERVER_ID ias_add_service(void *p_func)