- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using the EZ-Serial Host API Protocol Library with the CYBT-343026-01.
App: 1.2.29 build 29
Stack: 5.2.0 build 22
Protocol: 1.3
HW: CYBT-343026-01
I have a few modules that I re-flashed with EZ-Serial binary.
My procedure is to use ModusToolbox and flash the module with the Firmware_Upgrade_via_HCI application via the HCI UART. Then I use ClientControl to flash the module with the EZ-Serial Binary via the HCI UART.
The issue is, after I do this, all the modules have the same Bluetooth Device Address (MAC). I believe this is because the Firmware_Upgrade_via_HCI application has this line in the makefile.
BT_DEVICE_ADDRESS?=default
Per the documentation, this will set a BDA for your device by combining the 7 hex digit device ID with the last 5 hex digits of the host PC MAC address.
My question is, how do I prevent this. I want each module to have a unique MAC, preferably the MAC they had before I reflashed EZ-Serial.
Thank you,
-Rocko
- Labels:
-
ModusToolbox Bluetooth SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RoMc_863046 ,
Did you try setting the device address from the Ez serial fw using the Set Device Address command after flashing the FW?
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @BragadeeshV,
Yes, I am able to change the device address from the EZ-Serial Firmware using the Set Device Address command after flashing the FW.
Is this how Infineon assigns a unique MAC to each module? They do so after flashing EZ-Serial?
Is there a way to prevent the flashing process from overwriting the factory MAC?
Thank you,
-Rocko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RoMc_863046 ,
Ideally, each module should have it s own MAC address when flashed with the ez serial fw. Can you try setting the address as random in the makefile and test this?
Bragadeesh