1501 Commits

Author SHA1 Message Date
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
matthias.ringwald
ae1fd9f36e use <btstack/..> to make compiliation with separate build system easier 2011-07-12 15:31:06 +00:00
matthias.ringwald
afd3e59175 Edited wiki page MatthiasProjects through web user interface. 2011-07-12 14:53:37 +00:00
matthias.ringwald
3c2c944968 only allow single connection to SDP server 2011-07-08 18:38:36 +00:00
matthias.ringwald
5b9a35f8fb look at plan after a long time 2011-07-08 18:14:29 +00:00
matthias.ringwald
3b395b97b4 updatd state machine 2011-07-08 17:31:09 +00:00
matthias.ringwald
83f196b3d0 fix bug with wrong flags, working again 2011-07-08 17:25:15 +00:00
matthias.ringwald
fa8473a47d collapsed l2cap config states 2011-07-08 16:30:00 +00:00
matthias.ringwald
39bda6d5db moved private stuff into .c 2011-07-08 15:51:20 +00:00
matthias.ringwald
863aed5f44 Edited wiki page iPhoneBluetooth through web user interface. 2011-07-08 13:04:46 +00:00
matthias.ringwald
1eb8b12aa5 tweak diagram 2011-07-08 08:37:51 +00:00
matthias.ringwald
2c0ef19cb0 commented state machine state logging 2011-07-07 23:24:50 +00:00
matthias.ringwald
d19c49a64c fix missing breaks 2011-07-07 23:24:07 +00:00
matthias.ringwald
1ac74e31e6 send DM if requested in send_dm_for_dlci in multiplexer_t 2011-07-07 23:06:51 +00:00
matthias.ringwald
70d1daaf4f schedule RPN RPS in channel struct 2011-07-07 23:01:10 +00:00
matthias.ringwald
968491a962 cleanups 2011-07-07 22:50:58 +00:00
matthias.ringwald
85c3396ff3 extract rfcomm_multiplexer_state_machine 2011-07-07 22:37:17 +00:00
matthias.ringwald
e71fba4de0 set max l2cap size 2011-07-07 21:53:00 +00:00
matthias.ringwald
decc01a8dc fix ACL length for recombined ACL buffers - not used by higher layers 2011-07-07 21:47:47 +00:00
matthias.ringwald
fa8c92f61b limit l2cap mtu to hci_max_acl_data_packet_length minus 4 2011-07-07 21:27:10 +00:00
matthias.ringwald
43bb3ff12c add extra space for ACL header 2011-07-07 21:20:06 +00:00
matthias.ringwald
3949c4da27 fixed many many details. outgoing ok, incoming not yet 2011-07-07 19:31:11 +00:00
matthias.ringwald
beaeca2a78 update rfcomm channel state machine diagram 2011-07-07 16:50:19 +00:00
matthias.ringwald
285f914355 cache next channel pointer to allow channel removal by state machine 2011-07-07 16:42:40 +00:00
matthias.ringwald
9d9a46c4f1 moved can_send code from rfcomm_run into rfcom_channel_state_machine 2011-07-07 16:24:30 +00:00
matthias.ringwald
c29832c565 prepare handling of CH_EVT_READY_TO_SEND in channel state machine 2011-07-07 15:10:29 +00:00
matthias.ringwald
94112bce80 merged dlc setup states into RFCOMM_CHANNEL_DLC_SETUP 2011-07-07 15:07:27 +00:00
matthias.ringwald
1a2e8f0848 prepare for merged DLC_SETUP state 2011-07-06 14:46:29 +00:00