diff options
author | Stephen Crane <steve.crane@rococosoft.com> | 2003-05-20 11:33:53 +0000 |
---|---|---|
committer | Stephen Crane <steve.crane@rococosoft.com> | 2003-05-20 11:33:53 +0000 |
commit | 2c375c1f2c5cff353e2f767ac14f8251452392e9 (patch) | |
tree | 445b94bdb1ff1a0e39262dd2ea38007d03ed316b /include/hci_lib.h | |
parent | 6cd70af01a46b7e543c50d0646b877c38b3257f4 (diff) |
add role switch
Diffstat (limited to 'include/hci_lib.h')
-rw-r--r-- | include/hci_lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hci_lib.h b/include/hci_lib.h index 79866a45..31995411 100644 --- a/include/hci_lib.h +++ b/include/hci_lib.h @@ -82,6 +82,8 @@ int hci_read_current_iac_lap(int dd, uint8_t *num_iac, uint8_t *lap, int to); int hci_write_current_iac_lap(int dd, uint8_t num_iac, uint8_t *lap, int to); int hci_authenticate_link(int dd, uint16_t handle, int to); int hci_encrypt_link(int dd, uint16_t handle, int on, int to); +// role == 0 is master, 1 is slave +int hci_switch_role(int dd, bdaddr_t peer, int role, int to); int hci_for_each_dev(int flag, int(*func)(int s, int dev_id, long arg), long arg); int hci_get_route(bdaddr_t *bdaddr); |