Searched refs:cod (Results 1 – 7 of 7) sorted by relevance
232 results[i].cod[0], results[i].cod[1], results[i].cod[2]); in discovery_timeout_cb()234 major_device = (uint8_t)BT_COD_MAJOR_DEVICE_CLASS(results[i].cod); in discovery_timeout_cb()235 minor_device = (uint8_t)BT_COD_MINOR_DEVICE_CLASS(results[i].cod); in discovery_timeout_cb()
66 uint8_t cod[3]; member
3 *.py[cod]
458 memcpy(result->cod, evt->cod, 3); in bt_hci_inquiry_result_with_rssi()495 memcpy(result->cod, evt->cod, 3); in bt_hci_extended_inquiry_result()782 struct bt_hci_cp_write_class_of_device *cod; in bt_br_init() local846 buf = bt_hci_cmd_create(BT_HCI_OP_WRITE_CLASS_OF_DEVICE, sizeof(*cod)); in bt_br_init()
106 const uint8_t cod[3], const uint8_t eir[240]) in br_device_found()163 results[i].cod, results[i].eir); in br_discovery_complete()
590 #define BT_COD_VALID(cod) ((0 == (cod[0] & (BIT(0) | BIT(1)))) ? true : false) argument591 #define BT_COD_MAJOR_SERVICE_CLASSES(cod) \ argument592 ((((uint32_t)cod[2] & 0xFF) >> 5) | (((uint32_t)cod[1] & 0xD0) >> 5))593 #define BT_COD_MAJOR_DEVICE_CLASS(cod) ((((uint32_t)cod[1]) & 0x1FUL)) argument594 #define BT_COD_MINOR_DEVICE_CLASS(cod) (((((uint32_t)cod[0]) & 0xFF) >> 2)) argument2860 uint8_t cod[3]; member2981 uint8_t cod[3]; member
50 uint8_t cod[3]; member