Skip to main content

The problem of DA14531 packet sending interval

DA14530 and DA14531

10 months ago

Posted by bestcommrf 45 points 3 replies
0 upvotes

Hi, I send two packets of data to DA14531 through the serial port. If the interval between two packets of data is too short, the mobile phone will receive one packet of data. What's the problem? If it can be modified, how can it be modified?

10 months ago

PM_Dialog

Hi bestcommrf,

Thanks for your question online. Can you kindly provide more information about this issue?

Which SDK example are you using?

You mentioned “serial port”, so do you mean our DSPS example?

https://www.dialog-semiconductor.com/products/dialog-serial-port-service-dsps#tab-field_tab_content_resources

What is the connections interval ?

Thanks, PM_Dialog

10 months ago

bestcommrf 45 points

Hi  PM_Dialog,

 The SDK example I use is 6.150.4.50 and I change the UUID.I sent data “BE 32 A4 26”twice through serial port,the interval between the two times I send data if it's too short(such as 20ms,30ms,40ms) the APP will receive one package like the red box of “P1” and I wish to receive two packets of data.The connections interval is like “P2”.Thank you for your help

BR,bestcommrf

Attachment Size
APP Screenshot “P1” 49.7 KB
Code Screenshot “P2” 3.33 KB

10 months ago

PM_Dialog

Hi bestcommrf,

So, from you mentioned, you are using the Dialog Serial Port Service application.

The default connection interval in the source code is 100ms.

Which mobile application you are using?

I would recommend using the DSPS code as provided by Dialog and using the DSPS mobile application. ‘

What are the modifications you have done in the DSPS?

Please take a look at the user manual :

https://www.dialog-semiconductor.com/sites/default/files/um-b-088_da14585-531_serial_port_service_reference_application_2v0.pdf

If you could share more information about the testing conditions and HW/SW setup, it would be very helpful to understand what is getting wrong.

Thanks, PM_Dialog