I tried to implement the IFFPdu, but it failed to form a correct stream. I managed to identify the issue with the code.
Under SystemIdentifier _systemMode shall be 8-bit, but it is defined as a unsigned short (16bit).
The correct declaration should be :
unsigned char _systemMode;
and corresponding gets and sets should change accordingly.
I tried to implement the IFFPdu, but it failed to form a correct stream. I managed to identify the issue with the code. Under SystemIdentifier _systemMode shall be 8-bit, but it is defined as a unsigned short (16bit). The correct declaration should be :
unsigned char _systemMode;
and corresponding gets and sets should change accordingly.