Check for modem AT port instead of hardcoding ttyUSB3
The following discussion from !2 (merged) should be addressed:
-
@angus.ainslie started a discussion: (+1 comment) We really should be checking for the modem AT port here rather than just guessing that it's ttyUSB3
See also !2 (comment 210693)
Not entirely sure. udevadm gives slightly different attributes for each port
udevadm info --attribute-walk --path=$(udevadm info --query=path --name=/dev/ttyUSB0)