9 months ago
iBeacon从物联网演示
Posted bydlo0 points 7 repliesDownloaded 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!
9 months ago
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.
9 months ago
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.
9 months ago
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
9 months ago
Hi dlo,
Thanks fo your indication and for accepting your answer. It will be really helpful for for the other community!
Regards, PM_Dialog
9 months ago
Hi dlo,
Thanks for your question online. Can you please indicate which iBeacon application you are using?
Thanks, PM_Dialog