Lines Matching +full:slave +full:- +full:mode
1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
79 (rp.role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", rp.role); in hci_role_discovery()
103 memcpy(&cp.bdaddr, he->h_addr, sizeof(cp.bdaddr)); in hci_switch_role()
137 if (e->event == NG_HCI_EVENT_ROLE_CHANGE) { in hci_switch_role()
140 if (ep->status != 0x00) { in hci_switch_role()
142 hci_status2str(ep->status), ep->status); in hci_switch_role()
146 fprintf(stdout, "BD_ADDR: %s\n", hci_bdaddr2str(&ep->bdaddr)); in hci_switch_role()
148 (ep->role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", in hci_switch_role()
149 ep->role); in hci_switch_role()
252 "\t<connection_handle> - dddd; connection handle",
264 "\t<BD_ADDR> - xx:xx:xx:xx:xx:xx BD_ADDR or name\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" \
274 "sniff, or park mode. The local Link Manager will automatically accept or\n" \
279 "\t<connection_handle> - dddd; connection handle",
287 "determines itself to change the master-slave role or to enter the hold,\n" \
288 "sniff, or park mode. The local Link Manager will automatically accept or\n" \
295 "\t<connection_handle> - dddd; connection handle\n" \
296 "\t<settings> - xxxx; settings\n" \
297 "\t\t0x0000 - Disable All LM Modes (Default)\n" \
298 "\t\t0x0001 - Enable Master Slave Switch\n" \
299 "\t\t0x0002 - Enable Hold Mode\n" \
300 "\t\t0x0004 - Enable Sniff Mode\n" \
301 "\t\t0x0008 - Enable Park Mode\n",