Bluetooth devices scanning

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
Alex-Elektron
Offline
Last seen:5 months 2 weeks ago
Joined:2019-09-14 10:09
Bluetooth devices scanning

Hello, Colleguas! I use CodeLess DA14580 v_5.380.5.4.0. For devices scaning I send next commands:

AT+ADVSTOP\r

AT+CENTRAL\r

AT+GAPSCAN\r

and I see some devices, but I haven't see devices with "receiving only broadcast packets", includes my mobile phone. My mobile phone see all the devices includs "with receiving only broadcast packets". Can I switch on some kind of feature in CodeLess DA14580 v_5.380.5.4.0 for scaning all types bluetooth? Or it is hardware bug?

Device:
PM_Dialog
Offline
Last seen:1 day 23 hours ago
Staff
Joined:2018-02-08 11:03
Hi Alex-Elektron,

Hi Alex-Elektron,

Can you please clarify what you mean with "receiving only broadcast packets"? Do you mean non-connectable advertising packets?

Thanks, PM_ Dialog

Alex-Elektron
Offline
Last seen:5 months 2 weeks ago
Joined:2019-09-14 10:09
Yes, I mean non-connectable

Yes, I mean non-connectable advertising packets. Without ScanResponse

PM_Dialog
Offline
Last seen:1 day 23 hours ago
Staff
Joined:2018-02-08 11:03
Hi Alex,

Hi Alex,

I need another clarification. What is the device that advertises non-connectable events? Is it another DA14580 which is running the CodeLess firmware? And what is the BD address?

Thanks, PM_Dialog

Alex-Elektron
Offline
Last seen:5 months 2 weeks ago
Joined:2019-09-14 10:09
Device is JDY-08 with HM-10

设备与HM-10 JDY-08固件。与下一个settings the JDY-08 is clearly detected by DA14580 (with codeless firmware) and mobile phone:

AT+ADTY2 (Only allow Advertising and ScanResponse)

AT+IBEA1

AT+DELO2

AT+PWRM0

AT+ADVI7

AT+RESET

if I change AT+ADTY2 to AT+ADTY3 (page 24) the JDY-08 is detected only by mobile phone.

PM_Dialog
Offline
Last seen:1 day 23 hours ago
Staff
Joined:2018-02-08 11:03
Hi Alex-Elektron,

Hi Alex-Elektron,

Thanks for the indication. Not sure what happened as we provide support only for Dialog products and application reference designs. For further debugging, you can run the CodeLess in debug mode and add a break point into user_on_adv_report_ind() callback function. This function will be triggered if the DA14580 is configured as Central and a scanning procedure is initiated. It will give you a display with the advertising reports.

Thanks, PM_Dialog