- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm working on an application with WICED Wi-Fi SDK 3.3.1, that requires both Wi-Fi and BLE Server. Furthermore, I need to set a different Bluetooth MAC address for all the products. I noticed there is a way to do it in WICED Smart SDK, but I didn't find any equivalent in the Wi-Fi SDK.
Is there any way to change the Bluetooth MAC address, for example at the flash time as it's done in WICED Smart ?
Thanks for your support !
SDK version : WICED 3.3.1
Microcontroller : STM32F415
Wi-Fi/BT chip : Murata Type 1BW (based on BCM43341)
Solved! Go to Solution.
- Tags:
- change bluetooth mac address
- changing bd_addr
- changing mac address
- teaser
- wiced wifi 3.3.1
- wifi and bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are checking to see if Murata can help with this inquiry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/**
* Function wiced_bt_set_local_bdaddr
*
* Set Local Bluetooth Device Address
*
* @param[in] bd_addr : device address to use
*
* @return void
*
*/
void wiced_bt_set_local_bdaddr( wiced_bt_device_address_t bd_addr );
This API seems to do this job.
But I see a problem that my device (as central role) fails to pair with remote peripherals if this API is called before pairing (no problem pairing if this API is not called). The fail reason got from BTM_PAIRING_COMPLETE_EVT event is SMP_CONFIRM_VALUE_ERR.
Maybe BCM people can have some more comments?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer, it seems to be what I am looking for. Unfortunately, it is not present in WICED 3.3.1 SDK.
It looks like I'm gonna need to update ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can Broadcom also help with my problem about "pairing failure after BLE MAC changed" ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have implemented this feature , it should be included in our next SDK release to change BT mac address through dct file.
xavier@candyhouse have you tried this using SDK 3.5.2 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for late reply vik86
Yes I tried this with SDK 3.5.2.
For WICED BLE peripheral device this API changes BLE MAC address perfectly.
But for WICED BLE central device calling this API before-hand seems to cause BLE pairing action to fail.
(same as my first comment in this thread : )
"But I see a problem that my device (as central role) fails to pair with remote peripherals if this API is called before pairing (no problem pairing if this API is not called). The fail reason got from BTM_PAIRING_COMPLETE_EVT event is SMP_CONFIRM_VALUE_ERR."
Do you mean SDK 3.5.2 when you said "it should be included in our next SDK release" ? Or newer version ? How can I get it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has anyone found a solution to this problem yet?
-Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
jakewtorres is working with the team and looking into a solution and will update both this thread and the other you created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, I found out that this is a bug that will be resolved in the next release of the WICED SDK, 3.6.3
This SDK is due to be released shortly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any approximate date/week for the next release?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You could simple use the WiFi MAC ADDR + 1 for your BT MAC address.
WICED_BLUETOOTH_DEVICE_ADDRESS = DCT_GENERATED_MAC_ADDRESS + 1;
or
.bt_config.bluetooth_device_address = DCT_GENERATED_MAC_ADDRESS + 1,
BR,
Seyhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mwf_mmfae wrote:
Unfortunately, I found out that this is a bug that will be resolved in the next release of the WICED SDK, 3.6.3
This SDK is due to be released shortly.
Do you mean it should work in SDK-3.7.0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. According to the developers, SDK 3.7.0 should include this fix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mwf_mmfae wrote:
Yes. According to the developers, SDK 3.7.0 should include this fix.
Great!
Then I will suggest xavier@candyhouse to test changing BLE MAC address with sdk-3.7.0 instead of sdk-3.5.2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
axel.lin,
Thanks for your attention.
But this issue https://community.cypress.com/thread/7328 is stopping me from moving to 3.7.0
I really need multi-boot to work.
Is it possible to have some feedback for the above issue from Cypress team?
I really hope it was because I was doing wrong somewhere, but not a bug in SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will ask the applications team to look into this again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you