Hi everyone,
I start to play with openthread and it's a very good protocol !
I would like to use this protocol to create a mesh network over IP for my wireless devices.
My sensors have a main uC (approx 100MHz) which already interact with differents "modules" : RFID UHF reader, ADC, E-MMC memory, ...
I prefere this solution with modules because the main processor, is not timing critical in this case.
That's why I love the co-processor approach of thread !
I saw thread support UDP, so I think I'll use Coap or MQTT-SN for application layer.
I would like to see openthread on my sensors like a "module" but I need your help to choose the best interface approach.
I thought of differents possibilities to communicate with this thread "module" (over UART) :
- CLI interface
- Pros:
- simple to debug
- standard openthead interface (CLI-UDP and CLI-CoAp)
- no specific code to develop on module (SOC)
- CoAp lib in the SOC
- Cons :
- not easy to use in embeded software (difficult frame parsing)
- ASCII datas -> heavy embeded interface (big overhead)
- only Coap supported
- NCP interface
- Pros :
- standard openthead interface
- binary datas -> light embeded interface (little overhead)
- no specific code to develop on module (SOC)
- CoAp Lib in the SOC
- Cons :
- custom interface (RPC for exemple)
- Pros :
- binary datas -> light embeded interface (little overhead)
- COAP or MQTT-SN lib on module
- simple commande to start the module (SOC)
- Cons :
- not standard
- specific code to develop on SOC
What solutions would you advise me ?
Do you see a better solution ?
Thanks for your reply and I'm happy to integrate openthread users !