894 Commits

Author SHA1 Message Date
Nathan Conrad
346443118f Add testcase for aborting bulk in with no data queued (and fix aborting bulk in) 2019-09-19 19:01:08 -04:00
Nathan Conrad
0548f97d33 Remove debug printf. 2019-09-19 18:59:57 -04:00
Nathan Conrad
d4b2dff7c4 Fix more TX bugs... and add variable response delay to the example project. 2019-09-19 00:00:27 -04:00
Nathan Conrad
9a726dc7ed More fixes, and a bit of SRQ. 2019-09-18 21:34:26 -04:00
Nathan Conrad
99d03fcaee small fixes 2019-09-18 19:30:44 -04:00
Nathan Conrad
eea71a8b3b usbtmc updates.... 2019-09-18 19:24:54 -04:00
Nathan Conrad
91cd247c97 changes 2 2019-09-17 13:29:39 -04:00
Nathan Conrad
45871001e6 Changes1... 2019-09-17 13:29:38 -04:00
Nathan Conrad
e234998c6c More proper handling of clear. 2019-09-17 13:29:38 -04:00
Nathan Conrad
c755aee7d0 Clear 2019-09-17 13:29:38 -04:00
Nathan Conrad
915f52730d Implement HID desc request. 2019-09-17 11:28:29 -04:00
Nathan Conrad
e53e9bd4f0 Simulate query delay; getting to a point where implementing clear/aborts makes
sense. Probably adding too many concurance issues; need to figure out
semaphores.
2019-09-14 21:26:43 -04:00
Nathan Conrad
64bfec79b2 Change requset type parameter back to uint8_t (fix type cast), support USB indicator pulse 2019-09-14 18:11:07 -04:00
Nathan Conrad
6e00886ffb Handle USBTMC TermChar. 2019-09-14 17:15:34 -04:00
Nathan Conrad
e74c6b0874 Combined status response enum (std with 488), support trigger. 2019-09-14 16:51:02 -04:00
Nathan Conrad
1cae96951f Add usbtmc class driver. 2019-09-14 13:35:08 -04:00
Nathan Conrad
8cca287683 Add verification that there is enough buffer space for HID OUT control transfer. 2019-09-12 16:07:12 -04:00
hathach
6c6a597465 fix #132 2019-09-11 10:47:07 +07:00
hathach
80cde5b0b5 fix potential bug with mis-align issue 2019-09-01 17:20:10 +07:00
hathach
aeea6754af rename lpc_usbd to lpc_ip3511 2019-09-01 16:44:40 +07:00
hathach
b7dbc98ab1 close #105 add tud_vendor_write_available() 2019-08-31 16:31:07 +07:00
Scott Shawcroft
00c440cb26
Merge pull request #99 from jepler/issue98-midi-program-change
midi_device: Send message classes C and D as 2 bytes
2019-08-15 23:34:42 -07:00
jepler
96d96a94b8 midi_device: Send message classes C and D as 2 bytes
.. sending these as two 1-byte messages with CIN of 0xF is
misinterpreted by OSes including Windows 10 and (reportedly)
Mac.

Testing performed: Ran the reproducer script, which sends Program
Change (0xCx) messages.  I did not check with Change Pressure (0xDx)
messages, but expect the same thing.

Closes: #98
2019-08-14 19:15:29 -05:00
hathach
bd08d0edc9 add vendor peek, change cdc peek signature, change cdc read_char() return from signed char to int32_t 2019-08-01 10:46:27 +07:00
hathach
00a9e492cd clean up 2019-07-30 00:48:31 +07:00
hathach
d2b60b6755 webusb work great with linux 2019-07-26 11:36:30 +07:00
hathach
caf2b6d463 move tud_vendor_control_* to usbd.h 2019-07-24 23:12:31 +07:00
hathach
2a543c0e79 update vendor device similar to cdc read/write
maybe refactor later
2019-07-24 23:07:30 +07:00
hathach
56b656c768 Merge branch 'master' into develop 2019-07-24 17:08:19 +07:00
hathach
1ee9ef4f2b change tud_msc_start_stop_cb() to return void -> bool 2019-07-24 16:19:12 +07:00
hathach
8ba78ee012 adding vendor 2019-07-24 16:08:43 +07:00
hathach
c63f2b30cb rename tud_control_vendor_request_cb/complete_cb to tud_vendor_control_request_cb/complete_cb 2019-07-24 09:45:32 +07:00
hathach
33de35504a more house keeping 2019-07-19 20:20:13 +07:00
hathach
a3cb2dda9e rename custom/custom-_* to vendor/vendor_* 2019-07-19 16:37:28 +07:00
hathach
6a076d8aae rename CFG_TUSB_HOST_CUSTOM_CLASS to CFG_TUH_VENDOR 2019-07-19 16:31:51 +07:00
hathach
b0678e1050 rename CFG_TUD_CUSTOM_CLASS to CFG_TUD_VENDOR 2019-07-19 16:23:56 +07:00
hathach
036e858543 add tud_control_vendor_request_cb()/tud_control_vendor_complete_cb(), expose usbd control transfer
rename usbd_control_transfer/status to tud_control_transfer/status
2019-07-16 18:14:47 +07:00
hathach
cb4e6837e9 clean up, rename internal driver control_request_complete to simply control_complete 2019-07-12 22:03:40 +07:00
hathach
216ccc6e93 midi only use audio 1.0 without IAD 2019-07-05 16:46:11 +07:00
hathach
1b242cb3c6 clean up 2019-07-04 01:31:56 +07:00
hathach
b0e5a1a9ec remove tud_midi_write_flush() send asap. rename tud_midi_connected() to tud_midi_mounted() 2019-07-04 01:27:51 +07:00
hathach
50f4c61d7c fix midi_write prototype 2019-07-03 01:22:41 +07:00
hathach
1a0e02fa1b tested midi example 2019-07-03 00:52:25 +07:00
hathach
62d3b91691 clean up 2019-07-02 18:23:42 +07:00
hathach
3f3ef6f4e6 clean up 2019-07-02 16:42:12 +07:00
hathach
e702328093 fix compiling 2019-07-01 23:11:16 +07:00
hathach
6991b28532 improving midi support, adding midi exmaple
rename TUSB_DESC_CLASS_SPECIFIC to TUSB_DESC_CS_INTERFACE
2019-07-01 22:38:06 +07:00
hathach
7156bfb54d
fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_* 2019-06-10 18:46:00 +07:00
hathach
dcfaec9efc
add HID_ASCII_TO_KEYCODE 2019-06-06 18:06:24 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application 2019-06-06 10:39:37 +07:00