2 thoughts on “simultaneous use of serial with python script and external AT commands or communication”
i have an application that is using serial1 interface to comunicate another device. As i understand if i use serial interface with script; it isnt available for at commands anymore
I was using that interface to output of software output so if something goes wrong i could see what it was.
so my question is is it possible to send a flag to python script engine to release serial port or begin transmit trace output or function call with at command or change a variable of a class with at command
i may do this using software with special command (which i will make i up) software takes stops communicating device and begin tracing.
But i need a better way first of all trace output was 115200 baud but communicating with device is 9600.
i hope i could have explained it
Thank you
You can have AT interface and Python running in the same time, see page 83 of Telit Easy Script in Python.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
i have an application that is using serial1 interface to comunicate another device. As i understand if i use serial interface with script; it isnt available for at commands anymore
I was using that interface to output of software output so if something goes wrong i could see what it was.
so my question is is it possible to send a flag to python script engine to release serial port or begin transmit trace output or function call with at command or change a variable of a class with at command
i may do this using software with special command (which i will make i up) software takes stops communicating device and begin tracing.
But i need a better way first of all trace output was 115200 baud but communicating with device is 9600.
i hope i could have explained it
Thank you
You can have AT interface and Python running in the same time, see page 83 of Telit Easy Script in Python.
To de-import SER module see this thread in forum.
A third option is to use a software "gate", using SER module as needed, switching modes at a certain signal, GPIO or flag in data stream.