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 2022/02/09 01:51:09 UTC

[GitHub] [mynewt-nimble] tannewt opened a new issue #1170: GAP callback when receiving HCI completed packets

tannewt opened a new issue #1170:
URL: https://github.com/apache/mynewt-nimble/issues/1170


   Hi! We're starting to use NimBLE in CircuitPython for the ESP32-S3. We have existing code for BLE that uses the Nordic soft device.
   
   One of our APIs, similar to the nordic uart service, batches data written (without response) into larger ATT packets up to the MTU size. We do this by batching until the previous packet has been sent. With the soft device we get a BLE_GATTC_EVT_WRITE_CMD_TX_COMPLETE event back that we use to queue up what we've buffered.
   
   I'm looking into adding something similar to NimBLE. I've found `ble_hs_hci_evt_num_completed_pkts()` and it looks like I can add a GAP event based on that. Is that the best approach? I can make a PR once I have it working. Or, is there another way I should get outgoing flow control info? Thanks!


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] sjanc commented on issue #1170: GAP callback when receiving HCI completed packets

Posted by GitBox <gi...@apache.org>.
sjanc commented on issue #1170:
URL: https://github.com/apache/mynewt-nimble/issues/1170#issuecomment-1058035068


   we have BLE_GAP_EVENT_NOTIFY_TX for notification, I have no objections on adding something similar for writes without response


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org