73 Commits

Author SHA1 Message Date
Matthias Ringwald
f04a0c3191 fix warnings for using %u with int vars 2016-10-09 21:59:50 +02:00
Matthias Ringwald
9ecd1ba8ab ehcill: fix bug when send packet was called between receive sleep ind and send of sleep ack 2016-07-14 11:28:08 +02:00
Matthias Ringwald
019a10b5a3 hci_transport_h4: remove commented code about triggering run loop 2016-04-27 15:20:27 +02:00
Matthias Ringwald
f6a20ec99f eHCILL: use ENABLE_EHCILL instead of HAVE_EHCILL plus runtime enable call, updated docs 2016-04-27 15:18:55 +02:00
Matthias Ringwald
8a23fc5312 hci_transport_h4: eHCILL working on POSIX 2016-04-27 15:05:57 +02:00
Matthias Ringwald
82d05f164d hci_transport_h4: fix compile 2016-04-27 11:51:01 +02:00
Matthias Ringwald
307a4fe366 h4: add parts of eHCILL (not tested/working) 2016-04-27 10:47:25 +02:00
Matthias Ringwald
bd021c4e5b h4/h5: move platform independent implementations into core 2016-04-22 16:23:23 +02:00
matthias.ringwald@gmail.com
5754b9390d extra POSIX code and Makefile into platforms/posix/src 2014-09-04 19:24:00 +00:00
mila@ringwald.ch
9da54300b6 use log_info instead of printf, remove trailing newline from log calls 2014-08-15 21:26:50 +00:00
matthias.ringwald@gmail.com
a827874ef0 use cfmakeraw to also remove ICRNL flag that would translate 0x0d to 0x0a on input 2014-07-29 22:07:11 +00:00
matthias.ringwald
933d47a624 remove unused variable 2014-07-29 15:06:35 +00:00
matthias.ringwald@gmail.com
198279761c try to bring Blutooth module into defined state by sending HCI RESET twice 2014-07-06 20:26:03 +00:00
matthias.ringwald@gmail.com
1ebc0173d4 use cfsetospeed and cfsetispeed instead of cfsetspeed 2014-04-24 13:22:05 +00:00
matthias.ringwald@gmail.com
bde315ce6c renamed btstack config.h to btstack-config.h to allow for better integration with other projects 2014-01-19 16:45:57 +00:00
matthias.ringwald@gmail.com
b0694ed988 use explicit cast for mallocs 2013-04-29 22:05:35 +00:00
matthias.ringwald@gmail.com
142538a136 use non-block for usb2art adapter 2012-10-09 10:13:19 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00
matthias.ringwald
8be0a47943 removed wake handling from POSIX H4 transport impl 2012-02-13 21:49:06 +00:00
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