maxRetransmit property

int maxRetransmit
getter/setter pairinherited

The max times this message should be retransmitted if no ACK received. A value of 0 means that the CoapConstants.maxRetransmit time shoud be taken into account, while a negative means NO retransmission. The default value is 0.

Implementation

int maxRetransmit = 0;