Hi
I have a struct variable that contains some data:
I wish to place this variable and its contents into a uint8_t array:Code:typedef struct { uint8_t commandIssued; uint16_t oraginAddress; bool success; } PACK AppCommandAck_t; AppCommandAck_t bob;
I need something like:Code:Uint8_t bobHolder[100];
I do not want to copy each byte iteratively from the struct into the array. Does anyone know how I might achieve this operation?Code:bobHolder = bob;
thanks
D