Kristian Sloth Lauszus
102746ef6b
Xbox One S controller support is now finally working
2020-11-15 19:14:30 +01:00
Kristian Sloth Lauszus
ad9360b865
Yet another go at getting the Xbox One S controller working
...
It just connects and opens a SDP channel it then disconnects the SDP channel and I get a "Paring Faild: 05 (Authentication Failure)"
For some reason I never receive the "IO Capability Request" event
2020-11-15 19:14:30 +01:00
Kristian Sloth Lauszus
42948831ce
Explicit cast millis() and micros() to uint32_t, as it is uint64_t on the Arduino 101
2017-02-12 16:58:14 +01:00
Kristian Sloth Lauszus
6fb48f48e4
Fix millis() and micros() rollover bug
...
Also replace long with int32_t, so it is not architecture dependent
2017-02-12 15:10:07 +01:00
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
6a9e574bf2
Added comments for "SDP_ServiceSearchAttributeResponse"
2014-07-01 13:50:43 +02: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
ddaa6f0220
Fixed “comparison between signed and unsigned integer expressions” warning
2013-12-18 23:01:01 +01:00
Andrew J. Kroll
fcaef6f5a2
Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk
2013-12-18 15:19:29 -05:00
Andrew J. Kroll
5785115cdb
Type fixes, new debug macro, debug bug fixes.
2013-12-18 15:18:28 -05:00
Kristian Lauszus
fdd65eab68
Whitespace
2013-12-16 09:18:01 +01:00
Kristian Lauszus
184770489f
Removed another unneeded case in the state machine
2013-12-13 10:41:12 +01:00
Kristian Lauszus
1ef78c3674
Do not hardcode identifier when disconnecting
2013-12-13 10:38:41 +01:00
Kristian Lauszus
a7f6b2e4dc
Removed unneeded case
2013-12-13 10:35:27 +01:00
Kristian Lauszus
809e80a1b0
Clear and set flags in a more readable way
2013-12-11 09:59:58 +01:00
Kristian Lauszus
4533e3cd44
Allow SPP to work in Arduino 0.2.3 and below
2013-12-07 00:26:49 +01:00
Kristian Lauszus
148b67ca2d
Fixed flush
...
It behaved like prior Arduino 1.0
2013-11-25 18:15:10 +01:00
Kristian Lauszus
2d8377b39f
Merge branch 'fcs'
2013-11-17 20:14:04 +01:00
Kristian Lauszus
b08e89a6f9
Updated comment about how to activate serial debugging
2013-11-11 11:48:09 +01:00
Lei Shi
952e6f1e98
ARM non-init issue.
2013-09-27 17:07:05 +08:00
Kristian Sloth Lauszus
8a397bdf8f
Check FCS of incoming bytes
...
Source: http://lxr.free-electrons.com/source/net/bluetooth/rfcomm/core.c#L172
2013-08-03 02:12:55 +02:00
Kristian Sloth Lauszus
c3c80924ec
Forgot to set debug level
2013-07-04 15:37:29 +02:00
Andrew J. Kroll
e01df49bf3
refactor entire library for hex printing
2013-06-17 15:37:09 -04:00
Kristian Sloth Lauszus
37090f65b7
Can now print unknown PDU
2013-06-15 17:47:48 +02:00
Oleg Mazurov
261e5f1bd2
commit
2013-06-11 21:11:43 -06:00
Kristian Sloth Lauszus
1dc75ae89f
Call send if the buffer would be full
2013-05-07 00:37:43 +02:00
Kristian Sloth Lauszus
e6a557870b
The SPP Class now inherit from the Arduino Stream library
2013-05-07 00:06:49 +02:00
Kristian Sloth Lauszus
48b3ed93f5
Removed all direct calls to serial.print
2013-04-26 23:50:39 +02:00
Kristian Sloth Lauszus
b88de72826
Simplified print commands
2013-04-08 00:25:01 +02:00
Kristian Sloth Lauszus
35ce9c7ab3
Fixed indent
2013-04-08 00:23:52 +02:00
Kristian Sloth Lauszus
60ef04d32f
Always print incoming SDP data if EXTRADEBUG is uncommented
2013-04-08 00:22:15 +02:00
Kristian Sloth Lauszus
0df6d40fce
Replace do while loop with while loop
2013-04-07 17:21:28 +02:00
Kristian Sloth Lauszus
813c5192d4
Can now print more than 60 bytes
2013-04-03 20:36:55 +02:00
Kristian Sloth Lauszus
a660a353d3
Fixed comment after formatting
2013-04-03 19:42:24 +02:00
Kristian Sloth Lauszus
7731f17c21
Check for long UUID for L2CAP channel just in case
2013-04-03 17:55:53 +02:00
Kristian Sloth Lauszus
4122764d81
Can now print out the UUID
2013-04-03 17:52:12 +02:00
Kristian Sloth Lauszus
712ed057e5
SPP is now working in Android 4.2 as well!
2013-04-01 03:09:23 +02:00
Andrew J. Kroll
904f2ff25a
Clean up code formatting to industry standards.
2013-03-28 04:46:43 -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
f5856c72bc
Fixed comment
2013-03-18 22:18:17 +01:00
Frederik Juul
5735a0d740
Changed LSB of buffer size to BULK_MAXPKTSIZE-14
2013-03-15 11:57:33 +01:00
Frederik Juul
fb9e53b245
Changed LSB of Bluetoothbuffer length to BULK_MAXPKTSIZE-11 rather than 64
2013-03-08 11:52:51 +01:00
Kristian Sloth Lauszus
6e00fd25d4
Removed printTimer
2013-03-06 17:04:35 +01:00
Kristian Sloth Lauszus
eac016f006
Fixed bug regarding Windows
2013-02-26 01:49:32 +01:00
Kristian Sloth Lauszus
cb5dda24b9
Fixed potential bug for Mac
2013-02-23 18:51:31 +01:00
Kristian Sloth Lauszus
8a22dd66e7
Added printFlashString function
2013-02-20 22:43:38 +01:00
Kristian Sloth Lauszus
734f004671
Added intToString(int32_t input, char* output) function
2013-02-20 22:25:33 +01:00