Autor Tema: Wanted: key/value serialisation library.  (Leído 410 veces)

Desconectado ericlanser

  • PHPerit@
  • *
  • Mensajes: 2
  • Karma: 0
  • Nuev@ PHPer@
    • Ver Perfil
Wanted: key/value serialisation library.
« en: 30 de Abril de 2019, 12:03:24 pm »
My use case; the need for a messaging framework to push (small amounts of) data between two completely different architectures (which are actually linked via UART FWIW).

I imagine something like this:

// At tx end template <class T> void Publish<T>(KeyType key, T value) { // Serialise object endian-agnostic // Call back into a transport layer I provide to transmit }

// At rx end template <class T> void Subscribe <T>(KeyType key, T_Callback callback) { // Register callback for reception of this type/key }

One end is Linux x86, other end Cortex M4 FreeRTOS.

Any suggestions of existing libs (I know about boost::serialisation) Sarkari Result Pnr Status Showbox
 before I jump in and code something?

Thanks!
« Última modificación: 30 de Abril de 2019, 19:00:11 pm por ericlanser »

Comunidad PHPeros

Wanted: key/value serialisation library.
« en: 30 de Abril de 2019, 12:03:24 pm »