Advanced SCHC Configuration Interface
The functions defined in the advanced SCHC configuration interface are used for tuning and customization. They will affect the way Acklio FullSDK handle the applicative packets.
The header file for the SCHC Configuration interface is fullsdkschc.h
.
This interface can be used to configure SCHC technology profile and fragmentation parameters.
Change Retransmission Timer​
The schc_set_retransmission_timer()
function allows to modify the value of the retransmission timer used by the current profile.
This function must be provided with the parameter rt_exp_time
which value is a 32-bits integer.
Change Inactivity Timer​
The schc_set_inactivity_timer()
function allows to modify the value of the inactivity timer used by the current profile.
This function must be provided with the parameter it_exp_time
which value is a 32-bits integer.
Polling​
The schc_set_polling_status()
function allows to activate polling for downlink sessions as well as suspending uplink sessions in the meanwhile.
This function must be provided with the following boolean parameters:
Parameter | Description |
---|---|
enable | true to activate polling. |
suspend_uplinks | true to suspend uplink sessions. |
ACK-Always Mode​
These functions are only used with ACK-Always downlink fragmentation mode.
Function | Description |
---|---|
schc_set_schc_ack_req_dn_opportunity() | To set the new value of ACK_REQ_DN_OPPORTUNITY in the computation of the ACK retransmission timer expiration.This function must be provided with the parameter ack_req_dn_opportunity which value is a 8-bits integer. |
schc_set_idle_polling_timer() | To set the value of the idle polling timer that is used to create downlink opportunities on quasi-bidirectional links. This function must be provided with the parameter time which value is a 32-bits integer. |
schc_set_ack_retransmission_timer() | To set the value of the ACK retransmission timer that is used to create downlink opportunities on quasi-bidirectional links. This function must be provided with the parameter time which value is a 32-bits integer. |
Maximum ACK Requests​
The schc_set_max_ack_req();
function allows to set the value of MAX ACK REQUESTS
that indicates the number of time a sender will send an ACK before sending an ABORT message.
This function must be provided with the parameter max_ack_req
which value is a 8-bits integer.