I am facing an issue running an AT command python script on the Balena environment. The script works fine on a normal Raspbian environment, but when deployed on Balena it gives error:-
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Weirdly enough as soon as I give a reboot command the script seems to be working perfectly until the reboot completes after the reboot it’s back to the same error.
I have enabled privileged mode during the build, any advice on resolving this issue?