DA14580 Scanning and Advertising one after another 1 sec each

Learn MoreFAQsTutorials

2 posts / 0 new
Last post
哈瑞Kumar
Offline
Last seen:5 months 3 weeks ago
加入:2020-02-17 06:31
DA14580 Scanning and Advertising one after another 1 sec each

Hi everyone,

I'm working on DA14580 and SDK 5.0.4.

I want to make my device 1-sec Scanner and 1-sec Advertiser. How to change the ROLE in-between?

I tried to follow

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14585-scan-and-advertise

not working as there is no GAP_ROLE_ALL in SDK. this is for DA14585 with SDK 6. so, it's not working on DA14580.

getting stuck innmi_handler.cat

if ((GetWord16(SYS_STAT_REG) & DBG_IS_UP) == DBG_IS_UP)
__asm("BKPT #0\n");

while configuring device app_easy_gap_dev_configure(). Please help on this.

Regards,

哈瑞

Device:
PM_Dialog
Offline
Last seen:16 hours 58 min ago
工作人员
加入:2018-02-08 11:03
Hi HarishKumar,

Hi HarishKumar,

First of all thanks for your question online. Are you designing a product based on the DA14580? Why don’t you consider to move into DA14585/586 or DA14531?

If you are starting a new design, we would strongly recommend to start with DA14531 or DA14585/586 products and our latest SDK6.0.14, as it is much more improved. We have a lot of code examples and improved documentation, and there is also software roadmap support. There is not any software roadmap support for DA14580 product family and SDK5. The SDK6 includes the GAP_ROLE_ALL, so it’s really straight-forward to implement this use case.

//www.wsdof.com/products/connectivity/bluetooth-low-energy/products/da14531

Moreover the DA14531 SmartBond TINY™ Module is now released! Follow the link below to find datasheet, documentation and HW collaterals for the module:

//www.wsdof.com/products/bluetooth-module-da14531-smartbond-tiny

Additionally, Dialog Serial Port Service (DSPS) and CodeLess are now available for the DA14531!

回答你的问uestion, in case of DA14580 and SDK5, to implement a role switching you should invoke a GAPM_RESET_CMD command and reconfigure the device. Please check some related previous forum threads:

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/switch-role-between-observer-and

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/dynamic-adv-data-scan

Thanks, PM_Dialog