1328 Commits

Author SHA1 Message Date
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
matthias.ringwald
6e6710eb6c forward DAEMON_EVENT_HCI_PACKET_SENT to all clients 2011-07-16 15:19:19 +00:00
matthias.ringwald
81dd009949 emit DAEMON_EVENT_HCI_PACKET_SENT on tx done 2011-07-16 15:18:31 +00:00
matthias.ringwald
907dc1a993 fix debug output 2011-07-16 14:23:58 +00:00
matthias.ringwald
d829339565 map internal events to 0x50 as noted in hci_cmds.h 2011-07-16 13:57:29 +00:00
matthias.ringwald
de39232921 also log state var 2011-07-16 12:24:31 +00:00
matthias.ringwald
6929d1c0d1 fix signature 2011-07-16 12:22:29 +00:00
matthias.ringwald
e518c4b890 don't use non-const for array size - fixes IAR compilation 2011-07-16 09:47:52 +00:00
matthias.ringwald
425d1371ad don't use non-const for array size - fixes IAR compilation 2011-07-16 09:44:07 +00:00
matthias.ringwald
63c51ba102 add channel opened message 2011-07-15 20:50:14 +00:00
matthias.ringwald
966bb17c05 check for channel open also for MSC_RSP 2011-07-15 20:42:57 +00:00
matthias.ringwald
fe8c8cc295 don't send hci_delete_stored_link_key without checking for can send 2011-07-15 19:48:07 +00:00
matthias.ringwald
2a544672af update state before sending packet 2011-07-14 15:42:13 +00:00
matthias.ringwald
aa3a388457 use MARK: instead of pragma mark 2011-07-14 15:40:49 +00:00
matthias.ringwald
a8a2dedc0b use uint32_t for time in ms 2011-07-14 12:09:53 +00:00
matthias.ringwald
53b86778bb added commented debug helpers 2011-07-13 15:49:24 +00:00
matthias.ringwald
2b12a0b920 check can_send_packet_now if function implemented ; avoid warning for unsused function 2011-07-12 20:14:42 +00:00
matthias.ringwald
ffdd5cca9e implemented h4_can_send_packet_now for h4 dma transport 2011-07-12 20:10:47 +00:00
matthias.ringwald
912a5b0c23 added can_send_packet_now to HCI transport interface 2011-07-12 20:09:07 +00:00
matthias.ringwald
aae24819b1 rewrite h4 send to assume asynchronous(aka IRQ)/non-blccking write of hal_uart_dma 2011-07-12 19:34:52 +00:00
matthias.ringwald
adccaefc69 add hal_uart_dma_set_block_sent handler 2011-07-12 19:33:34 +00:00
matthias.ringwald
113c38a3f8 use // MARK: instead of #pragma mark 2011-07-12 15:41:12 +00:00
matthias.ringwald
a595331e03 fix typo 2011-07-12 15:39:46 +00:00
matthias.ringwald
5caae01d5e avoid warning 2011-07-12 15:38:49 +00:00