How to broadcast sensor data from DA14531_MOD to another bluetooth module or BLE_Scanner app

Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
ravikiran4
Offline
Last seen:2 months 2 weeks ago
加入:2020-08-05 09:45
How to broadcast sensor data from DA14531_MOD to another bluetooth module or BLE_Scanner app

Hello Dialog Team,

I am trying to broadcast sensor data periodically to multiple other BLE devices. I have seen Advertising the Board info examples. But I haven't got any proper reference for "How to send data from one DA14531_MOD to another MOD or BLE application.?"

Am I missing any of your documentation? Please let me know as soon as possible.

Thank You

D.RAVI

PM_Dialog
Offline
Last seen:9小时17分钟前
工作人员
加入:2018-02-08 11:03
Hi ravikiran4,

Hi ravikiran4,

Please check out theDA14531-DA14585-586 Reading I2C Accelerometer BLESW Example. That example is using BLE notifications in order to send data to a peer device.

You can also take a look at the CodeLess example and you will find detailed examples in the user guide.

//www.xmece.com/products/smartbond-codeless-commands

Additionally, the SDK6.0.14 included an example demonstrating the BLE notifications - it is under projects\target_apps\ble_examples\ble_app_peripheral path. Please see app_adcval1_timer_cb_handler() callback function.

I would recommend also checking the following tutorials :

http://lpccs-docs.dialog-semiconductor.com/DA145xx_Advertising_Tutorial/index.html

http://lpccs-docs.dialog-semiconductor.com/Tutorial_SDK6/index.html

http://lpccs-docs.dialog-semiconductor.com/tutorial-custom-profile-DA145xx/index.html

Thanks, PM_Dialog

ravikiran4
Offline
Last seen:2 months 2 weeks ago
加入:2020-08-05 09:45
Thanks for your response,

Thanks for your response,

I have already gone through theDA14531-DA14585-586 Reading I2C Accelerometer BLESW Example. But I am not able to understand where I have to pass my data in order to broadcast that into other BLE app or Module.

Thank You

D.Ravi

PM_Dialog
Offline
Last seen:9小时17分钟前
工作人员
加入:2018-02-08 11:03
Hi ravikiran4,

Hi ravikiran4,

Please check user_svc1_accel_Y_send_ntf () for example. It sends the SVC1_IDX_ACCEL_Y_DATA_VAL over BLE notifications to a peer device.

Thanks, PM_Dialog