125 Commits

Author SHA1 Message Date
Matthias Ringwald
bdecf965b4 hal_flash_sector_memory: initialize simulated flash with 0xff 2017-08-14 17:00:03 +02:00
Matthias Ringwald
b0b1b5f7cd btstack_tlv_flash_sector: only erase first bank on start if no active bank found 2017-08-14 16:46:36 +02:00
Matthias Ringwald
346b607c48 hal_uart_dma: fix argument of hal_uart_dma_set_flowcontrol (int instead of uint32) 2017-07-26 22:39:20 +02:00
Matthias Ringwald
f71711bb0a hal_uart_dma: add hal_uart_dma_set_flowcontrol with HAVE_UART_DMA_SET_FLOWCONTROL guard 2017-07-25 19:37:09 +02:00
Matthias Ringwald
4b929998c3 btstack_uart_block: add set_flowcontrol 2017-07-25 17:53:01 +02:00
Matthias Ringwald
3ce3a4ebf3 btstack_uart_block: allow to 'unset' a callback by setting it to NULL. Update code for freertos and embedded to implement this 2017-07-24 11:53:29 +02:00
Matthias Ringwald
38f05a1521 btstack_run_loop: don't call btstack_run_loop_remove_timer from platform implementation 2017-07-05 11:27:44 +02:00
Matthias Ringwald
609709dad2 /btstack_tlv_flash_sector: fix valid tlv storage detection for bank 0 2017-06-06 12:05:03 +02:00
Matthias Ringwald
d9f53676a5 test/flash_tlv: sort link key db using btstack_tlv on top of hal_flash_sector into main folders 2017-06-05 11:52:35 +02:00
Matthias Ringwald
70ba364580 introduce hal_audio_dma for dma-driven audio playback 2017-06-02 11:07:00 +02:00
Matthias Ringwald
b570940d6e btstack_stdin: implement btstack_stdin_embedded.c that relies on new hal_stdin.h to receive console characters 2017-05-27 22:07:37 +02:00
Matthias Ringwald
13c10a34b0 fix wanring 'unreachable statement' 2017-05-18 18:24:18 +02:00
Matthias Ringwald
0489d9babb btstack_uart_block/embedded: document sleep modes 2017-05-04 11:28:36 +02:00
Matthias Ringwald
224203d84a btstack_uart_block/embedded: support sleep 2017-05-02 00:22:41 +02:00
Matthias Ringwald
c3dafd4604 btstack_uart_block: add set_wakeup_handler to allow wake up notifications 2017-05-01 18:13:51 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
851e09fd8a add missing field initializers in hci transport h4 (ehcill) embedded 2017-03-01 10:16:58 +01:00
Matthias Ringwald
e86b2fec6e embedded: handle timers when system_time overruns 2017-01-13 18:00:38 +01:00
Matthias Ringwald
308bc5e02a btstack_uart_block_embedded: remove data source on close 2016-10-12 13:30:00 +02:00
Matthias Ringwald
9788aa5da8 hci_transport: remove data source on close 2016-10-12 13:29:39 +02:00
Matthias Ringwald
8ebb0850cb Merge branch 'develop' 2016-05-02 23:04:58 +02:00
Matthias Ringwald
0f78faa83f Merge branch 'master' into develop 2016-05-02 17:36:41 +02:00
Matthias Ringwald
8aa44d5a9a btstack_uart_embedded: fix typo, working 2016-04-27 22:19:44 +02:00
Matthias Ringwald
f6a20ec99f eHCILL: use ENABLE_EHCILL instead of HAVE_EHCILL plus runtime enable call, updated docs 2016-04-27 15:18:55 +02:00
Matthias Ringwald
af2052448e hci_transport_h4_embedded: fix offset for SCO length byte 2016-04-27 10:50:03 +02:00
Matthias Ringwald
18b8d0cbee btstack_uart_block: add get_supported_sleep_modes() and set_sleep(mode) 2016-04-26 17:29:24 +02:00
Matthias Ringwald
664e8b55a1 hci_transport_h4_embedded: handle SCO packets 2016-04-26 11:44:42 +02:00
Matthias Ringwald
084ad01c1a hci_transport/btstack_uart_block: create btstack_uart_block_embedded on top of hal_uart_dma. Pass in uart driver to H4/H5 instances 2016-04-20 23:18:15 +02:00
Matthias Ringwald
ef2ebed23b fix warnings 2016-04-18 14:49:28 +02:00
Matthias Ringwald
db00faf25b fix warnings 2016-04-18 14:49:05 +02:00
Matthias Ringwald
200f5f4d16 hci_transport: add reset_link function 2016-04-13 18:18:50 +02:00
Matthias Ringwald
aec7654d98 prefix embedded HAVE_ 2016-03-30 11:06:56 +02:00
Matthias Ringwald
d0755cd68c prefix POSIX related HAVE_ defines 2016-03-30 10:59:47 +02:00
Matthias Ringwald
c8db4fb6b1 runloop: fix compile in hci_transport_h4_ehcill_embedded 2016-03-24 22:49:36 +01:00
Matthias Ringwald
b9f33ffe0c runloop: implement data source callbacks for embedded 2016-03-24 22:23:21 +01:00
Matthias Ringwald
0d70dd6280 runloop: pass enable/disable callbacks to run loop impl 2016-03-24 22:19:26 +01:00
Matthias Ringwald
24ced5a6f6 runloop: enable callback for all data sources 2016-03-24 22:12:50 +01:00
Matthias Ringwald
f912b310ca runloop: pass callback type to data source process functions 2016-03-24 20:50:00 +01:00
Matthias Ringwald
7cd5ef9557 runloop: pass callback type to data source process functions 2016-03-24 20:46:20 +01:00
Matthias Ringwald
c4ae7169b8 runloop: replace struct btstack_data_source with btstack_data_source_t 2016-03-24 20:26:16 +01:00
Matthias Ringwald
0f964fb051 runloop: set ds->process via setter 2016-03-24 19:47:23 +01:00
Matthias Ringwald
40403fbfd4 runloop: set ds->process via setter 2016-03-24 19:42:12 +01:00
Matthias Ringwald
390cf48d42 runloop: dont't init data source with static initializer 2016-03-24 19:31:46 +01:00
Matthias Ringwald
5aa8cdff6f h4_embedded: fix compile 2016-03-07 22:06:18 +01:00
Matthias Ringwald
a6efb91912 rewrite sscanf_bd_addr to be sscanf free 2016-03-04 14:21:22 +01:00
Matthias Ringwald
63fa3374ea hci_transport: send HCI_EVENT_TRANSPORT_PACKET_SENT when buffer can be re-used, send HCI_EVENT_SCO_CAN_SEND_NOW if that's separate 2016-02-18 14:48:41 +01:00
Matthias Ringwald
3b1eb0e2e9 Merge branch 'master' into ble-api-cleanup 2016-02-03 11:14:23 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
2a989d8add Merge branch 'master' into ble-api-cleanup 2016-01-28 20:42:00 +01:00
Matthias Ringwald
24b3c62931 hci_transport: cleanup struct, add init(void *transport_config) 2016-01-24 20:10:17 +01:00