Device Calibration Writer Script (tendril-writecalib)

Writes calibration data to a device.

Hint

  • The calibration data is retrieved and calculated from the latest test results linked to the serial number of the device.
  • The commands to write to the device and the format of the calibration data are defined by the calibformat defined in the relevant product definition.

Script Usage

Write calibration parameters to device.

usage: tendril-writecalib [-h] [--version] [--detect MACTYPE] [--dry-run]
                          [SNO]
Positional arguments:
serialno Device serial number
Options:
--version show program’s version number and exit
--detect, -d Autodetect serial number using the specified MACTYPE. No effect if serial number specified.
--dry-run, -n Dry run only. Don’t actually write to device.
tendril.scripts.writecalib._get_parser()[source]

Constructs the CLI argument parser for the tendril-writecalib script.

tendril.scripts.writecalib.run(serialno=None)[source]

Write calibration to device.

Parameters:serialno – The serial number of the device.
tendril.scripts.writecalib.main()[source]

The tendril-writecalib script entry point.