iBeacon从物联网演示

Learn MoreFAQsTutorials

8 posts / 0 new
Last post
dlo
Offline
Last seen:6 days 20 hours ago
加入:2017-05-26 16:21
iBeacon从物联网演示

Downloaded the DA14585_IOTP_v6.160.4 and edited the ibeacon_suota_button project to run on a Pro Dev Kit with the DA14585 D-SPC585QFN40DB-P.

The changes are:

#undef CFG_RANGE_EXT

#define CFG_IOT_DK 0

and a few others to make the code compile without adding any custom code.

Compiled and flashed to board. Using an Android BLE Scanner app I can see the device advertised with a (iBeacon) and see the UUID, major, minor fields.

However, the device is not detected by an iBeacon scanner app, not on iOS or Android.

Is this something expected?

The goal is to migrate our iBeacon code that ran on the DA14580 using DA1458x_beacon_v_5.40.2_0 to the newer DA14585 and have it be compliant with BLE 5.0

The old DA1458x_beacon_v_5.40.2_0 worked great and it was detectable by the same iBeacon scanner apps being used above.

I'm still planning on digging through the reason why this isn't working, but wanted to pose this question in case someone already knows the answer and can help me figure it out quicker.

Thank you!

Device:
PM_Dialog
Offline
Last seen:2 days 9 hours ago
工作人员
加入:2018-02-08 11:03
Hi dlo,

Hi dlo,

Thanks for your question online. Can you please indicate which iBeacon application you are using?

Thanks, PM_Dialog

dlo
Offline
Last seen:6 days 20 hours ago
加入:2017-05-26 16:21
Thank you for looking into

Thank you for looking into this. I've used the following apps:

https://play.google.com/store/apps/details?id=com.bridou_n.beaconscanner

https://play.google.com/store/apps/details?id=com.smarterapps.blescanner

https://play.google.com/store/apps/details?id=de.flurp.beaconscanner.app

and they do not detect the ibeacon_suota_button from the IOT SDK, but were able to detect the old DA1458x_beacon_v_5.40.2_0

This app:

https://play.google.com/store/apps/details?id=com.macdom.ble.blescanner

detects the ibeacon_suota_button with (iBeacon) next to the detected device, listing its UUID, major and minor.

On the iOS side, I used this app:

https://apps.apple.com/us/app/beacon-scan/id1011834079

and of course, our custom app that was working with the DA1458x_beacon_v_5.40.2_0 code base.

dlo
Offline
Last seen:6 days 20 hours ago
加入:2017-05-26 16:21
I did not expect this to be

I did not expect this to be the problem, but it's weird that by just changing the

.company_id = DIALOG_COMP_ID to .company_id = APPLE_COMP_ID

it suddenly pops up on all iBeacon scanners from the previous reply.

PM_Dialog
Offline
Last seen:2 days 9 hours ago
工作人员
加入:2018-02-08 11:03
Hi dlo,

Hi dlo,

So, changing the .company_id = DIALOG_COMP_ID to .company_id = APPLE_COMP_ID fixes the problem? Did I understood correctly? Thanks for you hint!

Thanks, PM_Dialog

dlo
Offline
Last seen:6 days 20 hours ago
加入:2017-05-26 16:21
Hello PM,

Hello PM,

Yes, that's correct, changing from DIALOG_COMP_ID to APPLE_COMP_ID solved the problem I was having.

PM_Dialog
Offline
Last seen:2 days 9 hours ago
工作人员
加入:2018-02-08 11:03
Hi dlo,

Hi dlo,

Thanks fo your indication and for accepting your answer. It will be really helpful for for the other community!

Regards, PM_Dialog

dlo
Offline
Last seen:6 days 20 hours ago
加入:2017-05-26 16:21
No problem, thank you for

No problem, thank you for looking into this with me.