DA14585
1 year ago
Posted by BenjaminDu 160 points 3 repliesHi 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 in user_sps_client_data_rx_ind_handler (for example arch_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
1 year ago
1 year ago
Hi Benjamin,
Please check out this SW Example :
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
1 year ago
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.
https://www.dialog-semiconductor.com/products/dialog-serial-port-service-dsps#tab-field_tab_content_overview
https://www.dialog-semiconductor.com/sites/default/files/um-b-088_da14585-531_serial_port_service_reference_application_2v0.pdf
For multiple connections, the DA14585/DA14586 - DA14531 Multiperipheral Example should be used. DA14531 is able to support up to 3 and the DA14585 up to 8 simultaneous connections.
Thanks, PM_Dialog