Skip to content

Releases: nokia/moler

moler v1.9.0

25 Mar 10:59
8d8d2d4
Compare
Choose a tag to compare

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

10 Mar 10:16
307adc4
Compare
Choose a tag to compare

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

03 Mar 11:06
00700dc
Compare
Choose a tag to compare

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

19 Feb 09:40
08ab0a9
Compare
Choose a tag to compare

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

23 Jan 11:31
1955324
Compare
Choose a tag to compare

Fixed

  • SSH regex for fingerptint prompt

moler v1.5.0

22 Jan 12:24
0a78609
Compare
Choose a tag to compare

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

08 Jan 10:01
6d84f14
Compare
Choose a tag to compare

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 of load_config() is not needed, configuration type is autodetected

moler v1.3.1

12 Dec 09:53
7e3b50d
Compare
Choose a tag to compare
  • #259 - Option to disable log every occurrence for events
  • #260 - Fix remove device
  • #261 - Backward compatibility for load_device_from_config

moler v1.3.0

10 Dec 12:45
b0a11f6
Compare
Choose a tag to compare
  • #245 - Add entering to UNIX_LOCAL state when device is closing
  • #246 - Add devices when load config
  • #249 - Fix first moler prompt catch
  • #253 - Add UNIX devmem cmd
  • #254 - Remove properly new line chars on some connections

moler v1.2.0

27 Nov 11:56
863ee07
Compare
Choose a tag to compare
  • #238 - Possibility to forget device
  • #239 - Change number of retry whe terminal not operable yet, add logging buf…
  • #241 - fix calculating timeout of sudo command
  • #242 - Move documentation from end of file to class doctring