-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I change the BT MAC address via esp-hosted-fg?I was used linux driver. #501
Comments
Hello @244219195 , yes this needs to be added. Plan would be to make wifi_set_mac deprecated and add up additional mode (diff name then with uint32) for Bluetooth with newer api, set_mac() We will add this support and let you know. However, It might take some time. For your case, you can just make small changes and re-use this API at higher layer, with hacks to handle bluetooth case, at both esp and host side code. |
Can you provide some examples? |
Slave side hackGetesp-hosted/esp_hosted_fg/esp/esp_driver/network_adapter/main/slave_control.c Lines 303 to 316 in 250e292
Setesp-hosted/esp_hosted_fg/esp/esp_driver/network_adapter/main/slave_control.c Lines 1517 to 1537 in 250e292
Host side hackGetAdd test_get_bt_mac_addr() similar to esp-hosted/esp_hosted_fg/host/linux/host_control/c_support/test_utils.c Lines 697 to 701 in 250e292
Set
|
Above are not exactly the solution, but the code places to hack, to easily get your work done for now. |
Thanks,mantriyogesh. |
Checklist
Issue or Suggestion Description
I want to add device node in linux .and then .,i can set this node value to set BT mac for ESP32 -C3 .if have other way to set the BT MAC address.Please tell me .Actually, my idea is to be able to set the Bluetooth address through Linux instead of using the default address.however ,my linux kernel is low ,it can"t support python.
The text was updated successfully, but these errors were encountered: