1582 Commits

Author SHA1 Message Date
matthias.ringwald
db9ab65bf0 add check for minimal hci_acl_payload_size 2011-07-30 15:55:07 +00:00
matthias.ringwald
23f5e709c0 add check for minimal hci_acl_payload_size 2011-07-30 15:53:10 +00:00
matthias.ringwald
c165515e5d removed #errors for optional parts 2011-07-30 15:43:27 +00:00
matthias.ringwald
48fb9fc3d0 use bstack_memory pools 2011-07-29 22:24:34 +00:00
matthias.ringwald
1801b59606 added structs for remote_device_db_memory 2011-07-29 22:24:15 +00:00
matthias.ringwald
dec1a9ba03 added structs for remote_device_db_memory 2011-07-29 22:24:08 +00:00
matthias.ringwald
f25a735f93 added structs for remote_device_db_memory. don't throw error if struct type has no entries defined 2011-07-29 22:23:48 +00:00
matthias.ringwald
3af7c95d47 move structs to header 2011-07-29 22:12:27 +00:00
matthias.ringwald
01a3cd9016 use singular for types 2011-07-29 22:07:11 +00:00
matthias.ringwald
1270ab9cf4 use l2cap buffer for rfcomm - saves one buffer 2011-07-29 21:15:25 +00:00
matthias.ringwald
b1d43497a5 use hci acl packet buffer instead of own 2011-07-29 21:04:41 +00:00
matthias.ringwald
7dc179430c use combined ACL/CMD hci packet buffer, provide access to it to higher layers 2011-07-29 21:04:09 +00:00
matthias.ringwald
7f3162b2e9 cmd packet is really bigger than event packet 2011-07-29 19:46:05 +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
db8946af91 use new next_cmd instead of next_command 2011-07-29 19:43:17 +00:00
matthias.ringwald
e53ed0feb1 forgot commit of updated header 2011-07-29 19:42:33 +00:00
matthias.ringwald
816c0598b2 use single buffer for outgoing l2cap packets 2011-07-28 22:25:15 +00:00
matthias.ringwald
427c70d1f7 mark rfcomm_out_buffer as static 2011-07-28 22:08:11 +00:00
matthias.ringwald
d62aca9f5d provide buffer to next_cmd - avoids extra buffer for embedded systems with init scripts 2011-07-28 22:05:38 +00:00
matthias.ringwald
223aafc1c7 don't support caching of remote device names for EMBEDDED 2011-07-28 21:46:10 +00:00
matthias.ringwald
a8271db878 reserver additional byte after hci_event packet 2011-07-28 21:39:24 +00:00
matthias.ringwald
339b676821 use new bd_addr_to_str 2011-07-27 22:03:34 +00:00
matthias.ringwald
a0a181d097 added bd_addr_to_str (non-reentrant) 2011-07-27 21:45:15 +00:00
matthias.ringwald
5af02935dd use correct size for max l2cap packet used in rfcomm 2011-07-27 20:59:17 +00:00
matthias.ringwald
ea54feb7f2 use correct size for l2cap data and signaling packets 2011-07-27 20:54:50 +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
a7a04bd9eb constrain hci_stack.acl_data_packet_length by HCI_ACL_BUFFER_SIZE 2011-07-27 20:16: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
246f2bad96 add HCI_ACL_BUFFER_SIZE to default config.h 2011-07-26 20:16:28 +00:00
matthias.ringwald
1d93f56091 provide hci_acl_packet_types_for_buffer_size to determine valid packet types 2011-07-26 19:51:27 +00:00
matthias.ringwald
28ee662e3a added all ACL packet sizes 2011-07-26 19:35:30 +00:00
matthias.ringwald
971a59f032 extract con_handle from L2CAP_EVENT_INCOMING_CONNECTION 2011-07-26 14:53:13 +00:00
matthias.ringwald
f13263b945 revert enable DUMP flag 2011-07-25 21:17:33 +00:00
matthias.ringwald
e1d412164f fix compile for EMBEDDED 2011-07-25 21:16:34 +00:00
matthias.ringwald
c785ef68cf enable timers for EMBEDDED 2011-07-25 21:12:09 +00:00
matthias.ringwald
4bb582b6c9 change comments 2011-07-25 20:47:30 +00:00
matthias.ringwald
c843351892 handle malloc error for rfcomm_channel incoming 2011-07-25 20:44:22 +00:00
matthias.ringwald
43495c24f8 handle malloc error of rfcomm_channel for outgoing connection 2011-07-25 20:42:19 +00:00
matthias.ringwald
034e059cb4 handle malloc failure for rfcomm_multiplexer in event handler, malloc multiplexer on incoming connection instead on channel open to be able to decline, use proper result code for l2cap connection response decline 2011-07-25 20:26:14 +00:00
matthias.ringwald
277abc2cc0 at least call log_error if l2cap_register_service_internal fails due to malloc 2011-07-25 19:55:47 +00:00
matthias.ringwald
2b3608483e extracted l2cap_register_signaling_response, respond with connection response and error if PSM not supported or no resources available 2011-07-25 19:51:44 +00:00
matthias.ringwald
ce4c8fab8c handle mem alloc failure on incoming hci connection, reject sco conections 2011-07-25 18:48:56 +00:00
matthias.ringwald
3dbb95f9bd handle mem alloc failure on incoming hci connection, reject sco conections 2011-07-25 18:48:51 +00:00
matthias.ringwald
c0c1ea3d67 added hci_reject_connection_request 2011-07-25 18:48:34 +00:00
matthias.ringwald
17f1ba2aa0 handle mem alloc failure on outgoing hci connection 2011-07-25 18:05:47 +00:00
matthias.ringwald
4baf6801be assume desktop system has malloc() 2011-07-25 18:05:21 +00:00
matthias.ringwald
a9900c844f replace malloc with btstack_memory.h functions 2011-07-24 09:26:36 +00:00
matthias.ringwald
d3a9df8712 replace malloc with static buffers or btstack_memory.h functions 2011-07-24 09:22:31 +00:00
matthias.ringwald
a3b02b7188 btstack_memory.c provides fixed size memory pools for btstack 2011-07-24 08:51:17 +00:00