Commit graph

12 commits

Author SHA1 Message Date
Florian Lüke
2087933fac move round_up() into mnode_math 2024-12-23 12:59:27 +01:00
Florian Lüke
728bad6841 possible low level mvlc proto interface 2024-12-17 23:27:48 +01:00
Florian Lüke
17787b8ab1 work on rpc 2024-12-12 00:31:03 +01:00
Florian Lüke
bf03a19820 add prototype nng reqrep based blocking protobuf rpc server and client
The code requires cc_generic_services = true in the service proto files.
nng_msg payload is:
  request format : size:u32 + serialized MethodCall
  response format: size:u32 + serialized MethodCallResponse

Dispatch is done using descriptors, message prototypes and protobuf.Any.
Error handling is missing apart from error logging.
2024-12-08 21:01:54 +01:00
Florian Lüke
1a20dd8097 idea about how the logging interface could look like 2024-12-07 18:34:27 +01:00
Florian Lüke
25b018b1bb add a barebones nng async abstraction 2024-12-07 18:33:35 +01:00
Florian Lüke
4c940d4e0a nng: move code into impl 2024-12-07 18:33:15 +01:00
Florian Lüke
4e4606c454 hide spdlog from mnode_nng.h 2024-12-07 17:36:59 +01:00
Florian Lüke
d3a5f2c75c refactor namespaces 2024-12-07 16:48:24 +01:00
Florian Lüke
07919d6795 async ping client and server 2024-12-07 16:12:40 +01:00
Florian Lüke
7ed57acdee node_nng: hide some nng details 2024-11-28 02:52:15 +01:00
Florian Lüke
e25f76eebf refactor things, build mesytec-node-nng lib 2024-11-23 03:05:05 +01:00