Commit graph

94 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
50ae401566 Print error message if a USB Hub is detected in the BTD class
This is useful as some Bluetooth dongles have a hub inside

Fixes #187
2015-12-06 18:35:16 +01:00
Kristian Sloth Lauszus
fb723fcbb0 Don't set epAttribs to 0, as this will set bmNakPower to 0 as well. Instead set bmSndToggle and bmRcvToggle explicit to 0.
Fixes: #184
2015-11-18 00:11:33 +01:00
Kristian Sloth Lauszus
e7bb5fafb1 Add delay between multiple calls to dispatchpkt inside InTransfer
Fixes: #167
2015-07-12 19:17:12 +02:00
Kristian Sloth Lauszus
a3fbffb42c Updated some comments 2015-04-16 02:34:27 +02:00
Kristian Sloth Lauszus
b1902b2a55 Initial support for Wii Balance Board
Still need to convert readings into something meaningful
2015-04-16 01:57:00 +02:00
Kristian Sloth Lauszus
a2265ea0a9 All these files changes were changed in: bc8000f782
I suspect Andrew used force push to overwrite the history
2015-03-19 18:11:22 +01:00
Andrew J. Kroll
46dc4e6fec fix conflict, fix case on include for hid.h (regression?) 2015-03-14 04:54:28 -04:00
Kristian Lauszus
106aff6411 Call registerBluetoothService in BluetoothService constructor
I needed to move the BluetoothService class down after the BTD class in order for it to work
2014-09-09 16:32:46 -07:00
Kristian Lauszus
25c8d87ba2 Added several variables to BluetoothService class
Also moved attachOnInit function into BluetoothService class, but this really belong somewhere else
2014-09-02 02:02:17 -07:00
Kristian Lauszus
b82835c877 Break for loop if HID device is found 2014-07-01 13:22:44 +02:00
Andrew J. Kroll
15974fcd54 Merge branch 'master' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2014-05-23 00:10:24 -04:00
Andrew J. Kroll
d56ed57495 Fix 1 month rollover bug -- Lei Shi found this one in one place, I found the problem all over the library and patched them all. 2014-05-22 23:36:33 -04:00
Kristian Lauszus
b3b476af33 Fixed debug message 2014-03-18 18:37:36 +01:00
Kristian Lauszus
0c05413447 Remote name buffer should be a char array 2014-01-16 18:56:42 +01:00
Kristian Lauszus
7469ff099e Typos, whitespace and some other cleanup stuff 2014-01-12 16:31:47 +01:00
Kristian Lauszus
e9bd896ca2 Added support for the PS4 controller via Bluetooth 2014-01-10 17:44:51 +01:00
Andrew J. Kroll
f1af9b08ec Janitorial, whitespace fixes. No new code. 2013-12-25 05:09:57 -05:00
Kristian Lauszus
c1f82e9e47 Check length is larger than 0 before sending data to Bluetooth services 2013-12-11 11:56:05 +01:00
Kristian Lauszus
6909ecd6b8 Use more readable macros in the BTD class as well 2013-12-11 10:37:18 +01:00
Kristian Lauszus
712bc3818d Fixed warning
Check if we are at the end of the string properly
2013-12-11 10:10:12 +01:00
Kristian Lauszus
dec1a31bc7 Updated some comments 2013-12-11 10:06:40 +01:00
Kristian Lauszus
4f738d3ef9 Removed some unused code 2013-12-06 22:59:12 +01:00
Kristian Lauszus
75637bab31 Merge branch 'master' into xxxajk 2013-12-05 07:26:41 +01:00
Andrew J. Kroll
95d133b919 Merge 2013-12-04 18:51:06 -05:00
Andrew J. Kroll
e18eb57752 fix all warnings for ARM, fix a few small bugs 2013-12-04 18:40:23 -05:00
Kristian Lauszus
c84dce8e00 Renamed clearAllVariables() to Initialize() 2013-12-01 16:02:23 +01:00
Kristian Lauszus
f783b97cb9 Initial commit for BTHID library
To see incoming data uncomment PRINTREPORT in BTHID.cpp
2013-11-24 21:55:15 +01:00
Kristian Lauszus
bcc51279d9 Added function, so one can connect to any Bluetooth device by setting the Bluetooth address as an argument 2013-11-24 15:31:12 +01:00
Kristian Lauszus
16f9c97cd6 Added more debugging when connection is established 2013-11-15 23:31:05 +01:00
Kristian Lauszus
0bd0078c6d Updated comments 2013-11-12 19:38:18 +01:00
Kristian Lauszus
b08e89a6f9 Updated comment about how to activate serial debugging 2013-11-11 11:48:09 +01:00
Kristian Sloth Lauszus
ac1bad4eee Faster processors like the Teensy 3.0 needed a delay before setting the configuration to the PS3 controller 2013-10-21 17:36:42 +02:00
Kristian Sloth Lauszus
a312a45d0b Print if connection failed 2013-10-08 19:51:41 +02:00
Kristian Sloth Lauszus
7a02a07620 Don't change error code if it returned hrJERR 2013-10-08 19:51:20 +02:00
Kristian Sloth Lauszus
01e0e6cf2d Don't clear pairWithWii 2013-10-08 18:52:37 +02:00
Kristian Sloth Lauszus
90dba71937 Moved PID and VID readings 2013-10-07 01:45:21 +02:00
Kristian Sloth Lauszus
b76ddedd59 Implement ConfigureDevice() before Init()
Also added clearAllVariables() - see: https://github.com/felis/USB_Host_Shield_2.0/pull/63
2013-10-07 00:47:53 +02:00
Kristian Sloth Lauszus
b2e85fd274 Indent... 2013-09-27 21:39:38 +02:00
Lei Shi
952e6f1e98 ARM non-init issue. 2013-09-27 17:07:05 +08:00
Kristian Sloth Lauszus
643972ad51 Print carriage return before line feed 2013-09-12 22:24:48 +02:00
Kristian Sloth Lauszus
5e97ec6a51 Don't return Unknown device if a PS3 controller is plugged in 2013-09-12 22:12:13 +02:00
Andrew J. Kroll
af4302f360 streamline failure path in code 2013-09-05 18:57:13 -04:00
Kristian Sloth Lauszus
64cdcf51f4 Check for IOGEAR GBU521 manually 2013-08-14 00:43:15 +02:00
Kristian Sloth Lauszus
e1e159b560 Fixed problem with IOGEAR GBU521 2013-08-13 22:42:49 +02:00
Kristian Sloth Lauszus
6a090c0791 Ignore hrNAK error 2013-08-02 14:24:06 +02:00
Kristian Sloth Lauszus
b957f5f4dc Added delay after setting address 2013-07-15 19:34:56 +02:00
Andrew J. Kroll
e01df49bf3 refactor entire library for hex printing 2013-06-17 15:37:09 -04:00
Oleg Mazurov
261e5f1bd2 commit 2013-06-11 21:11:43 -06:00
Andrew J. Kroll
f1e01dbaab merge with head 2013-05-16 17:03:44 -04:00
Andrew J. Kroll
814c2baf55 debugging macro fixes 2013-05-16 16:43:51 -04:00