USB Host Driver with Socket Modem support. Works with revision 323 of mbed-src but broken with any later version.
Dependencies: FATFileSystem
Fork of F401RE-USBHost by
Diff: USBHostRSSI/USBHostRSSI.cpp
- Revision:
- 16:981c3104f6c0
- Parent:
- 13:8774c07f12a5
--- a/USBHostRSSI/USBHostRSSI.cpp Fri Jun 13 01:52:44 2014 +0000 +++ b/USBHostRSSI/USBHostRSSI.cpp Mon Jun 23 20:30:04 2014 +0900 @@ -108,6 +108,8 @@ wait_ms(500); rc = cmdSend(HCI_OP_WRITE_INQUIRY_MODE, "B", 0x01); // with RSSI USB_TEST_ASSERT(rc == USB_TYPE_OK); + if (rc != USB_TYPE_OK) { + } break; case HCI_OP_WRITE_INQUIRY_MODE: rc = cmdSend(HCI_OP_PERIODIC_INQUIRY, "HHBBBBB",