Lines 1491-1497
Link Here
|
1491 |
} /* hci_write_page_scan_mode */ |
1491 |
} /* hci_write_page_scan_mode */ |
1492 |
|
1492 |
|
1493 |
static int |
1493 |
static int |
1494 |
hci_read_le_host_supported_command(int s, int argc, char **argv) |
1494 |
hci_read_le_host_support(int s, int argc, char **argv) |
1495 |
{ |
1495 |
{ |
1496 |
ng_hci_read_le_host_supported_rp rp; |
1496 |
ng_hci_read_le_host_supported_rp rp; |
1497 |
int n; |
1497 |
int n; |
Lines 1508-1520
Link Here
|
1508 |
} |
1508 |
} |
1509 |
|
1509 |
|
1510 |
fprintf(stdout, "LE Host support: %#02x\n", rp.le_supported_host); |
1510 |
fprintf(stdout, "LE Host support: %#02x\n", rp.le_supported_host); |
1511 |
fprintf(stdout, "Simulateneouse LE Host : %#02x\n", rp.simultaneous_le_host); |
1511 |
fprintf(stdout, "Simultaneous LE Host : %#02x\n", rp.simultaneous_le_host); |
1512 |
|
1512 |
|
1513 |
return (OK); |
1513 |
return (OK); |
1514 |
|
1514 |
|
1515 |
} |
1515 |
} |
1516 |
static int |
1516 |
static int |
1517 |
hci_write_le_host_supported_command(int s, int argc, char **argv) |
1517 |
hci_write_le_host_support(int s, int argc, char **argv) |
1518 |
{ |
1518 |
{ |
1519 |
ng_hci_write_le_host_supported_cp cp; |
1519 |
ng_hci_write_le_host_supported_cp cp; |
1520 |
ng_hci_write_le_host_supported_rp rp; |
1520 |
ng_hci_write_le_host_supported_rp rp; |
Lines 1948-1961
Link Here
|
1948 |
&hci_write_page_scan_mode |
1948 |
&hci_write_page_scan_mode |
1949 |
}, |
1949 |
}, |
1950 |
{ |
1950 |
{ |
1951 |
"read_le_host_supported_command", \ |
1951 |
"read_le_host_support", \ |
1952 |
"Read if this host is in le supported mode and stimulatenouse le supported mode", |
1952 |
"Read if this host is in LE supported mode and stimultaneous LE supported mode", |
1953 |
&hci_read_le_host_supported_command, |
1953 |
&hci_read_le_host_support, |
1954 |
}, |
1954 |
}, |
1955 |
{ |
1955 |
{ |
1956 |
"write_le_host_supported_command", \ |
1956 |
"write_le_host_support", \ |
1957 |
"write_le_host_supported_command le_host[0|1] stimultajeous_le[0|1]", |
1957 |
"write_le_host_support le_host[0|1] stimultaneous_le[0|1]", |
1958 |
&hci_write_le_host_supported_command, |
1958 |
&hci_write_le_host_support, |
1959 |
}, |
1959 |
}, |
1960 |
|
1960 |
|
1961 |
{ NULL, } |
1961 |
{ NULL, } |