939 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
b8b6afaf59 log actual length for USB transfers 2013-03-07 17:26:03 +00:00
matthias.ringwald@gmail.com
559e517e9c query local supported features during HCI setup 2013-03-07 16:32:49 +00:00
matthias.ringwald@gmail.com
941fd279e0 don't give error for correct async control transfer 2013-03-07 14:57:09 +00:00
matthias.ringwald@gmail.com
75375c8e99 extracted handle_completed_transfer 2013-03-06 18:40:47 +00:00
matthias.ringwald@gmail.com
4a4906b5db use async transfer for command packets 2013-03-06 18:06:22 +00:00
matthias.ringwald@gmail.com
c9810d4de6 cleaning up 2013-03-06 17:47:50 +00:00
matthias.ringwald@gmail.com
0008e038dc use async api for acl send 2013-03-06 13:24:04 +00:00
matthias.ringwald@gmail.com
c44833c27f more deubg output 2013-03-05 16:04:53 +00:00
matthias.ringwald
23ac074392 allow for HCI_PACKET_BUFFER_SIZE override 2013-03-01 00:19:21 +00:00
matthias.ringwald
ffabb497c5 fix preprocessor macros 2013-03-01 00:18:13 +00:00
matthias.ringwald
e045abde1a fix preprocessor macros 2013-03-01 00:17:34 +00:00
matthias.ringwald
3d188d63f7 use 0 (never) for incoming transfers - fixes lost packets, decrease polling interval for non-pollfds to 3 ms to achieve same throughput as pollfds on Bluetooth 2.1+EDR 2013-02-24 19:59:57 +00:00
matthias.ringwald
9e427613ca reset Bluetooth module on open, fix double debug newlines, extract queue_completed_transfer 2013-02-24 18:13:16 +00:00
matthias.ringwald@gmail.com
b4b58cb764 first try at theos Makefile for iOS 2013-02-19 19:59:35 +00:00
matthias.ringwald@gmail.com
c177a91c8c provide missing argument 2013-02-19 19:47:54 +00:00
matthias.ringwald
0a57e69fd3 mark hci packet handler as private (static) 2013-02-18 15:55:02 +00:00
matthias.ringwald
5515192db3 use AYSNC_POLLING_INTERVAL_MS to specify polling interval 2013-02-18 14:58:29 +00:00
matthias.ringwald
09da5c0ba4 use AYSNC_POLLING_INTERVAL_MS to specify polling interval, disable debug output 2013-02-18 14:54:36 +00:00
matthias.ringwald
22f8b3cca7 use fixed timeout of 10 ms sec to poll usb, free descriptor. start appyling patches from issue #211, thanks to Alan 2013-02-18 14:07:34 +00:00
matthias.ringwald
3bc4d64e10 fix use of pointer to volatile/stack memory, thanks to Matthias Gruenewald 2013-02-18 10:26:34 +00:00
matthias.ringwald@gmail.com
1a71e6baaa edited API doku 2013-01-26 22:56:34 +00:00
matthias.ringwald@gmail.com
e6cc8be246 mark Embedded API functions, add basic documentation for all of them 2013-01-26 17:34:33 +00:00
matthias.ringwald
e0aef5cb73 fix compile of objective-c files 2012-11-18 22:25:09 +00:00
matthias.ringwald
613e74c01b fix memory pool (generation) 2012-11-07 17:31:37 +00:00
matthias.ringwald
a5ca8a8f32 add support for 8 byte data blocks used in ANT 2012-11-06 10:30:43 +00:00
matthias.ringwald
7039408fa3 remove duplicate code 2012-11-02 19:54:16 +00:00
matthias.ringwald@gmail.com
91ff78dd38 introduced error message if neither HAVE_MALLOC nor MAX_NO_ of a pool are defined in config file 2012-10-30 23:16:51 +00:00
matthias.ringwald
63a7246a86 improved l2cap error handling, better config options validation 2012-10-30 19:55:24 +00:00
matthias.ringwald@gmail.com
5b4f6e5776 added setters for timer and data source handlers 2012-10-28 22:38:57 +00:00
matthias.ringwald
9677442806 don't send write scan enable before stack is working 2012-10-20 22:24:23 +00:00
matthias.ringwald@gmail.com
142538a136 use non-block for usb2art adapter 2012-10-09 10:13:19 +00:00
matthias.ringwald
1c07209a6d add newline to log_ output 2012-10-09 09:42:51 +00:00
matthias.ringwald@gmail.com
e0abb8e76b log all BTstack command and events 2012-07-30 18:58:08 +00:00
matthias.ringwald
dd487e11d2 allow fd = 0 as data source (stdin) 2012-07-30 15:02:57 +00:00
matthias.ringwald
aac3545b0e connection failure for RFCOMM L2CAP channel now results in rfcomm channel open errors and removal of prepared channels and multiplexer 2012-07-30 14:39:29 +00:00
matthias.ringwald
97fdcd42fb report read buffer size as info not as error 2012-07-19 12:30:43 +00:00
matthias.ringwald
c4d3f927d0 omit code for empty memory pools 2012-05-21 18:24:37 +00:00
matthias.ringwald
47f645e323 immediately call rfcomm_run after closing channel and client disconnect 2012-05-10 20:52:26 +00:00
matthias.ringwald
4cf56b4aa0 added explaination why src_id is not needed 2012-05-10 20:32:39 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00
matthias.ringwald
df6ee1aa68 make sure BD_ADDR is set for iOS, prettify BlueTool output in hci_dump, fixes deep sleep wake up 2012-04-05 15:35:54 +00:00
matthias.ringwald
a6df61e87f use baud rate from bt_control_iphone 2012-04-05 15:34:28 +00:00
matthias.ringwald
4104e8ab47 don't call db_synchronize() on db_close for iOS 2012-04-04 19:52:19 +00:00
matthias.ringwald
d71f9734b9 don't forward HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS to clients - no need for that 2012-04-04 19:22:19 +00:00
matthias.ringwald
5a8f8adde5 consume L2CAP_EVENT_CREDITS in RFCOMM multiplexer - (bug: L2CAP_CREDITs being sent to ALL clients) 2012-04-04 19:18:29 +00:00
matthias.ringwald
97859d16a1 log client connect/disconnects 2012-04-04 18:22:44 +00:00
matthias.ringwald
f4726e1de2 only close rfcomm channels that belong to that particular connection 2012-04-02 23:25:30 +00:00
matthias.ringwald
0b54a4e601 fix compile for embedded with logging enabled 2012-04-02 20:30:15 +00:00
matthias.ringwald
133efcfd6a deliver DAEMON_EVENT_HCI_PACKET_SENT as HCI_EVENT_PACKET to security_protocol_packet_handler (not supported yet anyway) 2012-03-19 23:09:54 +00:00
matthias.ringwald
3efa5692f5 reduce maximumAttributeByteCount after adding attributes to sdp response, should fix issue #197 repoted by simon 2012-03-16 21:44:55 +00:00