Functions
serial_transport_arduino.c File Reference

Mercury API - Sample serial transport that does nothing. More...

#include "WProgram.h"
#include "tm_reader.h"
Include dependency graph for serial_transport_arduino.c:

Go to the source code of this file.

Functions

static TMR_Status s_flush (TMR_SR_SerialTransport *transport)
static TMR_Status s_open (TMR_SR_SerialTransport *transport, const char *deviceName)
static TMR_Status s_open (TMR_SR_SerialTransport *transport)
static TMR_Status s_receiveBytes (TMR_SR_SerialTransport *transport, uint32_t length, uint32_t *messageLength, uint8_t *message, const uint32_t timeoutMs)
static TMR_Status s_sendBytes (TMR_SR_SerialTransport *transport, uint32_t length, uint8_t *message, const uint32_t timeoutMs)
static TMR_Status s_setBaudRate (TMR_SR_SerialTransport *transport, uint32_t rate)
static TMR_Status s_shutdown (TMR_SR_SerialTransport *transport)
TMR_Status TMR_SR_SerialTransportNativeInit (TMR_SR_SerialTransport *transport, TMR_SR_SerialPortNativeContext *context, const char *device)

Detailed Description

Mercury API - Sample serial transport that does nothing.

Author:
Brian Fiegel
Date:
11/16/2010

Definition in file serial_transport_arduino.c.


Function Documentation

static TMR_Status s_flush ( TMR_SR_SerialTransport transport) [static]

Definition at line 175 of file serial_transport_arduino.c.

static TMR_Status s_open ( TMR_SR_SerialTransport transport,
const char *  deviceName 
) [static]

Definition at line 39 of file serial_transport_arduino.c.

static TMR_Status s_open ( TMR_SR_SerialTransport transport) [static]

Definition at line 70 of file serial_transport_arduino.c.

static TMR_Status s_receiveBytes ( TMR_SR_SerialTransport transport,
uint32_t  length,
uint32_t *  messageLength,
uint8_t *  message,
const uint32_t  timeoutMs 
) [static]

Definition at line 98 of file serial_transport_arduino.c.

static TMR_Status s_sendBytes ( TMR_SR_SerialTransport transport,
uint32_t  length,
uint8_t *  message,
const uint32_t  timeoutMs 
) [static]

Definition at line 81 of file serial_transport_arduino.c.

static TMR_Status s_setBaudRate ( TMR_SR_SerialTransport transport,
uint32_t  rate 
) [static]

Definition at line 143 of file serial_transport_arduino.c.

static TMR_Status s_shutdown ( TMR_SR_SerialTransport transport) [static]

Definition at line 160 of file serial_transport_arduino.c.

TMR_Status TMR_SR_SerialTransportNativeInit ( TMR_SR_SerialTransport transport,
TMR_SR_SerialPortNativeContext *  context,
const char *  device 
)

Definition at line 204 of file serial_transport_arduino.c.



thingmagic_rfid
Author(s): Brian Bingham
autogenerated on Thu May 16 2019 03:01:25