areg-sdk
erpc
Our great sponsors
areg-sdk | erpc | |
---|---|---|
21 | 2 | |
238 | 665 | |
- | 4.1% | |
8.6 | 6.8 | |
about 1 month ago | 14 days ago | |
C++ | C++ | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
areg-sdk
-
Essentials of Object Oriented and Functional Programming: A Guide to Modular Code
FP Libraries: gRPC, ZeroMQ, and AREG are examples of libraries with a special focus on providing possibilities for Interprocess Communication. Developed using C++, they facilitate communication through predefined APIs, emphasizing functional programming concepts.
-
How to find a suitable topic at GitHub to contribute?
In addition, if the owners of the repositories add more relevant and precise labels to the issues, it increases the possibility that the OSS developers find the issues they would loved to resolve. For example, the issues of AREG SDK which marked "help wanted" in addition have such labels like "C++" or "cmake", "unit test", etc.
-
Makefile versus CMake build system
My closer introduction with these 2 tools started from OSS areg sdk project. Because of some experienced friend recommendation, i started with make. The main reason was that it is more spread in embedded. No other weighty argument they had. After having make, i decided to integrate cmake. Suddenly i figured out that cmake for me is more understandable and powerful. It already has many features that makes things easier. The biggest advantage for me is that in comparison to make / Makefile, lot of IDE support build with cmake. The cross-platform / cross-compile for areg-sdk is important feature, and this is easier to achieve with cmake. For example, I can compile with make under Linux with gcc/clang, but under windows can compile in cygwin environment and not with MSVC, which is not the issue in case of cmake.
-
Your fun software projects
Project: AREG is a cross-platform interface-centric lightweight communication engine, which forms a grid of services in the IoT fog- and mist-network, automates the real-time transmission of data between multiple connected software nodes, so that the connected Things interact like a thin distributed servers and clients. Technologies: C/C++17, standard library dependencies, POSIX and Win32 API. Can be used in real product.
-
How abut open source projects?
Nice. I also have own project, but it already requires much time, so that cannot join in other projects. As well, up to now have no dependencies, except standard system libraries. I think, we should have a separate post to share projects and give short description. Some might be interested to join.
- Cross-platform IPC engine that automates real-time data transmission between connected processes, allowing them to interact like a distributed services
- Distributed services programming for Embedded, IoT edge and desktop applications
- Interface-centric Object RPC (ORPC) engine for embedded and desktop
-
ncurses and POSIX
Here I've crated a list of API that use in the project. Some of methods are part of ncurses.h. So I have a questions:
erpc
-
Protocol on top of USB HID
I would love to see the kind of HID solution that you describe paired with a proper strongly typed message format like eRPC. In previous searches for similar messaging, I have also found things like EmbeddedProto and nanopd. I never got to dive into the details on any of these, though.
-
Does anyone have a protocol for the communication between microcontroller and PC?
I've seen people mention Messagepack, Asn.1 and Nanopb, which are data serialization libraries. Since in your example you mention that your protocol is like {START_COMMAND} {MODE_BYTE} {MODE_LENGTH} {MODE_DATA} I suppose that what you want is not only to transmit data, but also commands. I believe that RPC (Remote Procedure Call) is what you're looking for. Unfortunately I haven't found any really mature and well-known RPC frameworks for embedded. There is eRPC, but it is not so actively maintained. The RPC module from Pigweed, a embedded toolkit from Google, looks promising but IMHO it's a work in progress (especially the documentation is quite lacking).
What are some alternatives?
iceoryx - Eclipse iceoryxâ„¢ - true zero-copy inter-process-communication
ice - All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
nanomsg - nanomsg library
protobuf - Protocol Buffers - Google's data interchange format [Moved to: https://github.com/protocolbuffers/protobuf]
ZeroMQ - ZeroMQ core engine in C++, implements ZMTP/3.1
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
zenoh - zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.
bomba - C++ library for convenient implementation of RPC and serialisation
zmesh - Marching Cubes & Mesh Simplification on multi-label 3D images.
bakelite - Bakelite is a utility that makes it simple to communicate with your firmware.
uTensor - TinyML AI inference library
rpclib - rpclib is a modern C++ msgpack-RPC server and client library