Lines Matching full:role
40 /* Send Role Discovery to the unit */
78 fprintf(stdout, "Role: %s [%#x]\n", in hci_role_discovery()
79 (rp.role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", rp.role); in hci_role_discovery()
84 /* Send Switch Role to the unit */
106 /* role */ in hci_switch_role()
110 cp.role = n0? NG_HCI_ROLE_SLAVE : NG_HCI_ROLE_MASTER; in hci_switch_role()
147 fprintf(stdout, "Role: %s [%#x]\n", in hci_switch_role()
148 (ep->role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", in hci_switch_role()
149 ep->role); in hci_switch_role()
250 "which role the device is performing for a particular Connection Handle.\n" \
256 "switch_role <BD_ADDR> <role>",
258 "current role the device is performing for a particular connection with\n" \
260 "for which connection the role switch is to be performed. The Role indicates\n"\
261 "the requested new role that the local device performs. Note: the BD_ADDR\n" \
265 "\t<role> - dd; role; 0 - Master, 1 - Slave",
273 "determines itself to change the master-slave role or to enter the hold,\n" \
287 "determines itself to change the master-slave role or to enter the hold,\n" \