RPC on FreeRTOS or bare metal
RPC on FreeRTOS or bare metal
I want to implement an RPC-communication using FreeRTOS to configure hardware over an ethernet-interface.
With FreeRTOS comes an Protocol-Stack including Ethernet, IP and TCP/UDP (lwIP). I'm not forced to use TCP or UDP. In doubt i could use the lowest Protocol-Level (Ethernet) but due to packet-loss and detection of corrupt packages i prefer the TCP/UDP-Level.
My goal is to archieve a simple rpc-communication between FreeRTOS-Server and a client-application on Linux for example and build my application on top of it - the client sents arguments to the server, the freertos server configures itself accordingly. My main question here is: Are there any example-implementations for me to build on to get startet fast (usage of the lwIP-Package would be outstanding)?
So far, eRPC comes closest to my scope. Its independent of any OS and good documented. But it lacks examples for TCP.
JSON-RPC also looks promising.
Hope someone can point me to some sources i haven't found yet.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.