Commit graph

60 commits

Author SHA1 Message Date
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
Kristian Sloth Lauszus
a4f21cea8c Added ability to print floating-point numbers 2012-12-16 18:42:02 +01:00
Kristian Sloth Lauszus
8f7d93896e Added ability to print negative numbers 2012-10-23 22:49:19 +02:00
Kristian Lauszus
702b07d03c Added flush() 2012-10-09 20:41:47 +02:00
Kristian Lauszus
98b3fec50a More readable conversion from number to ASCII character 2012-10-03 21:46:08 +02:00
Kristian Lauszus
155c06b83f Clear flags after reading them 2012-10-03 20:44:03 +02:00
Kristian Lauszus
f21ebf858f Decreased data buffer 2012-08-17 14:16:37 +02:00
Kristian Lauszus
7ca5fcf048 Added delay between l2cap disconnection requests 2012-08-10 01:02:53 +02:00
Kristian Lauszus
780ce9abeb Minor edit 2012-08-09 21:41:32 +02:00
Kristian Lauszus
cfbf693384 Minor edit 2012-08-09 21:22:55 +02:00
Kristian Lauszus
e55e78450b FIxed bug 2012-08-09 20:30:47 +02:00
Kristian Lauszus
acf47a683d Reset l2cap states at new connection request 2012-08-09 20:30:32 +02:00