1501 Commits

Author SHA1 Message Date
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
matthias.ringwald
7d3b3569b0 avoid 'enumerated type mixed with another type warnings' by IAR 2011-07-22 10:09:45 +00:00
matthias.ringwald
27571f8777 use kCFCoreFoundationVersionNumber to check for OS >= 4.0 2011-07-21 20:55:27 +00:00
matthias.ringwald
fecfcda433 emit channel closed on reception of DISC #x 2011-07-20 20:54:22 +00:00
matthias.ringwald
3a58bfdbf6 still trying to get BT_RFCOMM_RPN_RSP right 2011-07-20 20:30:57 +00:00
matthias.ringwald
16acce23c6 comment state updates for now 2011-07-20 20:25:28 +00:00
matthias.ringwald
d312026eff update state before sending packet (avoid getting called when new l2cap credit gets emitted 2011-07-20 17:22:28 +00:00
matthias.ringwald
659e901eff improve C/R bit documentation, fix flipped C/R bit in rfcomm_send_uih_msc_rsp 2011-07-20 15:20:06 +00:00
matthias.ringwald
26f81d5129 fix response to RPN commands 2011-07-20 14:55:27 +00:00
matthias.ringwald
39de7faaf3 respond to MSC CMD in OPEN state, too 2011-07-19 14:59:07 +00:00
matthias.ringwald
828325e337 add commented debug code 2011-07-16 21:02:20 +00:00
matthias.ringwald
467c96f149 fix inner loop 2011-07-16 19:40:56 +00:00
matthias.ringwald
774318ef56 do rfcomm_run on DAEMON_EVENT_HCI_PACKET_SENT 2011-07-16 15:19:37 +00:00