How to get peripheral name from scan response packet?

Learn MoreFAQsTutorials

2 posts / 0 new
Last post
ojazdowski
Offline
Last seen:1 year 8 months ago
加入:2019-04-24 08:27
How to get peripheral name from scan response packet?

Hello.

As a central I am scanning for BLE peripherals.

I am trying to get the BLE Device name of my advertising peripheral ( it has one and I can see it using iOS apps like nRF Connect ).

I am getting the scan response of my peripheral in my ".app_on_adv_report_ind" callback event handler.

I can successfully connect to my peripheral from this callback by matching the advertising UUID to my known peripheral's via the callback "gapm_adv_report_ind" data

我想知道我如何能得到the peripherals name, however. This would be the 0x09 scan response ( GAP_AD_TYPE_COMPLETE_NAME ).

Any suggeststions?

my user_config.h is attached.

Many Thanks

Oskar

Attachment:
Device:
PM_Dialog
Offline
Last seen:7 hours 6 min ago
Staff
加入:2018-02-08 11:03
嗨,奥斯卡·,

嗨,奥斯卡·,

Emails has been sent in your registered email address.

Thanks, PM_Dialog