261 Commits

Author SHA1 Message Date
Matthias Ringwald
d23838ec66 added callback for Bluetooth hardware error 2015-05-18 21:13:28 +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
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
Milanka Ringwald
3de9530758 updated docu style 2015-04-09 17:09:04 +02:00
Milanka Ringwald
5e6d58c471 annotate start/end API 2015-04-09 14:46:44 +02:00
Matthias Ringwald
bac1ffdb4f add gatt_get_mtu daemon command and GATT_MTU response event 2015-04-03 22:42:05 +02:00
Matthias Ringwald
a80162e9a6 correct setting custom baudrate or bd_addr during init 2015-04-02 16:38:59 +02:00
Matthias Ringwald
e47e68c797 handle CSR Warm Boot 2015-03-31 12:43:57 +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
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
85cacb82ec sm starts encryption using ltk/ediv/rand from previous bonding 2015-03-03 22:17:47 +00:00
matthias.ringwald@gmail.com
9ec080fd8e new states for re-establishing secure connection 2015-03-03 21:38:29 +00:00
matthias.ringwald@gmail.com
c5d3944d90 rename central_device_db into le_device_db 2015-03-02 21:30:12 +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
ebcf06d0dd added missing type for hci_send_acl_packet_buffer 2015-02-28 20:04:26 +00:00
matthias.ringwald@gmail.com
0f6219e51e missing commit for reestablish encrypted connection as peripheral 2015-02-28 19:59:02 +00:00
matthias.ringwald@gmail.com
d19b56e8be use single timer for SM, stop timer on sm_done_for_handle 2015-02-27 14:17:45 +00:00
matthias.ringwald@gmail.com
d213b6f740 added events for HSP 2015-02-27 14:00:32 +00:00
matthias.ringwald@gmail.com
477200f2ef use sm_active_connection as mutex for setup context struct 2015-02-26 21:32:16 +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
95d04d447f move Security Manager sm_connection_t struct into hci.h for integration into hci_connection_t 2015-02-12 14:50:29 +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
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
507d06b870 avoid var sized automatic variable in le_handle_advertisement_report 2015-01-30 09:15:30 +00:00
matthias.ringwald@gmail.com
ec6321ee39 reserve buffer in front of incoming hci_packet buffer for h4 (posix, dma, dma+ehcill) and h2 libusb, and acl recombination buffer 2014-11-06 20:09:57 +00:00
matthias.ringwald@gmail.com
b34233c302 define HCI_INCOMING_PRE_BUFFER_SIZE and reserve space in posix libusb and h4 transport 2014-10-31 21:17:58 +00:00
matthias.ringwald@gmail.com
60da618dda provide additional extra byte before outgoing HCI packet buffer 2014-10-31 16:05:59 +00:00
matthias.ringwald@gmail.com
d2ec4031ba avoid /** comments, clean up block comments 2014-10-16 09:15:23 +00:00
matthias.ringwald@gmail.com
0414dabd12 don't typedef enum for bit flags 2014-10-14 19:33:15 +00:00
mila@ringwald.ch
da886c035d le central handle connection update params 2014-10-10 15:20:54 +00:00
mila@ringwald.ch
6c26b08747 cap le acl buffer size, added hci function 2014-10-09 09:00:27 +00:00
matthias.ringwald@gmail.com
452cf3bbef implemented L2CAP packet framgentation (in hci.c) 2014-10-05 10:30:58 +00:00
matthias.ringwald@gmail.com
3ad83cc639 correct prototypes 2014-09-29 18:13:00 +00:00
matthias.ringwald@gmail.com
c37a3166d2 added gap_update_connection_parameters 2014-09-21 19:43:59 +00:00
matthias.ringwald@gmail.com
fdf1d293a2 added hci_read_rssi command 2014-08-26 17:59:51 +00:00
mila@ringwald.ch
1bd5283d7f emit dedicated bonding complete after HCI connection is closed, fixed issue #412 2014-08-21 13:23:18 +00:00
matthias.ringwald@gmail.com
ee303eddf0 keep track of Classic and LE ACL slots seperately 2014-08-14 14:47:57 +00:00
matthias.ringwald@gmail.com
e79abdd605 replace hci_number_free_acl_slots with hci_number_free_acl_slots_for_handle 2014-08-14 13:06:29 +00:00
matthias.ringwald@gmail.com
ac928cc29a provide new hci_can_send_TYPE_packet_now functions 2014-08-11 20:45:01 +00:00
matthias.ringwald@gmail.com
826f734756 replace hci_send_acl_packet(data,size) with hci_send_acl_packet_buffer(size) to document that ACL packet have to be prepared in the hci packet buffer 2014-07-30 20:46:27 +00:00
matthias.ringwald@gmail.com
5127cc624b track opcode during HCI initialization 2014-07-05 18:30:49 +00:00