54 Commits

Author SHA1 Message Date
matthias.ringwald
98fea381a9 fix no newline at end of file 2011-11-09 15:31:58 +00:00
matthias.ringwald
14c530a3a2 use 'config.h' instead of '../config.h' to make standalone builds easier 2011-09-25 14:50:39 +00:00
matthias.ringwald
488ced2711 generalize iOS enforce wake approach 2011-08-28 19:10:54 +00:00
matthias.ringwald
c120f476eb remove hci reader thread, hasn't been used so far 2011-08-28 13:00:56 +00:00
matthias.ringwald
0ff3056bc7 add advanced power management for iOS by Jens David (and bump version) 2011-08-04 21:25:43 +00:00
matthias.ringwald
642d7e9741 use new HCI_EVENT_HEADER_SIZE and HCI_ACL_HEADER_SIZE defines 2011-08-01 10:42:46 +00:00
matthias.ringwald
36a5e73594 streamline buffer size definitions throughtout the stack, use single HCI_PACKET_BUFFER_SIZE 2011-07-29 19:44:19 +00:00
matthias.ringwald
a8271db878 reserver additional byte after hci_event packet 2011-07-28 21:39:24 +00:00
matthias.ringwald
5ed75bc612 use correct size for HCI receive buffer 2011-07-27 20:43:55 +00:00
matthias.ringwald
28c93cee3e constrain hci_stack.acl_data_packet_length by HCI_ACL_BUFFER_SIZE 2011-07-27 20:42:17 +00:00
matthias.ringwald
8f8108aabc replaced HCI_ACL_3DH5_SIZE with HCI_ACL_BUFFER_SIZE, add packet_types to hci_stack, set packet_types based on HCI_ACL_BUFFER_SIZE and Bluetooth module ACL buffer size, specify usable packet_types when creating connections 2011-07-26 21:18:45 +00:00
matthias.ringwald
7d67539f26 renamed log_err into log_error 2011-07-22 18:34:18 +00:00
matthias.ringwald
912a5b0c23 added can_send_packet_now to HCI transport interface 2011-07-12 20:09:07 +00:00
matthias.ringwald
549e6ebe45 more compiler warning fixes 2011-06-06 14:34:29 +00:00
matthias.ringwald
40d1c7a481 more -Wstrict-prototypes fixes 2011-06-06 14:12:38 +00:00
matthias.ringwald
343c015d0b update to use baudrate_init 2011-06-05 09:56:19 +00:00
matthias.ringwald
8f2b8ff8ce fix compiler warnings 2011-05-27 20:49:02 +00:00
matthias.ringwald
9cfcc54d6f replaced printf and fprintf(\stderr with log_dbg and log_err 2011-05-05 18:45:28 +00:00
matthias.ringwald
3c4d4b9093 support for prefsbundle, bug fixes, other stuff 2011-04-30 20:11:20 +00:00
matthias.ringwald
87afd6f135 check return of read 2011-03-19 18:33:52 +00:00
matthias.ringwald
7382b6a1c5 group better 2011-01-09 22:20:21 +00:00
matthias.ringwald
2d11387104 also check write() error on packet type 2010-09-09 17:44:36 +00:00
matthias.ringwald
2c4a8e6a17 put h4_reader_process into USE_HCI_READER_THREAD part 2010-08-20 18:55:25 +00:00
matthias.ringwald
0c806b9a9e implemented HCI reader thread to handle fd where select doesn't work - work in progress 2010-08-19 22:54:20 +00:00
matthias.ringwald
b90ae666ea don't return error when write fails, just wait and try again - kudos to Eric for pointing out this flaw 2010-08-16 17:26:46 +00:00
matthias.ringwald
622d0de9a0 streamline hci_transport interface: only have single send_packet(type,data,size) 2010-08-16 17:23:22 +00:00
matthias.ringwald
11c41d51ae use buffers of size 1021 to fit 3-DH5 ACL packets, check buffer for SDP responses 2010-07-25 12:28:23 +00:00
matthias.ringwald
10e830c982 use single packet handler per protocol layer: hci_transport 2010-07-18 16:14:55 +00:00
matthias.ringwald
c6448b6742 inlined hci_transport_h4.h 2010-06-04 18:09:01 +00:00
matthias.ringwald
2277459341 test code to simulate remote name with invalid UTF-8 name 2010-05-28 21:34:12 +00:00
matthias.ringwald
21113242b1 fix compile for posix platforms 2010-01-09 21:27:47 +00:00
matthias.ringwald
76ca99b0d3 ignore invalid packet type identifier 2010-01-09 00:40:01 +00:00
matthias.ringwald
1713bcea3a prepend all source files with 'new BSD' copyright header 2009-10-29 20:25:42 +00:00
matthias.ringwald
942671929b use stderr for errors, stdout for log 2009-09-22 20:03:48 +00:00
matthias.ringwald
7b22b9bc7d removed ready paramter from data_source callbacks, added timer management functions to run loop 2009-08-09 13:00:09 +00:00
matthias.ringwald
855ca3c659 remove hci h4 transport data_source from run_loop before free 2009-07-12 19:42:27 +00:00
matthias.ringwald
b2ae9e32ee fix bugs introduced yesterday 2009-07-12 15:33:07 +00:00
matthias.ringwald
9bf70ccba9 achitectural change: hci_transport implementations must add itself to the run loop 2009-07-09 18:49:43 +00:00
matthias.ringwald
efbae73623 removed HCI debug printfs 2009-06-08 21:27:23 +00:00
matthias.ringwald
7596e361ff implemented run_loop compatible socket_server 2009-06-06 21:10:20 +00:00
matthias.ringwald
bb96ef8cd9 adapt hci_transport_t to directly sub-class data_source_t 2009-06-06 19:52:36 +00:00
matthias.ringwald
d965992270 iPhone BT power cycling working\! 2009-06-04 20:30:03 +00:00
matthias.ringwald
c095e79e4d actually close serial port on transport->close 2009-06-03 21:33:31 +00:00
matthias.ringwald
8b658ebcf8 cleaned up hci_dump integration, added support for Apple's PacketLogger, also store local timestamp 2009-05-27 20:22:19 +00:00
matthias.ringwald
7966267251 add simple hci logger compatible to BlueZ's hcidump 2009-05-26 22:50:30 +00:00
matthias.ringwald
f109cc1b60 prepare for higher baudrates 2009-05-25 21:06:00 +00:00
matthias.ringwald
97addcc576 implement iPhone control using BlueTool 2009-05-19 21:49:12 +00:00
matthias.ringwald
22909952ea move hci event handling into hci.c 2009-05-17 20:51:48 +00:00
matthias.ringwald
ea6387df26 implement acl parser state machine, use READ_BT_{16,24,32} macros 2009-05-10 20:23:56 +00:00
matthias.ringwald
554588a5c7 cleanups 2009-05-09 17:45:45 +00:00