Hello,
we are using the DA14580 with the SDK 5.0.3.
There is a strange error we get when communicating between 2 DA14580s:
The Connection between a Smartphone as Central and DA14580 as Peripheral works fine, DSPS data can be send.
But if we use a DA14580 as Central (and the same DA14580 as Peripheral) we can establish a connection, send DSPS-Data from Peripheral to Central but NOT from Central to Peripheral.
For the Debug & Research:
发送函数的分ral device is called (checked by Debug pin): user_send_ble_data_clnt(...)
But the receiving function on the Peripheral side is not called: user_sps_server_data_rx_ind_handler(...) if communicating between two DA14580s (it is called when Server is DSPS-App).
Deeper I cannot debug, since what follows are kernel messages.
Is there any difference between the DSPS-App as Central Device and the DA14580 as Central device?
Is there an explanation why the one can send DSPS data to the Peripheral and the other can not?
Any ideas would be appreciated!
Sorry, may be misleading:
"(and the same DA14580 as Peripheral)" means the same peripheral module that communicated fine with the DSPS-App, and NOT that Server and Peripheral are the same module!
应该是
"(and the same DA14580 as before as Peripheral)"
Hi Steffen T,
Regarding if there is a difference in functionallity, no there is no difference, the setup (using a 580 as a central and a host) should work as the android application works, possible causes of what you are experiencing are the flow control signals (are they connected properly as the DSPS manual indicates - UM-B-038 ?) and also the configuration of the terminal is set to the proper handshake (RTS/CTS).
Thanks MT_dialog