Search found 2 matches

by hzwq0001
Mon Feb 27, 2023 9:01 am
Forum: ESP-IDF 中文讨论版
Topic: esp32s3作为主设备连接问题
Replies: 0
Views: 556

esp32s3作为主设备连接问题

你好,

我正在使用esp32s3作为主设备连接BLE子设备的工作,连接中要求使用本地蓝牙地址类型为 BLE_ADDR_TYPE_PUBLIC。参考例程是gatt_security_client。

扫描参数 own_addr_type 是 BLE_ADDR_TYPE_PUBLIC 类型,但是我发现只有在使用了 nvs_flash_init 清空 nvs 后才能在连接过程中保持 CONNECT_ID 事件的header 中Tx Address字段为 Public。

请帮我指出固定连接事件CONNECT_ID 中Tx Address 为Public的方法,非常感谢!
by hzwq0001
Mon Feb 27, 2023 8:55 am
Forum: General Discussion
Topic: Gatt client BLE connection
Replies: 0
Views: 540

Gatt client BLE connection

Hi, I am using esp32s3 as the master device to connect to BLE subdevices, and the connection requires the local Bluetooth address type BLE_ADDR_TYPE_PUBLIC. The own_addr_type I use during the scan is BLE_ADDR_TYPE_PUBLIC type, However, I found that the only way to keep the Tx Address field in the CO...