5 posts / 0 new
Last post
haidangvu
Offline
Last seen:4 years 10 months ago
加入:2016-03-29 09:23
Project beacon test

Hi, I'm a newbie. I have a DK Pro of DA14583 and i downloaded source code of Beacon project. I have followed these steps to test the project Beacon:
1. Build project with Keil C 5.
2. Connect the DKP with laptop via USB.
3. Download hex file via Smart Snippets.
4. Use BlueLoupe in my smartphone to scan

但是没有一个可以scanned by my smartphone. Is there any problem here?

Device:
MT_dialog
Offline
Last seen:2 months 3 days ago
Staff
加入:2015-06-08 11:34
Hi haidangvu,

Hi haidangvu,

The beacon software is for the 580 chip and not the 583, although you can run the beacon on the pro kit 583 daughter board. Please try to set the CFG_HW_CONFIG definition in the appropriate configuration, since you have a pro kit you should choose HW_CONFIG_DK in the da14580_config.h file.

Thanks MT_dialog

haidangvu
Offline
Last seen:4 years 10 months ago
加入:2016-03-29 09:23
Thanks MT_dialog,

Thanks MT_dialog,
It works well now.

haidangvu
Offline
Last seen:4 years 10 months ago
加入:2016-03-29 09:23
Hi MT_Dialog,

Hi MT_Dialog,

我有一些问题:
1. How to change the beacon from mode Beacon to Peripheral?
2. The beacon seems not to advertise the device name. I see " Unknown device" in my smartphone ( use BlueLoupe), So, how to advertise the device name?
Thanks for your help.

MT_dialog
Offline
Last seen:2 months 3 days ago
Staff
加入:2015-06-08 11:34
Hi haidangvu,

Hi haidangvu,

1. If you mean the role of your device you can change it in the app_configuration_func() in the beacon reference design, its the role member of the gapm_set_dev_config_cmd.

2. The beacon is advertising according to the iBeacon format, that doesn't include the name of the device, also the advertising string is limited only up to 31 bytes so in order to add the name you have to remove data as well. Please have a look at the proximity reporter, its advertising string includes the name of the device, please check the reference design to see how it is implemented.

Thanks MT_dialog

Topic locked