365 Commits

Author SHA1 Message Date
Matthias Ringwald
a0cf2f3fb8 don't retry sending reset on iOS after init with BlueTool 2015-07-02 21:41:16 +02:00
Milanka Ringwald
f1344d4a1c add missing declarations 2015-07-02 10:45:15 +02:00
Matthias Ringwald
cfc59f1b60 trigger hci_run on gap le advertisement commands 2015-06-12 21:51:56 +02:00
Matthias Ringwald
9a2e4658f8 re-enable advertisements after disconnect 2015-06-12 20:08:52 +02:00
Matthias Ringwald
45c102fdda add helper hci_le_advertisements_set_params function to avoid call to sm from hci, gap ddvertisement control complete 2015-06-12 19:28:46 +02:00
Matthias Ringwald
171293d35a track advertisements enable 2015-06-11 22:26:31 +02:00
Matthias Ringwald
a828a7565a skip read buffer size and write le host supported if they are not implemented, e.g. on EM9301 2015-06-10 23:02:49 +02:00
Matthias Ringwald
d23838ec66 added callback for Bluetooth hardware error 2015-05-18 21:13:28 +02:00
Matthias Ringwald
2b65942fc7 add missing format specifier 2015-05-14 12:54:16 +02:00
Matthias Ringwald
71de195ed3 fix c99 warnings for missing argument of functions with no arguments, fix more warnings 2015-05-13 10:30:46 +02:00
Matthias Ringwald
8d29070e3b Send hci reset after setting bd addr on stlc2500d 2015-05-08 22:19:45 +02:00
Matthias Ringwald
2f48d9200b schedule bd addr change before baud change 2015-05-08 21:58:00 +02:00
Sean Wilson
6da48142ef Fix C99 warnings. 2015-04-28 10:31:53 -04:00
Matthias Ringwald
4696bddb90 support baudrate change on STM STLC2500D chipset 2015-04-17 16:08:51 +02:00
Matthias Ringwald
76fcb19bdb call hci_read_local_version_information after hci reset 2015-04-16 15:38:53 +02:00
Matthias Ringwald
1ebf5f9c83 use last google code svn commit in BTSTACK_EVENT_VERSION 2015-04-11 22:26:35 +02:00
Matthias Ringwald
db8bc6ff3e correct check for baud rate change during hci init 2015-04-10 10:10:41 +02:00
Matthias Ringwald
c0c9aacc37 simplify HCI_INIT_W4_SEND_BAUD_CHANGE, too 2015-04-02 17:45:49 +02:00
Matthias Ringwald
a80162e9a6 correct setting custom baudrate or bd_addr during init 2015-04-02 16:38:59 +02:00
Matthias Ringwald
0d3b00a243 fix init for EM9301 module 2015-03-31 21:47:59 +02:00
Matthias Ringwald
e47e68c797 handle CSR Warm Boot 2015-03-31 12:43:57 +02:00
Matthias Ringwald
7b0d76671f restore num_packets for resend of HCI Reset 2015-03-30 22:26:50 +02:00
Matthias Ringwald
0305bdeab4 resend HCI Reset using timer 2015-03-30 21:38:56 +02:00
Matthias Ringwald
74b323a9b2 rewrote hci initialization to be less clever/more sane 2015-03-30 00:04:53 +02:00
Matthias Ringwald
c4633093a7 removed even/odd calculation on hci init substate 2015-03-29 23:01:27 +02:00
Matthias Ringwald
55975f88a1 use hci_initializing_next_state() instead of direct ++ 2015-03-29 22:58:02 +02:00
Matthias Ringwald
5c3637275c use enumerated hci initialization substates 2015-03-29 22:48:51 +02:00
Matthias Ringwald
556d11b334 enumerate hci initialization substates 2015-03-29 22:24:55 +02:00
matthias.ringwald@gmail.com
690bd0bab8 change hci_local_bd_adr 2015-03-24 08:44:48 +00:00
matthias.ringwald@gmail.com
2e77e513be Stop using pointer to array for bd_addr_t and link_key_t 2015-03-01 20:51:08 +00:00
matthias.ringwald@gmail.com
5293c07213 send accept synchroous connection for SCO connections 2015-02-19 23:14:18 +00:00
matthias.ringwald@gmail.com
1a06f66378 correct setup of hci_connetion for sco connection 2015-02-18 21:09:36 +00:00
matthias.ringwald@gmail.com
e35edcc121 accept connection request for SCO connections, create hci_connection_t for sco, count outgoing packets and free slots, handle num packets completed 2015-02-17 22:47:38 +00:00
matthias.ringwald@gmail.com
44d0e3d556 prepare SCO sending 2015-02-16 22:01:40 +00:00
matthias.ringwald@gmail.com
a8b124471d store num and size of SCO packets 2015-02-16 21:07:50 +00:00
matthias.ringwald@gmail.com
a0aac9c4f8 fix regression in le_handle_advertisement_report II 2015-02-16 20:40:07 +00:00
matthias.ringwald@gmail.com
03fbe9c621 fix regression in le_handle_advertisement_report 2015-02-16 20:38:10 +00:00
matthias.ringwald@gmail.com
c91d150bff add (dummy) sco_handler 2015-02-13 21:58:29 +00:00
matthias.ringwald@gmail.com
bc01039d26 don't log baud rate change or set bd addr twice, fix wait from set bd addr complete event 2015-02-10 22:55:57 +00:00
matthias.ringwald@gmail.com
f456b2d087 send vendor specific command to set bd addr if both set and provided via bt_control_t 2015-02-10 22:16:51 +00:00
matthias.ringwald@gmail.com
a4f30ec095 fix code to set connectio state to RECEIVED_DISCONNECTION_COMPLETE 2015-02-10 18:39:00 +00:00
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
matthias.ringwald@gmail.com
bdbf1a1bb9 removed deprecated hci functions 2015-02-05 15:47:25 +00:00
matthias.ringwald@gmail.com
ccda6e14d0 avoid sending acl packets for connections where HCI_EVENT_DISCONNECTION_COMPLETE has been received 2015-02-05 15:43:01 +00:00
matthias.ringwald@gmail.com
4fa24b5f10 emit warning for DAEMON_EVENT_HCI_PACKET_SENT from a synchronous HCI Transport implementation 2015-02-05 14:40:16 +00:00
matthias.ringwald@gmail.com
507d06b870 avoid var sized automatic variable in le_handle_advertisement_report 2015-01-30 09:15:30 +00:00
matthias.ringwald@gmail.com
a5a23fc274 with ACL fragmentation working, usable ACL packet types depend on Host ACL buffer size and Controller features 2015-01-02 18:06:01 +00:00
matthias.ringwald@gmail.com
25bf58726a disable attempt to encrypt connection to raise security level as it's not working 2014-12-09 23:34:29 +00:00
mila@ringwald.ch
6e2e9a6bab fix crash on connection failure 2014-12-01 22:52:32 +00:00
matthias.ringwald@gmail.com
23a77e1a6f drop old fragments if new first fragment is received 2014-11-20 15:44:57 +00:00