1563 Commits

Author SHA1 Message Date
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
matthias.ringwald
b30da82314 code generator for fixed size memory pool allocation 2011-07-24 08:49:48 +00:00
matthias.ringwald
73cf2b3d2a moved l2cap_channel_t, l2cap_service_t, rfcomm_multiplexer_t, rfcomm_channel_t, rfcomm_service_t to header files 2011-07-24 08:49:09 +00:00
matthias.ringwald
9574ad1db1 re-use memory_pool_free to build initial list 2011-07-23 18:16:14 +00:00
matthias.ringwald
df2b172626 basic memory pool implementation 2011-07-23 14:33:33 +00:00
matthias.ringwald
124062bc8d add hci cmd buffer to hci_stack_t struct - avoid malloc for static memory 2011-07-22 19:12:34 +00:00
matthias.ringwald
fb0ca34a15 enable/disable log_debug, log_info, and log_error indivdually 2011-07-22 18:40:56 +00:00
matthias.ringwald
112ed73c09 missing include debug.h 2011-07-22 18:40:11 +00:00
matthias.ringwald
eedeffe3d7 define ENABLE_LOG_INFO and ENABLE_LOG_ERROR 2011-07-22 18:34:51 +00:00
matthias.ringwald
7d67539f26 renamed log_err into log_error 2011-07-22 18:34:18 +00:00
matthias.ringwald
7b5fbe1fe3 replace all log_dbg with log_info 2011-07-22 18:31:02 +00:00
matthias.ringwald
226b4bd38c log_err goes to stdout now 2011-07-22 18:28:58 +00:00
matthias.ringwald
f28924cf96 use log_err instead of fprintf 2011-07-22 18:26:11 +00:00
matthias.ringwald
d2762b7d44 introduce log_info 2011-07-22 18:24:52 +00:00
matthias.ringwald
605038b802 revert back, PRIx32 doesn't work with old mspgcc4 2011-07-22 11:44:01 +00:00
matthias.ringwald
f49519fb8e use PRIx32 from C99 inttypes.h 2011-07-22 11:34:49 +00:00
matthias.ringwald
4f98e15dd8 remove const from run_loop objects - until I learn how to use it properly 2011-07-22 10:30:32 +00:00
matthias.ringwald
9cfae47295 fix warnings for unused variables 2011-07-22 10:22:40 +00:00
matthias.ringwald
791cd8c878 cast hci_con_handle to uint16_t before using in printf as int 2011-07-22 10:18:22 +00:00
matthias.ringwald
2d00edd4aa don't declare variables in switch cases 2011-07-22 10:14:38 +00:00