Skip to content
This repository was archived by the owner on Jan 1, 2022. It is now read-only.
This repository was archived by the owner on Jan 1, 2022. It is now read-only.

Bug: uncaught exception preventing correct probing of connected modems #15

Description

@dumblob

The following lines were throwing an exception for me and because it went uncaught, the for cycle didn't loop further to probe other ttys which was effectively preventing to work for my modem. After catching the exception and skipping the rest of the iteration, the following iterations probed my modem correctly and the whole thing worked like a charm!

ser = serial.Serial(port = p,
timeout = 15)
ser.write('AT\r\n')
activity = ser.read(5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions