Releases: nokia/moler
Releases · nokia/moler
moler v1.9.0
Added
- New method of converting string to int for whole dict.
Improved
- Keep state in background does not block main flow
- data_received() of commands & events gets additional parameter: time when data was caught on connection
- Improvement parsing in command ls.
- Commands, events and callbacks data processing is done in separate thread to secure connection reads against blocking them by commands/events/callbacks.
moler v1.8.0
Added
- AdbRemote device - new state ADB_SHELL_ROOT
- allow firing android-linux commands that need root
- access to .start_time of any ConnectionObserver
- help in extending its timeout (calculating its "already passed life-time")
Improved
- hardening Iperf2 against multiple echo at command startup (observed under cygwin)
- better display of regexp patterns in logs - simplify troubleshooting
- str(CommandChangingPrompt) display expected prompt regexp - simplify troubleshooting
- cmd.unix.exit.Exit got new parameter allowed_newline_after_prompt
- allowed_newline_after_prompt=True helps to operate with cygwin
moler v1.7.0
Added
- AdbRemote device being state machine capable to reach ADB_SHELL state
- allow firing android-linux commands from within android device
- ADB commands:
- adb_shell
- AT commands:
- plink_serial
Improved
- AtRemote device uses 'plink -serial' to proxy serial into stdin/stdout
- State Machines definition: commands allowed for state may be specified using module name
- previously (only packages): ['moler.cmd.at'], now: ['moler.cmd.at', 'moler.cmd.unix.ctrl_c']
- helps in code reuse while keeping commands under related device folder
- Improved connection decoder inside ThreadedTerminal: cleaning output from VT100 terminal codes (not all)
Fixed
- GenericAtCommand treats 'NO CARRIER' console output as error indication
moler v1.6.0
Added
- Publisher class - Moler implementation of Publisher-Subscriber Design Pattern
- Iperf2 command publishing intermediate reports to all subscribed "observers"
- AT commands:
- at(AT)
- attach(AT+CGATT=1), detach(AT+CGATT=0), get_attach_state(AT+CGATT?)
- get_imei(AT+CGSN)
- get_imsi(AT+CIMI)
- get_manufacturer_id(AT+CGMI)
- get_revision_id(AT+CGMR)
- moler_serial_proxy tool proxing between serial connection and stdio/stdout
- AtRemote device being state machine capable to reach AT_REMOTE state and issue AT commands
- (controlling AT console available over serial connection on remote machine)
Improved
- CommandTextualGeneric may set direct path to command executable
- (f.ex. OS may default 'iperf' to '/usr/bin/iperf' but user wants '/usr/local/bin/iperf')
Fixed
- ConnectionObserver, AbstractDevice were unable to be used inside multiple inheritance
moler v1.5.1
Fixed
- SSH regex for fingerptint prompt
moler v1.5.0
Added
- Termianl binary debug
Improved
- CI pipeline
- ls command
Changed
- Redefined timeout for telnet and ssh
- RegexHelper checks if parameter is not None
moler v1.4.0
Changed
- connection name returned by iperf2 uses "port@host" format to not confuse on IPv6 (fd00::1:0:5901 -> 5901@fd00::1:0)
Deprecated
config_type
parameter ofload_config()
is not needed, configuration type is autodetected