Commit graph

54 commits

Author SHA1 Message Date
Kristian Lauszus
285b21cdbc Check HCI Handle using function in BluetoothService class 2014-09-09 16:38:42 -07: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
efb9bb73c5 Use shift operators for flags 2014-09-02 01:34:39 -07:00
Kristian Lauszus
4a1940b99b Don't redefine HID parameters - just include Hid.h 2014-09-02 01:26:17 -07: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
Kristian Lauszus
8ae6f8bb1d Updated comments - especially in BTHID.h 2013-12-30 16:05:50 +01:00
Andrew J. Kroll
14fda1372c Fix annoying warnings and provide an optimization. 2013-12-29 23:53:24 -05:00
Andrew J. Kroll
f1af9b08ec Janitorial, whitespace fixes. No new code. 2013-12-25 05:09:57 -05:00
Kristian Lauszus
6ea34f955e Fixed flag macros
Needed if you want to clear multiple flags at once
2013-12-13 11:18:30 +01:00
Kristian Lauszus
184770489f Removed another unneeded case in the state machine 2013-12-13 10:41:12 +01:00
Kristian Lauszus
413e65a44f Reorder values 2013-12-13 10:36:15 +01:00
Kristian Lauszus
a7f6b2e4dc Removed unneeded case 2013-12-13 10:35:27 +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
809e80a1b0 Clear and set flags in a more readable way 2013-12-11 09:59:58 +01:00
Kristian Lauszus
ed36d04e7c Move all L2CAP states etc. into BTD.h, so the different drivers does not conflict when used together 2013-12-11 09:29:38 +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
c58f93dd83 Check if Bluetooth address is set before returning true to a PS3 controller 2013-11-24 15:23:41 +01: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
Andrew J. Kroll
1a0d0690d3 compile faster 2013-09-23 18:40:10 -04:00
Kristian Sloth Lauszus
6e271b44aa Fixed PID 2013-08-14 00:57:11 +02:00
Kristian Sloth Lauszus
64cdcf51f4 Check for IOGEAR GBU521 manually 2013-08-14 00:43:15 +02:00
Kristian Sloth Lauszus
dcdc1b26f7 Reduced buffer sizes 2013-07-19 12:49:13 +02:00
Kristian Sloth Lauszus
1a1c2a18d3 Added DEVCLASSOK and VIDPIDOK to some drivers 2013-07-15 18:20:58 +02:00
Oleg Mazurov
261e5f1bd2 commit 2013-06-11 21:11:43 -06:00
Andrew J. Kroll
904f2ff25a Clean up code formatting to industry standards. 2013-03-28 04:46:43 -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
00a9a33ab8 Added pairWithWiimote function 2013-02-23 18:52:55 +01:00
Kristian Sloth Lauszus
797208832f Added readPollInterval function 2013-02-17 01:24:10 +01:00
Kristian Sloth Lauszus
a02dc1f7ad Fixed whitespace 2013-02-05 20:09:05 +01:00
Kristian Sloth Lauszus
1333e9a63b Updated comments to work with Doxygen 2013-02-05 19:51:45 +01:00
Kristian Sloth Lauszus
92d3f2201b Moved variables 2013-02-04 20:51:24 +01:00
Kristian Sloth Lauszus
131550aa73 Fixed bug SPP in library 2013-02-04 08:38:10 +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
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
90ae685010 Minor edit 2012-10-07 20:34:52 +02:00
Kristian Lauszus
d445689813 Fixed bug when pairing 2012-10-07 19:44:27 +02:00
Kristian Lauszus
ebb333de9a Now able to pair with Wiimote 2012-10-07 14:50:51 +02:00
Kristian Lauszus
a3ad5f2cdd Added support for Wiimote 2012-08-21 14:31:11 +02:00
Kristian Lauszus
1ba56d3f05 Return service ID to service 2012-08-17 14:15:39 +02:00