Developer World
Spresense SDK Library v3.2.0-ebc0364
bt_spp_ops_s Struct Reference

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)
 

Detailed Description

Bluetooth SPP application callbacks.

Member Data Documentation

◆ connect

void(* connect) (struct bt_acl_state_s *bt_acl_state)

Connection status

◆ disconnect

void(* disconnect) (struct bt_acl_state_s *bt_acl_state)

Disconnection status

◆ connection_fail

void(* connection_fail) (struct bt_acl_state_s *bt_acl_state, BT_CONNECT_FAIL_REASON_ID fail_id)

Connection fail

◆ receive_data

void(* receive_data) (struct bt_acl_state_s *bt_acl_state, uint8_t *data, int len)

Receive SPP data


The documentation for this struct was generated from the following file: