- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please tell me if there is a document on which I can parse data from "p_eir_data"?
I tried to find an answer on the forum but could not.
from wiced_bt_dev.h:
/**
* Inquiry result callback.
*
* @param p_inquiry_result : Inquiry result data (NULL if inquiry is complete)
* @param p_eir_data : Extended inquiry response data
*
* @return Nothing
*/
typedef void (wiced_bt_inquiry_result_cback_t) (wiced_bt_dev_inquiry_scan_result_t *p_inquiry_result, uint8_t *p_eir_data); /**< inquiry result callback */
Thanck you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can suggest you to refer section 8 EXTENDED INQUIRY RESPONSE DATA FORMAT from Bluetooth Specification Version 5.0, Vol 3, part C: https://www.bluetooth.com/specifications/bluetooth-core-specification. Apart from this, I don't think I can provide more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AlGo_4347736,
You can send device local name, UUID, transmit power or manufacture related info. You can check this article for more info: https://docs.huihoo.com/symbian/nokia-symbian3-developers-library-v0.8/GUID-F2A793F1-A5B5-526B-B147-...
Can you please let us know which Cypress chip are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use CYW20719 and CYW20721.
I understand that this information is contained in the received p_eir_data buffer but I need to know by what protocol it is written there to correctly write code to decrypt this buffer.
I have found two functions in the examples:
void DecodeEIR_Hostmode(const u8* p_data, u16 len, char* szName, u16& name_len);
void DecodeEIR(const u8* p_data, u16 len, char* szName, u16& name_len);
But I would like to see the full protocol of writing into this buffer.
Thank you in advance for your support!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The implementation of parsing p_eir_data resides in BT ROM FW and the information in FW is not accessible to customer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The thing is, I don't need an implementation. I'm interested in the return buffer format that contains a local name, UUID, transmit power or manufacture related info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can suggest you to refer section 8 EXTENDED INQUIRY RESPONSE DATA FORMAT from Bluetooth Specification Version 5.0, Vol 3, part C: https://www.bluetooth.com/specifications/bluetooth-core-specification. Apart from this, I don't think I can provide more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content