如何传输3包在一个康涅狄格州ect event

6 posts / 0 new
Last post
z0806020433
Offline
Last seen:10 months 1 week ago
加入:2016-05-05 13:32
如何传输3包在一个康涅狄格州ect event

hi!

如何传输3包在一个康涅狄格州ect event In DSPS project?

thanks!

Device:
MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
加入:2015-06-08 11:34
Hi z0806020433,

Hi z0806020433,

Sending more than one packets in one connection interval is not up to you (up to the device i mean), how many packets are going to be sent to the central depends on central itself, you wont be able to force the central to stay awake in order to get the packets that you would like to sent. As long as you keep the data buffer with data the device will send as much as it can until the central stops it.

Thanks MT_dialog

z0806020433
Offline
Last seen:10 months 1 week ago
加入:2016-05-05 13:32
Hi!

Hi!
i want to increase the speed of transmission, i change the connection interval to 7.5ms(Minimum) , and 27Bytes in one packets, if DA14580 can send 3 packets in one connection event , so the speed of transmission is 10.8KB/s(Maximum ).

MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
加入:2015-06-08 11:34
Hi z0806020433,

Hi z0806020433,

As i ve mentioned you wont be able to control how many packets are going to be send in one connection interval, the maximum achieved transmition is about 10.9 kB/s by using a 580 as a central. Regarding the connection interval to 7.5ms i am not that sure that an android or the iOS will ever accept this value as their actual connection interval, indeed it is the minimum value defined by the spec but the android and the iOS devices have other limitations, i trust that is about 12.5ms in the android and iOS devices.

Thanks MT_dialog

z0806020433
Offline
Last seen:10 months 1 week ago
加入:2016-05-05 13:32
hi!

hi!
android device is 12.5ms , ios device is 20ms. how to calculate the maximum value (10.9KB/s) ? Is there some documents to explain about the transmition ?

MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
加入:2015-06-08 11:34
Hi z0806020433,

Hi z0806020433,

You can send a file of predefined size and measure how long it will take to transfer it, also i suppose that there are terminals that they give you some kind of an indication how much your throughput is, you can't just calculate it since the amount of packets for each connection interval aren't standard. Regarding the documents about the transmition there aren't any dialog documents that explain how data transmittion is done over BLE, but you could have a look at at the BLE specification or books that explain the BLE functionallity.

Thanks MT_dialog