20 Sep
2013
20 Sep
'13
4:39 p.m.
Hello Thorsten,
I need to know the maximal length of a message sent. The SmartPointer class says one payload can maximal be 252byte. Is this the maximal Message size?
Depends on the backend you are using. The standard CAN backend is limited to 8 CAN messages per xpcc message. This results in a maximal length of 6*8 = 48 byte. This can be extended with a different backend, but that is up to you. The next limited is the mentioned smart pointer. The limited there can be increased for >= 8 bit processors or through the use of platform specific synchronization mechanisms. At the moment it avoids explicit atomic operations by operating on a variable size (=8 bit) which can be read atomically by all microprocessors. Fabian