Skip to content
Colleen edited this page Apr 16, 2014 · 4 revisions

google reference https://source.android.com/devices/bluetooth.html

testing:

# start service
> adb shell am startservice -n com.cozybit.onbordee/com.cozybit.onbordee.service.OnboardeeService

# stop service
> adb shell am stopservice -n com.cozybit.onbordee/com.cozybit.onbordee.service.OnboardeeService

callbacks used:

I/bt-btif (17066): HAL bt_hal_cbacks->adapter_properties_cb
I/bt-btif (17066): HAL bt_hal_cbacks->adapter_state_changed_cb
I/bt-btif (17066): HAL bt_hal_cbacks->adapter_properties_cb
I/bt-btif (17066): HAL bt_hal_cbacks->adapter_properties_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->register_server_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->service_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->characteristic_added_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->service_started_cb
I/bt-btif (17066): HAL bt_hal_cbacks->acl_state_changed_cb
I/bt-btif (17066): HAL bt_hal_cbacks->remote_device_properties_cb
I/bt-btif (17066): HAL bt_hal_cbacks->bond_state_changed_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->connection_cb
I/bt-btif (17066): HAL bt_hal_cbacks->bond_state_changed_cb
I/bt-btif (17066): HAL bt_hal_cbacks->remote_device_properties_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->request_read_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->response_confirmation_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->request_read_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->response_confirmation_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->request_read_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->response_confirmation_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->request_read_cb
I/bt-btif (17066): HAL bt_gatt_callbacks->server->response_confirmation_cb
Clone this wiki locally