...};
typedef struct b_s b_t;
At some point, the received info is routed to another equipment using the following functions:
int checkSet(void * ne, b_t * msg)
{
(…)
send(ne->position, msg->payload.cmd, msg->payload.dataSize, msg->payload.data)
(...)
}
int send(u_int8_t pos...