SoftwareSerial changing speed unexpectedly

AntoineCa:
And sorry for not showing my code, but unfortunately I am not allowed to show it...

If that means it is a commercial project it is not fair to be expecting free advice from people here. Pay a professional for advice.

...R