Lines Matching full:rp

45 	ng_hci_read_failed_contact_cntr_rp	rp;  in hci_read_failed_contact_counter()  local
63 n = sizeof(rp); in hci_read_failed_contact_counter()
67 (char *) &rp, &n) == ERROR) in hci_read_failed_contact_counter()
70 if (rp.status != 0x00) { in hci_read_failed_contact_counter()
72 hci_status2str(rp.status), rp.status); in hci_read_failed_contact_counter()
76 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_failed_contact_counter()
77 fprintf(stdout, "Failed contact counter: %d\n", le16toh(rp.counter)); in hci_read_failed_contact_counter()
87 ng_hci_reset_failed_contact_cntr_rp rp; in hci_reset_failed_contact_counter() local
105 n = sizeof(rp); in hci_reset_failed_contact_counter()
109 (char *) &rp, &n) == ERROR) in hci_reset_failed_contact_counter()
112 if (rp.status != 0x00) { in hci_reset_failed_contact_counter()
114 hci_status2str(rp.status), rp.status); in hci_reset_failed_contact_counter()
126 ng_hci_get_link_quality_rp rp; in hci_get_link_quality() local
144 n = sizeof(rp); in hci_get_link_quality()
148 (char *) &rp, &n) == ERROR) in hci_get_link_quality()
151 if (rp.status != 0x00) { in hci_get_link_quality()
153 hci_status2str(rp.status), rp.status); in hci_get_link_quality()
157 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_get_link_quality()
158 fprintf(stdout, "Link quality: %d\n", le16toh(rp.quality)); in hci_get_link_quality()
168 ng_hci_read_rssi_rp rp; in hci_read_rssi() local
186 n = sizeof(rp); in hci_read_rssi()
190 (char *) &rp, &n) == ERROR) in hci_read_rssi()
193 if (rp.status != 0x00) { in hci_read_rssi()
195 hci_status2str(rp.status), rp.status); in hci_read_rssi()
199 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle)); in hci_read_rssi()
200 fprintf(stdout, "RSSI: %d dB\n", (int) rp.rssi); in hci_read_rssi()