btashton commented on pull request #1655: URL: https://github.com/apache/incubator-nuttx/pull/1655#issuecomment-681273542
> Very nice addition! > Looked at the changes and have nothing to comment. Only a question: you receive HCI data in the IDLE loop. Does the HCI socket have an internal buffer which will accumulate pending packets? If not, packets could be lost. Or is this not a problem? Should not be a problem as the host side will queue based on the Linux network stack settings. I would do a select on the socket but there is not a real good way to handle this across the simulation boundary. This is basically the same thing we do for X11 and netdev. > > BTW, can we also expose L2CAP sockets? In that case we could fully use the simulator to test GATT for example. There is no need, this lets us hook in a the the controller level so the NuttX Bluetooth stack should be providing the L2CAP on top of this. I just added a little more to handle reading the ACL packets from the controller, it should already be handling sending them out. ---------------------------------------------------------------- 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]
