I have been using uncompiled scripts on a module GE865QUAD with no problem. I am trying to switch over to compiled scripts to speed up the execution, but it isn’t quite working.
The problem I am getting is when I send a compiled script to the module, it doesn’t believe it is finished (different file size). For example:
Script sizes from windows explorer
script.py = 617 bytes
script.pyo = 817 bytes
This works fine
AT#WSCRIPT="script.py",617
>>[send file]
OK
This doesn’t
AT#WSCRIPT="script.pyo",817
>>[send file]
…nothing happens.
I was able to "exit" this by sending another file that is large enough to hit the 817 bytes mark. This made me think that the .pyo script is smaller than 817. Through some trial and error I got the following to work:
AT#WSCRIPT="script.pyo",373
>>[send file]
OK
But when I set this to active and run AT#EXECSCR, nothing happens.
I am using the GE865QUAD module running 10.00.002. I am using Tera Term to send AT commands and files with the settings:Transmit: CR+LF, Baud 115200, Data 8-bit, Parity None, Stop 1-bit, and Flow Control Hardware.
Any ideas?
How do you find file size? Try rsterm, it automatically discovers file size and uploads the files for you.
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
Hello,
I have been using uncompiled scripts on a module GE865QUAD with no problem. I am trying to switch over to compiled scripts to speed up the execution, but it isn’t quite working.
The problem I am getting is when I send a compiled script to the module, it doesn’t believe it is finished (different file size). For example:
Script sizes from windows explorer
script.py = 617 bytes
script.pyo = 817 bytes
This works fine
This doesn’t
…nothing happens.
I was able to "exit" this by sending another file that is large enough to hit the 817 bytes mark. This made me think that the .pyo script is smaller than 817. Through some trial and error I got the following to work:
But when I set this to active and run AT#EXECSCR, nothing happens.
I am using the GE865QUAD module running 10.00.002. I am using Tera Term to send AT commands and files with the settings:Transmit: CR+LF, Baud 115200, Data 8-bit, Parity None, Stop 1-bit, and Flow Control Hardware.
Any ideas?
How do you find file size? Try rsterm, it automatically discovers file size and uploads the files for you.