Reset

Asked by regulararmy on 2013-07-16

Hello Didier,
        In 3GPP TS 36.323, it states: "when upper layers request a PDCP re_establishment, it should reset the header compression protocol for uplink or downlink (if configured). " so ,I want to ask you, are there API functions for resetting in you lib, which functions, Thank you very much.

Regards,
regulararmy

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Solved by:
Didier Barvaux
Solved:
2013-09-26
Last query:
2013-09-26
Last reply:
2013-07-29

This question was reopened

regulararmy (regulararmy) said : #1

In a wed page, I see there are some features for your lib, one of features is " context Reset" , which functions are related to the "context reset", Thank you.

Hello,

Yes, you can reset compression contexts: http://rohc-lib.org/doc/rohc-doc-1.6.0/group__rohc__comp.html#gaff46258f600f27821e05fe6b69eaf976

Regards,
Didier

regulararmy (regulararmy) said : #3

Thanks Didier Barvaux, that solved my question.

regulararmy (regulararmy) said : #4

However, when in a PDCP re_establishment, I called the rohc_comp_force_contexts_reinit (struct rohc_comp *const comp), it did not work well, each PDCP re_establishment make the "ping" time out whatever you use the function rohc_comp_force_contexts_reinit or not. So, do you know the reasons´╝îmaybe the decompressor should also reinit the context ? Thank you.

Hello,

I don't know the reason. Please check that the compressor starts to send IR packets after
calling the rohc_comp_force_contexts_reinit() function. The decompressor does not need
any re-initialisation, all it needs is IR packets coming from the compressor.

Regards,
Didier

regulararmy (regulararmy) said : #6

Thanks Didier Barvaux, that solved my question.