Construct a HQSL from scratch.
No syntax checking is performed at this stage, though it will happen when anything calls signedData.
Optional
fields: { Optional
extra?: stringExtra data.
Frequency in MHz.
QSL sender call sign.
Communication mode.
Optional
signal?: stringSignal report.
QSL recipient call sign.
QSO datetime in UTC.
QSL sender Maidenhead grid location.
Optional
extraExtra data.
Optional
freqFrequency.
Optional
fromSender's call sign
Optional
modeMode.
Optional
reservedReserved field. Don't use it.
Optional
signalSignal report.
Optional
signatureBinary signature data.
Optional
toCorrespondent's call sign.
Optional
verificationVerification results.
Optional
whenQSO date in UTC. Requires the use of date-fns to properly work in UTC.
Optional
whereSender's grid square
Derives an ADIF-standardized band name from frequency.
Derives a date in a generic ISO-like format for display.
Derives a datetime formatted as per HQSL standard.
Constructs a signable string from the HQSL, throwing SyntaxErrors in case of missing or malformed data fields.
The entire HQSL as string sans the signature field.
Static
fromADIFParses an ADIF file string to construct a series of HQSL. Whether any of it will be signable depends on how complete the ADIF was.
An ADIF file string.
The default call to assume if none is present in the record.
The default grid to assume if none is present in the record.
Error
in case of ADIF parsing errors and SyntaxError
when data of a QSO is insufficient to construct a valid HQSL.
Static
from
The HQSL object represents a QSO through the entire parsing, signing and verification life cycle.