> I hope that you are following the established NuttX Bluetooth 
> architecture per 
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629397 
> or file:///C:/Users/spuda/AppData/Local/Temp/nuttx-4-WifiBt.pdf

I was unaware of that presentation. But yes, I'm following the expected 
architecture. Anyways, if something needs to be changed later, it is no problem.

Currently I have a Link-layer implementation, which does a bt_netdev_register() 
call. The LL receives HCI commands and speaks to a lower-half LL. This 
lower-half is expected to be implemented by each architecture. Since I'm on 
nRF52, this lower-half accesses the RADIO peripheral via the nrf52_radio.c arch 
interface. 

The upper-half of the LL should implement everything about the controller part 
of the BLE stack that is arch-independant. The lower-half does not carry much 
complexity as it is mostly a wrapper with a standardized interface.

If I sort out which timing system I should use to manage scan interval, window, 
and so on, and when I receive the nrf52832 eval board, I can open a draft PR so 
you can see the work in progress.

Best,
Matias

Reply via email to