I have bought a few Nordic nRF52840 DKs and have managed to get OpenThread up and running on them nicely with Zephyr.
My problem is however I am unsure how I can integrate this into my current use case. I am trying to make a IoT smart home appliance prototype which requires a GUI app. My current plan is to write an app in Flutter and have it running on Ubuntu Lite on a Raspberry Pi with a small touch screen and then use the nRF52840 DKs for each of the IoT devices to communicate with each other.
My current approach of how to do this is to use UART for the raspberry pi to communicate with the nRF and I have got this working and it can send very basic messages from one raspberry pi to another raspberry pi via the nRF DKs using OpenThread.
However this has been very cumbersome and does not seem a viable approach as I have to encode all the data to binary and add headers and error check etc. prior to sending it via UART and then decode the other side. I worry as messages will get more complex and larger that this will scale out of control and become extremely difficult.
I wanted to know if I had missed something here and if there was an easier way I could use OpenThread in my current app running on raspberry pis? Are there any libraries that can do this for me?
Really appreciate any suggestions and help you can offer, thanks for reading :)