Protocol datatypes

class pygarmin.datatype.ProtocolData(tag, data)

Bases: DataType

The ProtocolData is comprised of a one-byte tag field and a two-byte data field. The tag identifies which kind of ID is contained in the data field, and the data field contains the actual ID.

The combination of tag value and data value must correspond to one of the protocols or data types specified.

get_tag()

Return the tag value.

The characters shown are translated to numeric values using the ASCII character set.

class pygarmin.datatype.ProtocolArray

Bases: DataType

The ProtocolArray is a list of ProtocolData structures.