data);), but I can only receive data from one slave. Can you help to analyze the reason? Thanks  Benjamin"> Multiple connection | Dialog - 亚博全网,亚博电竞菠菜,亚博国际官网平台网址 Skip to main content

Multiple connection

2 months ago

Multiple connection

Posted byBenjaminDu135 points 3 replies
0 upvotes

Hi dialog,

I modified DSPS(with reference to DA14531-DA14585-586_Multirole_Example) to be multiple connectable.

When multi-connected,I want the master to receive data from all the slaves inuser_sps_client_data_rx_ind_handler(for examplearch_printf("%s\t",(uint8_t *)param->data);), but I can only receive data from one slave.

Can you help to analyze the reason?

Thanks

Benjamin

2 months ago

PM_Dialog

Hi Benjamin,

Thanks for coming and posting on our new forum. The DSPS is supported "as is" and provided. Multiple BLE connections are not supported by the DSPS. If you check the DSPS webpage and the user guide (links is provided below), you will see that emulates a serial cable communication and so provides a simple substitute for RS-232 connections.

//www.xmece.com/products/dialog-serial-port-service-dsps#tab-field_tab_content_overview

//www.xmece.com/sites/default/files/um-b-088_da14585-531_serial_port_service_reference_application_2v0.pdf

For multiple connections, theDA14585/DA14586 - DA14531 Multiperipheral Exampleshould be used. DA14531 is able to support up to 3 and the DA14585 up to 8 simultaneous connections.

Thanks, PM_Dialog

2 months ago

BenjaminDu 135 points

2 months ago

PM_Dialog

Hi Benjamin,

Please check out this SW Example :

http://lpccs-docs.dialog-semiconductor.com/SW_Example/SDK6/DA14531-DA14585-586_Multirole_Example/description.html

This example applies for DA14585/586 as well. The project works as a Central connecting to 2 peripherals, and once connected, it advertises so another central can connect to it.

Thanks, PM_Dialog