Resolved the problem with the parsing of the incoming packet to an structure of GAPNodePacket.
Inside the header we had a text field of 4 bytes that was not well controlled, causing a misalignment of the information received.