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-771D440B13A2.html
Can you please let us know which Cypress chip are you using?
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!
The implementation of parsing p_eir_data resides in BT ROM FW and the information in FW is not accessible to customer.
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.
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.