Diff between 4862dcf11a2cdc773a0818e1352b840af9df134f and 3fe68046fe4ceccba8650dd62c48e193a374f71c
Changed Files
| File | Additions | Deletions | Status |
| emulator/bthost.c | +11 | -1 | modified |
Full Patch
diff --git a/emulator/bthost.c b/emulator/bthost.c
index 52a121a..02efe1c 100644
--- a/emulator/bthost.c
+++ b/emulator/bthost.c
@@ -117,7 +117,17 @@ static void process_evt(struct bthost *bthost, const void *data, uint16_t len)
if (len < sizeof(*hdr))
return;
- printf("Unsupported event 0x%2.2x\n", hdr->evt);
+ switch (hdr->evt) {
+ case BT_HCI_EVT_CMD_COMPLETE:
+ break;
+
+ case BT_HCI_EVT_CMD_STATUS:
+ break;
+
+ default:
+ printf("Unsupported event 0x%2.2x\n", hdr->evt);
+ break;
+ }
}
void bthost_receive_h4(struct bthost *bthost, const void *data, uint16_t len)