1296 Commits

Author SHA1 Message Date
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
matthias.ringwald
dcf2396cab mark rfcomm_cid as 16 bit in rfcomm_send_internal - thanks to bob for spotting this 2012-03-12 19:05:08 +00:00
matthias.ringwald
808722c4b2 redirect log_* into hci_dump.pklg 2012-02-20 20:13:28 +00:00
matthias.ringwald
a1d7dd1f6f add hci_dump_log 2012-02-20 20:12:02 +00:00
matthias.ringwald
0d79c710aa define LOG_MESSAGE_PACKET and add support for HCI_DUMP_PACKETLOGGER and HCI_DUMP_STDOUT 2012-02-20 19:12:47 +00:00
matthias.ringwald
94066f6ccc set power_management_active also for new iOS full 3bmps 2012-02-19 22:36:46 +00:00
matthias.ringwald
160887e65d avoid error for defined but unused preferences_changed_callback 2012-02-14 19:20:42 +00:00
matthias.ringwald
3803bc4580 use hci_transport_h4_iphone_instance if power management is supported (iOS4+ and Broadcom) 2012-02-13 21:51:09 +00:00
matthias.ringwald
2ad598b442 add public iphone_system_has_csr 2012-02-13 21:50:08 +00:00
matthias.ringwald
8be0a47943 removed wake handling from POSIX H4 transport impl 2012-02-13 21:49:06 +00:00
matthias.ringwald
f65dbd5737 prototype for hci_transport_h4_iphone_instance 2012-02-13 21:48:18 +00:00
matthias.ringwald
df3cae4140 new netgraph-based access to Bluetooth UART on iPhone with iOS 4+ and BCM chipset 2012-02-13 21:46:37 +00:00
matthias.ringwald
2df1222911 note 0xfc for comment/note in PacketLogger 2012-02-13 21:43:14 +00:00
matthias.ringwald
61936ecbe9 also add log connection pointer 2012-02-07 22:23:41 +00:00
matthias.ringwald
b8a8478375 react on logging toggle on iOS 2012-02-07 22:22:00 +00:00
matthias.ringwald
9ae0c3466a forgot to add global back 2012-02-07 22:15:31 +00:00
matthias.ringwald
b0a96cacda remove useless preprocessor macro 2012-02-07 21:15:19 +00:00
matthias.ringwald
05bea2a4d2 register for logging enabled changes 2012-02-07 21:11:27 +00:00
matthias.ringwald
141f2c0985 added getter for loggging preferences 2012-02-07 21:05:32 +00:00
matthias.ringwald
a4516c1567 add listener for ch.ringwald.btstack.preferences 2012-02-07 20:50:03 +00:00
matthias.ringwald
11d1946b65 avoid crash caused by reentrant call to socket_connection_retry_parked 2012-02-05 15:46:06 +00:00
matthias.ringwald
2149f12ebb added support for sending connectionless L2CAP packets 2012-01-29 19:12:30 +00:00
matthias.ringwald@gmail.com
5652b5ff9b added support for Attribute and Security Manager LE protocols in L2CAP 2012-01-29 17:10:28 +00:00
matthias.ringwald@gmail.com
3e2b91f16f removed obsolete prototype for sdp_test 2012-01-29 17:05:40 +00:00
matthias.ringwald@gmail.com
efcd564040 retry SDP respond on DAEMON_EVENT_HCI_PACKET_SENT, too 2012-01-29 14:37:42 +00:00
matthias.ringwald
7821a5bde5 no use for UIKit in daemon or libBTstack 2012-01-23 21:42:31 +00:00
mila@ringwald.ch
1109056ff2 removed old test code 2012-01-20 22:57:28 +00:00
matthias.ringwald
12900f4689 added read/write num broadcast retransmissions 2012-01-15 21:28:42 +00:00
mila@ringwald.ch
28ca2b4607 add casts for btstack_memory gets, use getter/setter for enumerated flags to allow compilation with C++ 2012-01-05 22:24:51 +00:00
mila@ringwald.ch
bc64ca6239 use extern 'c' 2012-01-05 22:20:05 +00:00
mila@ringwald.ch
a9cf4d774b use scope for case local variables 2012-01-05 22:11:13 +00:00
mila@ringwald.ch
6d91a15897 added prototypes for unit test 2012-01-05 21:09:18 +00:00
mila@ringwald.ch
60e6602f0b handled alloc failure; handled overide of existing record 2011-12-18 21:48:12 +00:00
matthias.ringwald
188981d28a log info own bd addr 2011-11-26 19:43:08 +00:00
mila@ringwald.ch
7777253151 overwrite stored names & link keys if no place remained 2011-11-15 13:37:11 +00:00
mila@ringwald.ch
32046991c1 overwrite stored names & link keys if no place remained 2011-11-15 13:33:13 +00:00
mila@ringwald.ch
31b7540338 overwrite stored names & link keys if no place remained 2011-11-15 13:32:34 +00:00
matthias.ringwald
cafaaa77eb add provisions to log rfcomm credit handling, don't decrease incoming credits on incoming empty frames 2011-11-14 19:22:35 +00:00
matthias.ringwald
8147604132 use L2CAP_SERVICE_ALREADY_REGISTERED 2011-11-09 17:11:01 +00:00
matthias.ringwald
756102d34c avoid l2cap-channel list corruption (detected by alan-thx) 2011-11-09 16:36:59 +00:00
matthias.ringwald
7c5d34e9ec neither use null pointers nor report service already registered to original client 2011-11-09 16:15:03 +00:00
matthias.ringwald
5842b6d925 emit L2CAP_EVENT_SERVICE_REGISTERED event 2011-11-09 16:11:06 +00:00
matthias.ringwald
23357bd3d1 Use correct USB dev_handle at close (name collision). - thanks to alan for debugging this 2011-11-09 15:57:15 +00:00
matthias.ringwald
5a109138a5 add warning fir PRIx32 isn't defined by inttypes.h 2011-11-09 15:52:28 +00:00