ncasaril commented on issue #940:
URL: https://github.com/apache/mynewt-nimble/issues/940#issuecomment-802604554


   One step closer :) 
   
   This comparison is going in the wrong direction. The data should be sent if 
the actual data (om_len) is greater or equal to the expected length (len):
   
   
https://github.com/apache/mynewt-nimble/blob/32621d01b444d99dedba8fe85c44a2bb1b2460c4/nimble/transport/usb/src/ble_hci_usb.c#L214
   
   Fixing the comparison (PR coming) removes the effect of the TU buffer. 
Uploads with a BLE MTU < 252 now works well. 
   
   Still, upload fails for an MTU larger than 252, i.e. as soon as we need to 
fragment the messages. I've identified where in ble_ll_conn.c this seems to 
happen and will open a separate issue for that. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to