552 Commits

Author SHA1 Message Date
Matthias Ringwald
6483160777 libusb: use libusb_set_option(..,LIBUSB_OPTION_LOG_LEVEL,..) instead of libusb_set_debug(..) from libusb 1.0.22+ 2018-06-03 20:58:39 +02:00
Matthias Ringwald
ad2a4692c4 Embedded: support btstack_stdin via SEGGER RTT 2018-04-15 11:38:46 +02:00
Matthias Ringwald
6fc9dda195 le_device_db: add le_device_db_max_count() for index iteration 2018-03-15 16:25:59 +01:00
Matthias Ringwald
d622dcd08a test: fix compile 2018-02-05 18:46:26 +01:00
Matthias Ringwald
c4023def38 wiced: implement link key iterator for btstack_link_key_db_wiced_dct 2018-02-05 18:25:23 +01:00
Matthias Ringwald
d08566fb6e posix: implement link key iterator for btstack_link_key_db_fs 2018-02-05 18:25:10 +01:00
Matthias Ringwald
5b81efe293 windows: repeat UART read/write operation if not all bytes have been read or written 2018-01-04 17:21:25 +01:00
Milanka Ringwald
74c22f758c wav writter: check if wav file exists, prevent access to NULL pointer 2017-12-22 23:50:42 +01:00
Matthias Ringwald
161a556908 em9304: add hci_transport_em9304_spi.c 2017-12-20 23:04:07 +01:00
Matthias Ringwald
5e2dc9e820 em9304: add hal_em9304_spi.h 2017-12-20 23:04:07 +01:00
Matthias Ringwald
c4218671d7 windows-winusb: fix compile without ENABLE_SCO_OVER_HCI 2017-12-18 21:22:20 +01:00
Matthias Ringwald
539b14edca le_device_db_fs, le_device_db_tlv: reset memory for new device 2017-11-21 16:25:50 +01:00
Matthias Ringwald
70c9bf0392 posix: fix compile error in tlv implemenation 2017-11-09 12:32:56 +01:00
Matthias Ringwald
ad1a357b97 wiced: add le_device_db_wiced_dct_get_storage_size 2017-11-08 16:45:11 +01:00
Matthias Ringwald
44c75d2c36 wiced: fix build 2017-11-08 11:25:20 +01:00
Matthias Ringwald
b03afde162 wiced: support for btstack_stdin (HAVE_STDIN) 2017-11-07 22:26:48 +01:00
Matthias Ringwald
84693d68c6 network: fix compile, add btstack_network_get_name 2017-11-07 22:10:15 +01:00
Matthias Ringwald
f7ab42a59a network: extract POSIX network code into btstack_network_posix and use in panu_demo 2017-11-07 19:43:12 +01:00
Matthias Ringwald
4b7565a250 posix: avoid crash when data source is removed and fd set to -1 2017-11-07 12:30:13 +01:00
Matthias Ringwald
a7e4f59be7 hal_flash_bank_memory: don't modify simulated flash data if 0xff is written - needed for alignment >= 8 2017-11-01 10:50:06 +01:00
Matthias Ringwald
372a35564c btstack_tlv_flash_bank: support unaligned value sizes with alignment up to 8 bytes 2017-11-01 10:50:06 +01:00
Matthias Ringwald
e8efffc8d1 btstack_tlv_flash_bank: extract btstack_tlv_flash_bank_read and btstack_tlv_flash_bank_write 2017-11-01 10:50:06 +01:00
Matthias Ringwald
a6f770a0a8 freertos: init btstack_run_loop_task already during run loop init 2017-10-25 15:38:12 +02:00
Matthias Ringwald
297a0e053d freertos: use portYIELD_FROM_ISR without arguments on esp32 and allow to compile of btstack_uart_block_freertos 2017-10-25 15:38:12 +02:00
Matthias Ringwald
f61cf6aae2 btstack_tlv_posix: fix compile 2017-10-23 16:39:58 +02:00
Matthias Ringwald
d1700513b5 btstack_tlv_posix: basic implementation that keeps all entries in RAM but persists new entries to disk 2017-10-23 14:24:19 +02:00
Matthias Ringwald
f7ceae3115 btstack_uart_block_posix: report read/write errors and read/write of zero bytes 2017-10-12 10:30:06 +02:00
Matthias Ringwald
cea17109eb embedded: replace hci_transport_h4_ehcill_embedded.c with hci_transport_h4.c and btstack_uart_block_embedded.c and remove platform-specific H4 implementation 2017-09-19 14:55:00 +02:00
Matthias Ringwald
8644aff041 libusb: use timeout for hci transfer cancel 2017-08-18 16:30:06 +02:00
Matthias Ringwald
42a4782619 libusb: only cancel valid transfer 2017-08-18 15:58:35 +02:00
Matthias Ringwald
17ae5bc4f4 FLASH HAL: use 'bank' instead of 'sector' 2017-08-16 15:58:03 +02:00
Matthias Ringwald
c7f4b25f7a btstack_tlv: return 0 on ok for store_tag 2017-08-16 14:59:53 +02:00
Matthias Ringwald
8aecaa9f0f btstack_tlv_flash_sector: trigger migration if Flash is not erased after last found tag 2017-08-16 14:53:22 +02:00
Matthias Ringwald
5067757fa8 hal_flash_sector: remove unused define 2017-08-16 14:23:33 +02:00
Matthias Ringwald
99a525903c btstack_tlv_flash_sector: return first tag found 2017-08-16 14:23:04 +02:00
Matthias Ringwald
e0e6f655f7 btstack_tlv_flash_sector: veriy write offset is within flash bank 2017-08-15 14:29:44 +02:00
Matthias Ringwald
944b9f78ad btstack_tlv_flash_sector: delete old value of newest entry if it exists on start - handles reset after writing entry but before old entry was deleted 2017-08-15 11:40:14 +02:00
Matthias Ringwald
14f9effccb btstack_tlv_flash_sector: assert hal_flash_sector->get_alignment is satisfied 2017-08-15 11:29:50 +02:00
Matthias Ringwald
cc480b8fa8 hal_flash_sector.h: add get_alignment() to get Flash read/write alignment requirements 2017-08-15 11:15:12 +02:00
Matthias Ringwald
f5f08c7570 btstack_tlv_flash_sector: simplify migrate by assuming entries are mostly unique 2017-08-14 17:50:59 +02:00
Matthias Ringwald
4f924c8f35 btstack_tlv_flash_sector: erase existing tag after writing new value 2017-08-14 17:38:39 +02:00
Matthias Ringwald
4a0a7b450d btstack_tlv_flash_sector: implement delete by overwriting tag with zero tag 2017-08-14 17:34:48 +02:00
Matthias Ringwald
884aa5c407 hal_flash_sector_memory.c: allow to overwrite flash with 0x00 2017-08-14 17:27:32 +02:00
Matthias Ringwald
d961a09078 btstack_tlv_flash_sector: only erase bank if not empty 2017-08-14 17:06:20 +02:00
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
ecf76c8d4f windows-winusb: prefix isochronous functions and types with BTstack/BTSTACK to avoid name collisions, support device whitelist 2017-08-07 14:39:35 +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
6b7504f2db windows: fix compile 2017-07-26 16:11:57 +02:00
Matthias Ringwald
6ae5f6886d windows: support set_flowcontrol 2017-07-25 21:29:11 +02:00