#include <bt_defs.h>
bt-lego/bt-lego.c, bt-remoteprog/demo-rprog.c, btstreamer/receiver/btreceiver.c, btstreamer/streamer/btstreamer.c, l2cap-cmd/l2cap-cmd.c, mhop_blink/mhop_blink.c, and rfcomm-cmd/rfcomm-cmd.c.
void* btstack::acl_data |
acl data (state of the acl-layer aka l2cap)
struct bt_hci_pkt_acl btstack::acl_init |
Initial acl pkt. from this time on, the stack always gets one from the higher level
Max. length of an acl-data-pkt the bt-controller will ever send
struct bt_hci_pkt_acl* btstack::acl_pkt |
Pointer to the acl-buffer (local to the hci-layer)
struct bt_hci_pkt_acl* btstack::acl_self |
Pointer to acl-buffer used for self-delivery
struct bt_semaphore btstack::acl_write |
Semaphore for writing ACL data
Currently locked ACL connection
Amount of data that is going to be sent over the currently locked ACL connection
Amount of data written to the currentely locked ACL connection
struct bt_hci_pkt_cmd btstack::cmd |
Only one command at a time
void* btstack::con_rqst_cb_arg |
custom argument for accept filter callback
Flag to indicate if a conn. request is pending (handled by the main thread)
struct bt_hci_connection btstack::connection[BT_HCI_MAX_NUM_CON] |
Keeps track on open connections
struct bt_hci_pkt_evt btstack::evt |
Only one event at a time
Callback for acl-data pkts
void* btstack::hci_acl_cb_arg |
argument that will be passed to the callback
Semaphore for the waiting commands. After one command is sent, the next thread is woken up.
Callback to filter out connection requests
Callback for changes in the connection-table
Callback for sco-data pkts
Thread context from hw_reset caller
Index of cmd in waitqueue waiting for Command Status Event, 0xff == none
struct bt_semaphore btstack::nr_acl_pkts |
Semaphore for the max. number of acl pkts the bt-controller can handle
struct bt_semaphore btstack::nr_hci_cmds |
Number of hci cmds we can send to the controller until it runs out of buffer
struct bt_semaphore btstack::nr_sco_pkts |
Semaphore for the max. number of sco pkts, the bt-controller can handle
Pin Code
Flag to indicate if a pincode request is pending (handled by the main thread)
Reset flag
void* btstack::sco_data |
sco data (state of the sco-layer)
struct bt_hci_pkt_sco btstack::sco_init |
Initial sco pkt. from this time on, the stack always gets one from the higher level
Max. length of a sco-data-pkt the bt-controller will ever send
struct bt_hci_pkt_sco* btstack::sco_pkt |
Pointer to the sco-buffer (local to the hci-layer)
struct bt_semaphore btstack::single_cmd |
Ensure at most one Command is sent without a received Command Status Event
struct bt_hci_uart btstack::transport |
UART-Transport definitions
struct bt_hci_cmd_response* btstack::waitqueue[BT_HCI_NR_WAIT_QUEUES] |
Keeps an eye on running pkts