Commit graph

72 commits

Author SHA1 Message Date
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
Kristian Sloth Lauszus
49ade831a7 Write class of device
This is needed in order for some devices to see the dongle
2013-03-14 23:40:52 +01:00
Kristian Sloth Lauszus
1333e9a63b Updated comments to work with Doxygen 2013-02-05 19:51:45 +01:00
Kristian Sloth Lauszus
131550aa73 Fixed bug SPP in library 2013-02-04 08:38:10 +01:00
Kristian Sloth Lauszus
4311bc9fee Fixed comment 2013-02-03 22:28:54 +01:00
Kristian Sloth Lauszus
355ca892eb Added support for Wii U Pro Controller 2013-02-02 22:14:01 +01:00
Kristian Sloth Lauszus
ac4fc92ea7 The library now also support multiple Wiimotes 2013-01-20 22:46:04 +01:00
Kristian Sloth Lauszus
6598bca58a Added #ifdef several places 2013-01-19 15:43:28 +01:00
Kristian Sloth Lauszus
c639a3ee4f Now works with the new Wiimote with Motion Plus Inside 2013-01-10 20:10:16 +01:00
Kristian Lauszus
091650d0a1 Exit if inquiry finished 2012-10-08 15:32:42 +02:00
Kristian Lauszus
3441f6c3c4 Prevent it from printing "Pairing successful" multiple times 2012-10-07 22:31:28 +02:00
Kristian Lauszus
d445689813 Fixed bug when pairing 2012-10-07 19:44:27 +02:00
Kristian Lauszus
2a6fa135e5 Fixed comment 2012-10-07 19:12:26 +02:00
Kristian Lauszus
940b8e185b Minor edit 2012-10-07 16:24:12 +02:00
Kristian Lauszus
a6d77dce92 Added DEBUG around string 2012-10-07 15:22:29 +02:00