Hello Jenkins Builder, laforge, fixeria,

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/c/pysim/+/24034

to look at the new patch set (#3).

Change subject: Speed up AT command interface (~130 times faster)
......................................................................

Speed up AT command interface (~130 times faster)

Previous implementation waits 300ms for response after
each command issued. But many commands finish earlier.

This patch improves the command execution time by frequently
checking for the response to complete (i.e. ends with
OK or ERROR), or the occurence of a timeout (default 200ms).

Timeout can be adapted per command to support long response
times of certain commands like AT+COPS=? (network search)

Execution time benchmark (20 AT commands/responses):
Previous: 6.010s (100.0%)
New code: 0.045s (  0.7%)

Change-Id: I69b1cbc0a20d54791e5800bf27ebafc2c8606d93
---
M pySim/transport/modem_atcmd.py
1 file changed, 54 insertions(+), 22 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/34/24034/3
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/24034
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I69b1cbc0a20d54791e5800bf27ebafc2c8606d93
Gerrit-Change-Number: 24034
Gerrit-PatchSet: 3
Gerrit-Owner: Falkenber9 <robert.falkenb...@tu-dortmund.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-MessageType: newpatchset

Reply via email to