- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I went through the steps in this post (WICED Smart Bluetooth Forums ) to change my BLE Mac address to a custom value on production programming. However I am trying to discover if there is a way I can read the flash memory across the UART programmer pins so I can check if it has already been programmed with an expected mac address, and if so, to use the same one. So far out of the Zipped tools in that post, it doesn't appear to have any resources to do that. I also wasn't able to find a way to read flash memory through the WICED ide. Any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think there's a direct way to read the BD_ADDR over the UART port. You could use the blecm_hciReadBdAddr() function to read the address. The address will be reported in an blecm event handler.
- 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
I don't think there's a direct way to read the BD_ADDR over the UART port. You could use the blecm_hciReadBdAddr() function to read the address. The address will be reported in an blecm event handler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just looked up that function header in blecm.h
void blecm_hciReadBdAddr(void);
How am i supposed to get the address from the function call if I can't pass in a pointer and I don't get a return. Where is the address read going to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you call that function, the blecm evt handler will be triggered and the device address will be reported in the event handler. If you enable the print logs, you can see the device address being printed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have a question on BD Address, during production if we assign a static MAC ID (programmed through tool or using HCI command 10 FC ') will the address persisted if we upgrade the application using minidriver ? Do we need to write the MAC ID again after upgrading the application (CYBLE-013025-00)