What error number 6 means for the decompressor ?

Asked by BADEUIL on 2015-02-23

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:
2015-02-25
Last query:
2015-02-25
Last reply:
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

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