
COMM-DRV/LIB High Level Functions
- BytesInReceiveBuffer -- Returns the number of bytes in the receive buffer
- BytesInTransmitBuffer -- Returns the number of bytes in the transmit buffer
- CdrvCheckTime -- Determine if time expired form a previous call to CdrvSetTime
- CdrvCrc16 -- Returns the 16bit CRC of a packet
- CdrvCrc32 -- Returns the 32bit CRC of a packet
- CdrvDelay -- Delay specified time
- CdrvGetPcb -- Returns a pointer to the port's PCB
- CdrvSetTime -- Sets a timer to a specified delay. Expiration is tested by CdrvCheckTime
- CdrvSetTimeoutFunction -- Sets the address of a function that gets called when Delay or
CdrvCheckTime is called
- CdrvSetTimerResolution -- Sets the timer resolution used by CdrvSetTime and Delay
- DtrOff -- Turns DTR off
- DtrOn -- Turns DTR on
- FlushReceiveBuffer -- Discards the contents of the receive buffer
- FlushTransmitBuffer -- Discards the contents of the transmit buffer
- GetByte -- Gets a byte from the receive buffer
- GetPaceTime -- Get the current inter-character pace time
- GetPacket -- Gets a packet from receive buffer
- GetString -- Gets a carriage return, line feed, or null terminated string from receive buffer
- GetTimeout -- Get the current timeout value
- InitializePort -- Initializes the serial port (Allocate buffers, cardtype, etc.)
- IsBreak -- Returns true if a break signal was detected
- IsCarrierDetect -- Returns true if carrier detected
- IsCts -- Returns true if CTS signal high
- IsDsr --Returns true if DSR signal high
- IsFramingError -- Returns true if a framing error occurred
- IsInputOverrun -- Returns true if the COMM-DRV receive buffer was overrun
- IsOverrunError -- Returns true if the UART receive register was overrun
- IsParityError -- Returns true if a parity error occurred
- IsPortAvailable -- Determine if a particular port is in use
- IsReceiveBufferEmpty -- Returns true if receive buffer is empty
- IsRing -- Returns true if ring detected
- IsTransmitBufferEmpty -- Returns true if transmit buffer is empty
- PeekChar -- Returns the next character from receive buffer non-destructively
- PutByte -- Queues a byte for transmission
- PutPacket -- Queues a packet for transmission
- PutString -- Outputs a null terminated string
- ReceiveBufferSize -- Returns the receive buffer size
- RtsOff -- Turns RTS off
- RtsOn -- Turns RTS on
- SendBreak -- Sends a break signal
- SetBaud -- Sets new baud rate
- SetFlowControlCharacters -- Sets characters used for flow control
- SetFlowControlThreshold -- Sets high and low receive buffer thresholds
- SetPaceTime -- Sets the current inter-character pace time
- SetPortCharacteristics -- Set line control parameters (baudrate, length, parity,etc.)
- SetTimeout -- Sets the current transmit/receive timeouts
- SpaceInReceiveBuffer -- Returns space unused in receive buffer
- SpaceInTransmitBuffer -- Returns space unused in transmit buffer
- TransmitBufferSize -- Returns transmit buffer size
- UnInitializePort -- Undo the effects of InitializePort (unhook vectors. release memory, etc.)
- WaitFor -- Outputs a string and waits for a matching response
- WaitForPeek -- Non-destructive WaitFor
- WaitForPeekTable -- Outputs a string and non-destructively waits for a matching response to a
table of strings
- WaitForTable -- Destructive WaitForPeekTable
COMM-DRV/LIB Modem Functions
- Dial -- Dials using the modem with the Hayes command set
- ModemAnswerMode -- Puts modem in answer mode
- ModemAttention -- Puts modem in command state
- ModemConnect -- Returns true if modem connection attained
- ModemGetCarrierSpeed -- Returns carrier speed
- ModemGetConnectSpeed -- Returns connect speed
- ModemHangup -- Hangup modem connection
- ModemInit -- Set modem initialization string
- ModemModifyString -- Modify modem string
COMM-DRV/LIB File Transfer Functions
- cdrvxfer_files -- Transmit or receive file(s) with specified protocol to completion
- cdrvxfer_getfiles -- Receive file(s) with specified protocol. Must be called several times till
transfer complete
- cdrvxfer_sendfiles -- Transmit file(s) with specified protocol. Must be called several times till
transfer complete
- cdrvxfer_sfiles -- Transmit or receive file(s) with
specified protocol to completion (additional features)
- FileTransferDialog -- Enables an automatic dialog to be displayed on some of the file transfer functions
- SetXferParameters -- Set file transfer parameters
- TransferFiles -- Transfer files
COMM-DRV/LIB Low Level Functions
- ser_rs232_block -- Set timeouts on character reception & trasmission
- ser_rs232_cleanup -- Uninstalls a port
- ser_rs232_dtr_off -- Turns the DTR signal off
- ser_rs232_dtr_on -- Turns the DTR signal on
- ser_rs232_flush -- Selectively fushes input and output buffers
- ser_rs232_get_sdata -- Gets pointer to COMM-DRV system data area
- ser_rs232_getbyte -- Reads a byte from input buffer
- ser_rs232_getpacket -- Reads a packet from input buffer
- ser_rs232_getport -- Gets port information
- ser_rs232_getstatus -- Gets port modem and line status
- ser_rs232_maxport -- Returns the highest addressable port number
- ser_rs232_misc_func -- COMM-DRV multiplex function. Used to setup user callback functions,
initialize certain variables, etc.
- ser_rs232_putbyte -- Queues a byte for transmission
- ser_rs232_putpacket -- Queues a packet for transmission
- ser_rs232_putregister -- Writes to specified 8250 type register
- ser_rs232_rts_off -- Turns RTS off
- ser_rs232_rts_on -- Turns RTS on
- ser_rs232_set_intfunc -- Setup user interrupt functions (user callback)
- ser_rs232_setbauddiv -- Sets baudrate divisor for 8250 style UARTs
- ser_rs232_setup -- Installs or modify a serial port
- ser_rs232_viewpacket -- Non-destructively reads a packet from input buffer
Returned to the COMM-DRV Main Page
COMM-DRV/LIB Features
Home ||
Shopping Cart ||
Site Map ||
Newsletter/Blog
Search HALLoGRAM ||
Request More Information CALL TOLL FREE 1-866-340-3404
|