v01d commented on pull request #2566:
URL: https://github.com/apache/incubator-nuttx/pull/2566#issuecomment-750922593


   > > > > Also, @Virus-V, I noticed there's a very brief header for BLE HCI 
interface. Do you think it is possible to integrate BLE with NuttX using this 
interface? I understand this is part of closed source libblecontroller.a. Or 
does this code depend on some other RTOS in some way?
   > > > 
   > > > 
   > > > We plan to implement BLE HCI as a pseudo-tty device, and may not use 
the HCI interface provided by Nuttx (Consulted with BLE colleagues).
   > > 
   > > 
   > > You mean as HCI UART?
   > > From what I understand there is a RAM based interface (calls into the 
closed binary). To proper approach (in line with how NuttX exposes the on-chip 
BLE controller) is using a bt_driver, which is based on HCI send/receive 
interface. BL602 BLE should not be based on an ad-hoc driver if there's an 
option to send/receive HCI commands to the BLE controller.
   > 
   > We use BLE HCI as a pseudo-tty device because of current requirements, 
which will make it easy to integrate a third-party BT stack.
   > We will also consider supporting native Nuttx BLE HCI in the future.
   
   Hopefully we can find a way to meet both approaches, based both on Buffalo 
Labs contributions and NuttX community work. 


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


Reply via email to