You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/09/03 08:28:13 UTC

[GitHub] philips77 commented on issue #6: BLE reassembly support

philips77 commented on issue #6: BLE reassembly support
URL: https://github.com/apache/mynewt-mcumgr/issues/6#issuecomment-418040595
 
 
   This could also increase the speed of image/file upload. Right now each packet sent is ack with a notification. This takes 2 interval connections (one to send 252 bytes (from where 8 bytes is the SMP header, and number of bytes are taken by encoding offset, and "off" and "data" keys), one to receive a notification). 
   With reassembly implemented, an app could send a long SMP packet in 2+ BLE Write No Response packets, which can be send in a single interval connection. This saves a lot of bytes. The second+ packets would not include the header and any of CBOR fields, just the raw file content. With help of DLE the benefit is even greater.
   Of course, the size of the buffer to reassembly should be calculated taking into account the interval connection. Perhaps lowering MTU would fit more packets in a single interval? 
   But even if only one packet could be sent in each int. conn., the benefit is worth implementing this feature.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services