A method of transmitting messages from a sender to a recipient over a
wireless channel, the messages including a sequence counter and a frame
counter. The method comprises establishing initial values of the sequence
counter and the frame counter at the sender. Initial values of the frame
counter and the sequence counter are provided to the recipient. The
sender sends compressed messages including the value of the sequence
counter and not the frame counter and monitors for an acknowledgement of
receipt by the recipient. When no acknowledgment is received, the sender
sends uncompressed messages until an acknowledgement of receipt is
received from the recipient. The sequence counter is incremented and the
next value of the frame counter is established as the integer next larger
than previous value of the frame counter which is congruent to the
sequence counter modulo 256.