LED CODE: LED 0 (blue): Previous node has connected to me LED 1 (red): Connected to next node
#include <sys/types.h>
#include <bt/bt_hci_defs.h>
#include <bt/bt_hci_cmds.h>
Functions | |
u_short | connect_get_position (void) |
u_char | connect_get_position_of (bt_addr_t addr) |
void | connect_init (struct btstack *stack, bt_addr_t *topo, u_short length) |
u_short connect_get_position | ( | void | ) |
get position of own node
addr | of node |
get position of node with addr
addr | of node |
Init Chain Connection Manager
struct | btstack | |
topo | array of node addresses | |
number | of nodes in chain |