Bluetooth SPP application callbacks. More...
#include <bt_spp.h>
Public Attributes | |
void(* | connect )(struct bt_acl_state_s *bt_acl_state) |
void(* | disconnect )(struct bt_acl_state_s *bt_acl_state) |
void(* | connection_fail )(struct bt_acl_state_s *bt_acl_state, BT_CONNECT_FAIL_REASON_ID fail_id) |
void(* | receive_data )(struct bt_acl_state_s *bt_acl_state, uint8_t *data, int len) |
Bluetooth SPP application callbacks.
void(* connect) (struct bt_acl_state_s *bt_acl_state) |
Connection status
void(* disconnect) (struct bt_acl_state_s *bt_acl_state) |
Disconnection status
void(* connection_fail) (struct bt_acl_state_s *bt_acl_state, BT_CONNECT_FAIL_REASON_ID fail_id) |
Connection fail
void(* receive_data) (struct bt_acl_state_s *bt_acl_state, uint8_t *data, int len) |
Receive SPP data