- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My bt demo runs on BCM20706A1.In my code,I use that code to start bt scan.
params.mode = BTM_GENERAL_INQUIRY;
params.duration = 40;
params.filter_cond_type = BTM_CLR_INQUIRY_FILTER;
result = wiced_bt_start_inquiry( ¶ms, &inquiry_result_cback );
In callback function,sometimes the pointer of eir_data is NULL,so I cannot get the device name.
Can you give some explaination about this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If there is no data to be sent in the EIR packet, i.e., eir_data is set to 0, then it means that the device does not have a device name.
For more details about this, please refer to 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If there is no data to be sent in the EIR packet, i.e., eir_data is set to 0, then it means that the device does not have a device name.
For more details about this, please refer to 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But my phone can detect the device name
发件人: shjl
发送时间: 2018年9月20日 17:54
收件人: kim ji
主题: Re: - start bt scan,sometimes in callback fuction,the pointer of eir_data is NULL
<http://www.cypress.com>
<https://community.cypress.com/?et=watches.email.thread> Cypress Developer Community
start bt scan,sometimes in callback fuction,the pointer of eir_data is NULL
reply from shjl <https://community.cypress.com/people/shjl?et=watches.email.thread> in WICED Smart Bluetooth Forums - View the full discussion <https://community.cypress.com/message/169865?et=watches.email.thread#169865>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please confirm if slave device is BT or BLE?
Also, can you give more product details about your slave device?