USB HID bridge between SX127x device and PC GUI
Dependencies: SX127x USBDevice mbed
This application is a USB bridge between SX1272 or SX1276 transceiver chip and PC GUI. You can use Freescale Freedom instead of an expensive Open4, or another board supported by USBHID. Later, you might then use the freedom board for your own firmware development.
The pre-existing PC GUI checks for product device name of USB device to match a specific string of text.
After you import this program, you will have your own private copy of USB HID driver.
Edit the file USBDevice -> USBHID -> USBHID.cpp:
modification to USB HID driver
/*uint8_t * USBHID::stringIproductDesc() { static uint8_t stringIproductDescriptor[] = { 0x16, //bLength STRING_DESCRIPTOR, //bDescriptorType 0x03 'H',0,'I',0,'D',0,' ',0,'D',0,'E',0,'V',0,'I',0,'C',0,'E',0 //bString iProduct - HID device }; return stringIproductDescriptor; }*/ uint8_t * USBHID::stringIproductDesc() { static uint8_t stringIproductDescriptor[] = { 0x18, //bLength STRING_DESCRIPTOR, //bDescriptorType 0x03 'S',0,'X',0,'1',0,'2',0,'x',0,'x',0,'E',0,'i',0,'g',0,'e',0,'r',0 //bString iProduct - HID device }; return stringIproductDescriptor; }
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
3:2f9bead88eae | 2016-07-26 | dudmuck | updated USB device library |
2:d17ce14e02d7 | 2016-07-26 | dudmuck | update for use with latest radio driver library |
1:d25ba61cd2f3 | 2014-04-30 | dudmuck | updated to build with updated sx127x library |
0:f8bc33804548 | 2014-04-14 | dudmuck | initial commit |