14585 Commits

Author SHA1 Message Date
Matthias Ringwald
6bbe12ba1f renesas-ek-ra6m4a-da14531: fix image link 2023-01-19 15:31:46 +01:00
Matthias Ringwald
c30869498f port for renesas ra6m4a eval kit with DA14531 BLE HCI Controller 2023-01-19 14:50:53 +01:00
Matthias Ringwald
aa51c6faff
Merge pull request #448 from peterharperuk/pan_fix_dhcp_server_interface
Pan fix dhcp server interface
2023-01-18 18:48:07 +01:00
Peter Harper
88cd67309c 3rd-party/lwip/dhserver: interface for dhcp reply
If more than one interface is used, chances are that the last one added
will have changed the default interface used for sending data (see
netif_set_default). This causes problems for the DHCP server in the PAN
example as the DHCP reply is sent on the wrong network. On Windows this
can cause it to use the wrong address.

Send replies to the interface that received the dhcp request.
2023-01-18 16:22:41 +00:00
Peter Harper
abb61bc22a platform/lwip: add getter for netif provided by bnep
BNEP adds an interface to lwip. Add an accessor to allow us to get
access to it.
2023-01-18 15:27:01 +01:00
Matthias Ringwald
052e5e4278 btstack_flash_bank: write empty tag instead of overwriting existing tag with ENABLE_TLV_FLASH_WRITE_ONCE 2023-01-18 14:50:14 +01:00
Matthias Ringwald
5bc527fedb test/flash_tlv: prepare asan test for flash tlv with ENABLE_TLV_FLASH_WRITE_ONCE 2023-01-18 14:25:14 +01:00
Matthias Ringwald
4c4eb51920 lc3-google: switch to official github repo 2023-01-18 10:49:58 +01:00
Peter Harper
398f8a18bc platform/lwip: Fix freertos NO_SYS=0 compile issue
If NO_SYS=0 it uses freertos stuff like xQueueCreate, so needs to
include the headers.
2023-01-17 22:09:18 +01:00
Matthias Ringwald
5e8e3664c9 hfp: drop packet types from hfp_emit_sco_connection_established as it's stored in hfp_connection_t 2023-01-17 18:33:10 +01:00
Matthias Ringwald
d9290e95f9 hfp: track sco packet types in connection 2023-01-17 18:33:10 +01:00
Matthias Ringwald
9071873a77 hci: track outgoing sco connections 2023-01-17 17:57:16 +01:00
Matthias Ringwald
f14c5daf9a hfp: drop redundant bd_addr, sco_handle in hfp_emit_sco_connection_established 2023-01-17 17:40:06 +01:00
Matthias Ringwald
2ef72a1c4c hfp: emit packet lengths in HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED 2023-01-17 17:05:31 +01:00
Matthias Ringwald
24e29f2b5e btstack_defines: add packet length to HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED 2023-01-17 17:05:02 +01:00
Matthias Ringwald
090c81feb6 hfp: emit packet types in HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED 2023-01-17 15:53:28 +01:00
Matthias Ringwald
4e01e80283 hfp: make hfp_link_settings available to all local code 2023-01-17 15:53:28 +01:00
Matthias Ringwald
ec6c272047 btstack_defines: add packet types to HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED 2023-01-17 15:53:28 +01:00
Matthias Ringwald
b8e9d0d516 bluetooth: add sco packet types and sizes 2023-01-17 15:53:27 +01:00
Matthias Ringwald
a02039edea bnep_lwip: return bool in bnep_lwip_outgoing_packets_empty 2023-01-16 14:59:05 +01:00
Matthias Ringwald
5da46df6ab bnep_lwip: use generic btstack_run_loop_execute_on_main_thread 2023-01-16 14:53:18 +01:00
Matthias Ringwald
fb301407de a2dp:emit A2DP_SUBEVENT_STREAM_ESTABLISHED with if connection fails 2023-01-16 12:16:05 +01:00
Matthias Ringwald
f31c3c8178 btstack_crypto: fix warning, warn about missing elliptic key library 2023-01-13 15:44:20 +01:00
Matthias Ringwald
3739bc96e4 bluetooth: indicated identity address in resolved address types 2023-01-13 11:04:22 +01:00
Matthias Ringwald
ff1cb1067d example/pan_lwip_http_server: only init lwip if HAVE_LWIP is not defined 2023-01-12 19:00:07 +01:00
Matthias Ringwald
e7e8d4150b changelog: add gap_set_peer_privacy_mode 2023-01-12 15:23:34 +01:00
Matthias Ringwald
e8ca66c6ce hci: set set privacy mode for resolving list entries 2023-01-12 15:22:27 +01:00
Matthias Ringwald
c3d19a303e hci: add gap_set_peer_privacy_mode 2023-01-12 15:22:27 +01:00
Matthias Ringwald
7115cf4e0a bluetooth: add le_privacy_mode_t 2023-01-12 15:22:27 +01:00
Matthias Ringwald
4cb818d835
Merge pull request #445 from peterharperuk/fix_unaligned_accesses
3rd-party/lwip/dhcp-server: fix unaligned accesses
2023-01-12 10:04:18 +01:00
Peter Harper
e3ba22907f 3rd-party/lwip/dhcp-server: fix unaligned accesses
In the dhcp server, avoid casting a uint8_t* to uint32_t* when using
ip addresses.
2023-01-11 18:51:17 +00:00
Matthias Ringwald
555f545d84 example: fix warnings 2023-01-11 17:04:46 +01:00
Matthias Ringwald
4d0a5c2873 btstack_tlv_none: fix unused warnings 2023-01-11 17:04:26 +01:00
Matthias Ringwald
24c4191d48 sm: use bstack_is_null from btstack_util 2023-01-11 15:41:14 +01:00
Matthias Ringwald
77955af641 btstack_util: add btstack_is_null 2023-01-11 15:38:43 +01:00
Matthias Ringwald
e708f863ff port: allow one MAX_NR_HID_HOST_CONNECTIONS and MAX_NR_HIDS_CLIENTS for HID(S) host demos 2023-01-11 15:17:43 +01:00
Matthias Ringwald
63d302e8cf sm: assert two most significant bits in random static address are set 2023-01-11 15:07:24 +01:00
Matthias Ringwald
3dc3c49609 a2dp_sink_demo: report failed outgoing connection 2023-01-11 11:02:43 +01:00
Milanka Ringwald
40faeb84f8 gatt_client: return ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER for invalid connection handle 2023-01-10 15:59:38 +01:00
Milanka Ringwald
fcd55a0b5a examples: unify status stdout format 2023-01-10 11:32:53 +01:00
Matthias Ringwald
6bcf18c2f9 hci: HCI_ACL_CHUNK_SIZE_ALIGNMENT allows to keep HCI transport writes aligned 2023-01-09 17:16:01 +01:00
Milanka Ringwald
c673a243e8 test/gatt_server/mock: add cmac_ready setter 2023-01-09 15:29:09 +01:00
Milanka Ringwald
6fc08a499b test/att_db: add tests 2023-01-09 15:29:09 +01:00
Milanka Ringwald
407513dbab test/gatt_server: add tests 2023-01-09 15:29:09 +01:00
Matthias Ringwald
7e71cd9074 platform/embedded: fix unused warnnings 2023-01-09 11:18:51 +01:00
Matthias Ringwald
0f0ba16883 hci: avoid setup iso path for failed create cis 2023-01-09 11:18:51 +01:00
Milanka Ringwald
617a25959b test/gatt_client: add tests 2023-01-06 23:19:17 +01:00
Matthias Ringwald
7deeca1c39 test/gatt_client: avoid out-of-range read in test 2023-01-04 17:12:53 +01:00
Milanka Ringwald
a382a4ad6c test/gatt_client: add unit tests 2023-01-04 13:37:31 +01:00
Milanka Ringwald
8404d3b7ce test/gatt_client: add new tests 2023-01-04 00:10:18 +01:00