Hello.
Zephyr OS is same as nRF Connect SDK if I understood it correct. I posted the following question on the Zephyr OS mailing list. Am unsure where I might get an answer, so requesting help here.
My intent in asking this question: I would like to use Babblesim to connect a Zephyr BLE peripheral to a Linux app that uses Linux Bluetooth stack Bluez.
With my current understanding I believe this might be possible as follows:
- Linux Bluez stack can access BLE controller via a UART HCI. It is a simple command line to do so. BLE client/centrl app can then be built on that Bluez stack.
- So, if a Zephyr board is accessible over a UART to the Linux, then Bluez should be able to use the Zephyr app functioning as a BLE controller.
- It seems 'samples/bluetooth/hci_uart/' could function as the BLE controller with HCI for 'nrf52_sim' virtual board.
Is the above possible? What do I need to do to enable UART in nrf52_sim?
Assuming this is possible, for the above to work, the 'nrf52_sim' needs to support UART. Per the Zephyr page for it as as well as its DTS it seems the UART is disabled. But the docs say the board is based on ' native_posix' which has UART enabled.
If the above is not possible, then is there any other way for Linux BLE Bluez app to access BLE peripherals on BubbleSim?
Regards.