mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-23 13:58:33 +03:00
transport: Extend the documentation for each transport driver
This driver description we add to the code is automatically added to the respective user manual sections. Change-Id: I8807bfb11f43b167f1321d556e09ec5234fff629
This commit is contained in:
@@ -244,7 +244,9 @@ class SerialSimLink(LinkBase):
|
||||
|
||||
@staticmethod
|
||||
def argparse_add_reader_args(arg_parser: argparse.ArgumentParser):
|
||||
serial_group = arg_parser.add_argument_group('Serial Reader')
|
||||
serial_group = arg_parser.add_argument_group('Serial Reader', """Use a simple/ultra-low-cost serial reader
|
||||
attached to a (physical or USB/virtual) RS232 port. This doesn't work with all RS232-attached smart card
|
||||
readers, only with the very primitive readers following the ancient `Phoenix` or `Smart Mouse` design.""")
|
||||
serial_group.add_argument('-d', '--device', metavar='DEV', default='/dev/ttyUSB0',
|
||||
help='Serial Device for SIM access')
|
||||
serial_group.add_argument('-b', '--baud', dest='baudrate', type=int, metavar='BAUD', default=9600,
|
||||
|
||||
Reference in New Issue
Block a user