- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For CY8CKIT-062-BLE & CY8CPRPTO-063-BLE, I am using the BLE Controller (BLESS_CONTROLLER) without BLE Host. I need to read the BD Address (MAC Address) of the device. For this I used HCI command with OGF=0x04 and OCF=0x09.
In response I get response
0x0E 0x0A 0x02 0x09 0x10 0x00 0x80 0xAB 0xCD 0xAB 0xCD 0x80
indicating MAC id 80:AB:CD:AB:CD:80.
Surprisingly I flashed the code in two different boards of CY8CKIT-062-BLE EVK but I got same repose. According to me, the MAC id should be different. Further I did the same experiment with CY8CPRPTO-063-BLE, I got the same response.
I have attached my code here for the reference.
What mistake I commit while reading MAC address ( or Public address) over HCI and what is correct method to read MAC Id using HCI command ?
Solved! Go to Solution.
- Labels:
-
ispn:39619:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @SubhashP
The Opcode is 0xFDA0 and Parameter length is 7 Octets and Parameters are BD Address, Address type.
Thanks & Regards
Pratiksha V
- 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
Hi @SubhashP
Initially BD Address for the both the kits will be same. So you need to set the new address and read the address then it will be changed.
Thanks & Regards
Pratiksha V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @PratikshaV
Ok, I need to setup the BD address manually.
Please share the document or memory location where I need to update the BD address.
Thanks
Subhash Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @SubhashP
The Opcode is 0xFDA0 and Parameter length is 7 Octets and Parameters are BD Address, Address type.
Thanks & Regards
Pratiksha V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content