btashton edited a comment on pull request #1661: URL: https://github.com/apache/incubator-nuttx/pull/1661#issuecomment-693734593
> Debugging leads me here: > > https://github.com/apache/incubator-nuttx/blob/18cae2e78a7f4ab61a34e4e66b6b272d96b8e1a3/net/bluetooth/bluetooth_sockif.c#L909 > > And at that point since I'm trying to use BTPROTO_HCI this is not yet supported. As I mentioned nimBLE implements L2CAP on ther own so they produce HCI commands to be sent via the socket directly. That is correct BTPROTO_HCI in the **NuttX** stack is not implemented. That is what this PR will done when it is complete, but right now it is just stubbed out. Are you trying to run the nimble stack on top of NuttX? To do that we would need to implement the USER or RAW channels for BTPROTO_HCI. These were low priority for me because they bypass the kernel, instead userspace would use the L2CAP for GATT and (BTPROTO_HCI -- CONTROL_CHANNEL) for doing things like setting advertisements, scanning, etc... What I was asking about was what interfaces were you running into that l2cap did not provide for creating the real NuttX GATT server/client? Because we could make sure to implement those first (should be one of the mgmt APIs that I pointed 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: us...@infra.apache.org