Logic to locate the begining of the packet for herkulex