I checked and I found an error in the code.
When I accept data from a module (after receiving the IMEI), I send an integer (4 bytes) instead of a single byte.
Is this a normal behavior that a wrong response for the IMEI approval doesn't refuse the data packet but it although send that without checking the ack?