functionconstructor

Inputs

TypeNameDefaultDescription
RealbaudrateSpeed of the serial link with the microcontroller (baud)
IntegerdataBitsNumber of data bits of the serial link (5 to 8)
IntegerparityParity of the serial link, machine.UART convention: -1 = none, 0 = even, 1 = odd
IntegerstopBitsNumber of stop bits of the serial link (1 or 2)
RealairBaudrateAir data rate (bit/s), radio frame 8N1
IntegertxBufferSizeSize of the transmit buffer (UART -> air), in bytes
IntegerrxBufferSizeSize of the receive buffer (air -> UART), in bytes
RealtxDelayFixed delay between the reception of a byte on the UART and its transmission on air (s)
RealrxDelayFixed delay between the reception of a byte on air and its transmission on the UART (s)
BooleanhalfDuplexThe module is deaf while it transmits
RealdrawnFMaxHighest frequency of the drawn carrier (fDisplay, plus deltaFDisplay in FSK), Hz
BooleanwarnSamplingWarn when the output interval of the simulation is too long to draw the carrier
StringinstanceNameComponent name, prefixed to the log messages

Outputs

TypeNameDefaultDescription
RadioModemmodem