Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Abnormal execution time #2

Closed
jocelynke opened this issue Mar 5, 2020 · 4 comments
Closed

[BUG] Abnormal execution time #2

jocelynke opened this issue Mar 5, 2020 · 4 comments
Assignees
Labels
bug Something isn't working Work In progress The developers are working to fix the issue

Comments

@jocelynke
Copy link

Describe the bug
Very long execution time for at command AT+CSQ : about 3 seconds

To Reproduce
Run the following code :

atrunenv = ATRuntimeEnvironment(True)
atrunenv.configure_communicator(serial_port="/dev/ttyUSB2", baud_rate=9600, timeout=5)
atrunenv.open_serial()
response = atrunenv.exec("AT+CSQ;;OK;;0;;;;['AT+CSQ=?{rssi},','AT+CSQ=${rssi},?{ber}']")
print(response.full_response)
print(response.execution_time)

Expected behavior
An execution time lesser than 1 seconds

Desktop (please complete the following information):

  • OS: Linux
  • Architecture ARM
  • Python version 3.7.4
  • ATtila version 1.1.3

Additional context
The command used below (AT+CSQ) ran through a minicom returns instantly.
The same code with command "AT;;OK;;0" takes about 950ms, which is also quite high.

@jocelynke jocelynke added the bug Something isn't working label Mar 5, 2020
@veeso
Copy link
Owner

veeso commented Mar 5, 2020

Hi,

thank you for reporting this issue.
Yes, the execution time was very slow on low baud rate and I managed to speed it up.
The current changes have been made in 'dev' branch.
I think the release will be published by the end of the day.

@veeso veeso added the Work In progress The developers are working to fix the issue label Mar 5, 2020
@jocelynke
Copy link
Author

Great ! I'll try again with the next release

@veeso
Copy link
Owner

veeso commented Mar 5, 2020

Fixed in commit c366fe5

ATtila 1.1.4 has been published.
Test it and let me know if you have other issues.

@veeso veeso closed this as completed Mar 5, 2020
@jocelynke
Copy link
Author

Fix confirmed ! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Work In progress The developers are working to fix the issue
Projects
None yet
Development

No branches or pull requests

2 participants