Commit graph

86 commits

Author SHA1 Message Date
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
Kristian Sloth Lauszus
91d7195577 Check if Bluetooth address is set before writing to PS3 controller 2013-05-14 00:47:05 +02:00
Kristian Sloth Lauszus
48b3ed93f5 Removed all direct calls to serial.print 2013-04-26 23:50:39 +02:00
Kristian Sloth Lauszus
d49eba0372 Cleaned up some formatting 2013-04-03 18:30:46 +02:00
Kristian Sloth Lauszus
9781bbab33 Simplified paring with Wiimote and Wii U Pro Controller 2013-04-03 18:30:24 +02:00
Kristian Sloth Lauszus
913496f8ea Removed double instance of the same code 2013-04-02 00:10:02 +02:00
Kristian Sloth Lauszus
02f98dd950 Can now print out class of device of incoming device 2013-04-01 03:06:49 +02:00
Andrew J. Kroll
5ec8889fa3 Unify a bunch of debug fail messages to a single point. More needed. 2013-03-30 10:29:16 -04:00
Andrew J. Kroll
9b224b9899 port debugging of new files, need to eliminate all serial.print yet. 2013-03-28 04:37:09 -04:00