What error number 6 means for the decompressor ?

Asked by BADEUIL

Hello,

As I execute the decompressor, the error 6 is returned by the function. In the enum, it means "another error". Have you information about it please in order to solve the error ?

The new is ok for the compressor and the decompressor. I am using NO_COMPRESSION profile.

Regards

Thierry

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Solved by:
BADEUIL
Solved:
Last query:
Last reply:
Revision history for this message
BADEUIL (thierry-badeuil-b) said :
#1

I found the answer.

Before starting the compressor or the decompressor, the output buffer length must be set to 0 to remove the error

Revision history for this message
Didier Barvaux (didier-barvaux) said :
#2

Hello,

Any unexpected input will generate the ROHC_STATUS_ERROR = 6 error:
 * non-empty output/feedback buffers
 * empty input buffer
 * any malformed input/output/feedback buffer

Regards,
Didier