]> rtime.felk.cvut.cz Git - tiny-bt.git/blobdiff - src/hciembeded.h
Version from David Plotek's bachelor thesis CD
[tiny-bt.git] / src / hciembeded.h
index 63c05db59480e6878862a167b5053b184eb0a0a1..af4cd232fb23486554e70956242c28df76ed5c6d 100644 (file)
@@ -1499,6 +1499,7 @@ typedef struct {
 } __attribute__ ((packed)) evt_flow_spec_complete;
 #define EVT_FLOW_SPEC_COMPLETE_SIZE (5 + HCI_QOS_CP_SIZE)
 
+//todo:this solution is for number of responcies equal to 1 only!!! 
 #define EVT_INQUIRY_RESULT_WITH_RSSI   0x22
 typedef struct {
        bt_address      bdaddr;
@@ -1812,7 +1813,7 @@ struct hci_dev_req {
 
 struct hci_dev_list_req {
        uint16_t dev_num;
-       struct hci_dev_req dev_req[0];  /* hci_dev_req structures */
+       struct hci_dev_req dev_req[16]; /* hci_dev_req structures */
 };
 
 struct hci_conn_list_req {