Commit graph

71 commits

Author SHA1 Message Date
Kristian Lauszus
ee90afde31 Merged SPPi class in from @magictaler - see: #79
I have made several improvements. Including making a new SPPBase class.
2014-04-21 18:27:04 +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
Kristian Sloth Lauszus
09c5b6c5a3 Added more printNumber functions 2013-02-20 22:05:56 +01:00
Kristian Sloth Lauszus
1333e9a63b Updated comments to work with Doxygen 2013-02-05 19:51:45 +01:00
Kristian Sloth Lauszus
4e7ad8eed8 Fixed potential bug 2013-02-04 16:17:46 +01:00
Kristian Sloth Lauszus
131550aa73 Fixed bug SPP in library 2013-02-04 08:38:10 +01:00
Kristian Sloth Lauszus
f8beb5cfa7 Fixed doubleToString function 2013-02-02 00:42:19 +01:00
Kristian Sloth Lauszus
a96c3c4633 Now the XBOXRECV doesn't conflict as well
Also hci_handle is reset when you disconnect
2013-01-28 00:55:01 +01:00
Kristian Sloth Lauszus
f0844a77e8 Fixed bug when printing const char* 2012-12-22 22:25:05 +01:00