Client of the Generic Access service of a peer.
More...
|
| typedef void(* | pbl_bt_gapc_name_cb_t) (uint16_t conn_handle, const char *name) |
| | Called with the device name of a peer, on the host task.
|
| |
Client of the Generic Access service of a peer.
◆ pbl_bt_gapc_name_cb_t
| typedef void(* pbl_bt_gapc_name_cb_t) (uint16_t conn_handle, const char *name) |
Called with the device name of a peer, on the host task.
- Parameters
-
| conn_handle | Connection. |
| name | The name, cut to what fits PBL_BT_DEVICE_NAME_BUFFER_SIZE; valid during the call. |
◆ pbl_bt_gapc_read_name()
Read the device name of a peer.
- Parameters
-
| conn_handle | Connection. |
| cb | Called with the name. Not called if it cannot be read. |