hi.
I have a question.
- message_Identifier is defined as below.
> Bits/*SIZE(16)*/ message_Identifier;
- use FILLOC_BITS and setting values. length is 2. I think right.( 16bits = 2bytes ).
unsigned char ucList[256];
ucList[0] = 0x11;
ucList[1] = 0x13;
FILLOC_BITS( message_Identifier, ucList, 16 );
// message_Identifier.length = 16;
printf( "message_Identifier.length = %d\n", message_Identifier.length );
- after encode error occur.
Error in encoding, error code: 18.
value '00'B -- ERROR: invalid size [bits.c 238]--
- I changed manually message_Identifier.length = 16;
It's working with no error. but encoded data too large.
Is it right?