Anonymous
Not applicable
Jan 26, 2016
03:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 26, 2016
03:57 AM
We produce products with CYBL10161,but all products have the same Bluetooth mac address。we must set the mac address by uart to send commond after programmed 。but it is too complicated。i want to ask Is there a more convenient way to automatically generate the mac address at the time of programmed 。thanks for help。
Labels
- Labels:
-
BLE
1 Reply
Anonymous
Not applicable
Jan 29, 2016
07:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2016
07:51 PM
Hi,
You can use the CyBle_SetDeviceAddress API to change the Mac Address in the firmware. You can derive the mac address from th Silicon ID of the chip so that each chip has its unique MAC Address.
To get the silicon ID, you can use the API:
CyGetUniqueID is used to get the 64 Bit unique ID:
CyGetUniqueID(&ID);
//where ID is declared as uint32 ID[2];