I am working with a custom board. There is an nrf52840 radio co-processor running the example NCP openthread mode. This radio co-processor is connected to the host micro through a UART. They are working perfectly transmitting openthread messages etc within the openthread network.The project has "overlay_multiprotocol_ble" and its working right too.
But what if I want to modify the radio firmware to send a custom message, just 10 bytes when I push a button for example.
Should I send it with UART using UART HAL? Isn't that UART being hogged by SPINEL? Might I load the spinel instance and use it? are the spinel messages coded with HDLC-lite or I have to encode it?
What about if I want to send messages to the host micro from my mobile via bluetooth? Is there an NCP Blueetooth version? Could it NCP bluetooth version share the spinel connection to the host? I have checked this info and I see that BLE HCI exists and it is like NCP, a coprocessor mode, isn't it? Checking spinel documentation I noticed that spinel is compatible with HCI . Is there any example or could you guide me how to configure OT NCP + BLE HCI in multiprotocol mode?
Thanks!
EDIT1:
I found this entry and it's pretty much what I want. The only difference is that in my case Openthread is running in NCP mode. But I know that multiprotocol can run in dynamic mode and in switched mode. Is it possible to run BLE HCI and OpenThread NCP in switched mode and use the UART with Spinel (in case Openthread works) or HCI (in case BLE works) ?