It is an example of how the embOBJ can operate as host trasceiver.
More...
|
| eth::HostTransceiver::HostTransceiver () |
|
| eth::HostTransceiver::~HostTransceiver () |
|
bool | eth::HostTransceiver::init2 (AbstractEthResource *owner, yarp::os::Searchable &cfgtotal, eOipv4addressing_t &localIPaddressing, eOipv4addr_t remoteIP, uint16_t rxpktsize=maxSizeOfRXpacket) |
|
AbstractEthResource * | eth::HostTransceiver::getOwner () |
|
bool | eth::HostTransceiver::isEPsupported (const eOprot_endpoint_t ep) |
|
bool | eth::HostTransceiver::isID32supported (const eOprotID32_t id32) |
|
bool | eth::HostTransceiver::read (const eOprotID32_t id32, void *data) |
|
bool | eth::HostTransceiver::write (const eOprotID32_t id32, const void *data, bool forcewriteOfReadOnly) |
|
bool | eth::HostTransceiver::addROPset (const eOprotID32_t id32, const void *data, const uint32_t signature=eo_rop_SIGNATUREdummy) |
|
bool | eth::HostTransceiver::addROPask (const eOprotID32_t id32, const uint32_t signature=eo_rop_SIGNATUREdummy) |
|
bool | eth::HostTransceiver::parseUDP (const void *data, const uint16_t size) |
|
const void * | eth::HostTransceiver::getUDP (size_t &size, uint16_t &numofrops) |
|
bool | eth::HostTransceiver::getapplconfig (eOmn_appl_config_t &txcfg) |
|
AbstractEthResource * | eth::HostTransceiver::getResource () |
|
eOipv4addr_t | eth::HostTransceiver::getIPv4 () |
|
void | checkDataForDebug (uint8_t *data, uint16_t size) |
|
void | fromDouble (ACE_Time_Value &v, double x, int unit=1) |
|
| BoardTransceiver::BoardTransceiver () |
|
| BoardTransceiver::~BoardTransceiver () |
|
bool | BoardTransceiver::createSocket (ACE_INET_Addr local_addr) |
|
bool | BoardTransceiver::configure (yarp::os::ResourceFinder &rf) |
|
bool | BoardTransceiver::updateModule () |
|
bool | BoardTransceiver::init (yarp::os::Searchable &config, uint32_t localipaddr, uint32_t remoteipaddr, uint16_t ipport, uint16_t pktsize, FEAT_boardnumber_t board_n) |
|
virtual void | BoardTransceiver::onMsgReception (uint8_t *data, uint16_t size) |
|
void | BoardTransceiver::getTransmit (uint8_t **data, uint16_t *size) |
|
eOprotBRD_t | BoardTransceiver::get_protBRDnumber (void) |
|
It is an example of how the embOBJ can operate as host trasceiver.
◆ RECV_BUFFER_SIZE
#define RECV_BUFFER_SIZE 4000 |
◆ anonymous enum
◆ anonymous enum
◆ BoardTransceiver()
BoardTransceiver::BoardTransceiver |
( |
| ) |
|
◆ HostTransceiver()
HostTransceiver::HostTransceiver |
( |
| ) |
|
◆ ~BoardTransceiver()
BoardTransceiver::~BoardTransceiver |
( |
| ) |
|
◆ ~HostTransceiver()
HostTransceiver::~HostTransceiver |
( |
| ) |
|
◆ addROPask()
bool HostTransceiver::addROPask |
( |
const eOprotID32_t |
id32, |
|
|
const uint32_t |
signature = eo_rop_SIGNATUREdummy |
|
) |
| |
◆ addROPset()
bool HostTransceiver::addROPset |
( |
const eOprotID32_t |
id32, |
|
|
const void * |
data, |
|
|
const uint32_t |
signature = eo_rop_SIGNATUREdummy |
|
) |
| |
◆ checkDataForDebug()
void checkDataForDebug |
( |
uint8_t * |
data, |
|
|
uint16_t |
size |
|
) |
| |
◆ configure()
bool BoardTransceiver::configure |
( |
yarp::os::ResourceFinder & |
rf | ) |
|
◆ createSocket()
bool BoardTransceiver::createSocket |
( |
ACE_INET_Addr |
local_addr | ) |
|
◆ fromDouble()
void fromDouble |
( |
ACE_Time_Value & |
v, |
|
|
double |
x, |
|
|
int |
unit = 1 |
|
) |
| |
◆ get_protBRDnumber()
eOprotBRD_t BoardTransceiver::get_protBRDnumber |
( |
void |
| ) |
|
◆ getapplconfig()
bool eth::HostTransceiver::getapplconfig |
( |
eOmn_appl_config_t & |
txcfg | ) |
|
◆ getIPv4()
eOipv4addr_t HostTransceiver::getIPv4 |
( |
| ) |
|
◆ getOwner()
◆ getResource()
◆ getTransmit()
void BoardTransceiver::getTransmit |
( |
uint8_t ** |
data, |
|
|
uint16_t * |
size |
|
) |
| |
|
protected |
◆ getUDP()
const void * HostTransceiver::getUDP |
( |
size_t & |
size, |
|
|
uint16_t & |
numofrops |
|
) |
| |
◆ init()
bool BoardTransceiver::init |
( |
yarp::os::Searchable & |
config, |
|
|
uint32_t |
localipaddr, |
|
|
uint32_t |
remoteipaddr, |
|
|
uint16_t |
ipport, |
|
|
uint16_t |
pktsize, |
|
|
FEAT_boardnumber_t |
board_n |
|
) |
| |
◆ init2()
bool HostTransceiver::init2 |
( |
AbstractEthResource * |
owner, |
|
|
yarp::os::Searchable & |
cfgtotal, |
|
|
eOipv4addressing_t & |
localIPaddressing, |
|
|
eOipv4addr_t |
remoteIP, |
|
|
uint16_t |
rxpktsize = maxSizeOfRXpacket |
|
) |
| |
◆ isEPsupported()
bool HostTransceiver::isEPsupported |
( |
const eOprot_endpoint_t |
ep | ) |
|
◆ isID32supported()
bool HostTransceiver::isID32supported |
( |
const eOprotID32_t |
id32 | ) |
|
◆ onMsgReception()
void BoardTransceiver::onMsgReception |
( |
uint8_t * |
data, |
|
|
uint16_t |
size |
|
) |
| |
|
virtual |
◆ parseUDP()
bool HostTransceiver::parseUDP |
( |
const void * |
data, |
|
|
const uint16_t |
size |
|
) |
| |
◆ read()
bool HostTransceiver::read |
( |
const eOprotID32_t |
id32, |
|
|
void * |
data |
|
) |
| |
◆ updateModule()
bool BoardTransceiver::updateModule |
( |
| ) |
|
◆ write()
bool HostTransceiver::write |
( |
const eOprotID32_t |
id32, |
|
|
const void * |
data, |
|
|
bool |
forcewriteOfReadOnly |
|
) |
| |
◆ _fId
◆ devtxrx
EOdeviceTransceiver* BoardTransceiver::devtxrx |
|
protected |
◆ devtxrxcfg
eOdevicetransceiver_cfg_t BoardTransceiver::devtxrxcfg |
|
protected |
◆ localipaddr
uint32_t BoardTransceiver::localipaddr |
|
protected |
◆ nvset
EOnvSet* BoardTransceiver::nvset |
|
protected |
◆ oneNV
EOnv* BoardTransceiver::oneNV |
|
protected |
◆ p_RxPkt
EOpacket* BoardTransceiver::p_RxPkt |
|
protected |
◆ pApplStatus
eOmn_appl_status_t* BoardTransceiver::pApplStatus |
|
protected |
◆ pc104Addr
ACE_INET_Addr BoardTransceiver::pc104Addr |
|
protected |
◆ protboardnumber
eOprotBRD_t BoardTransceiver::protboardnumber |
|
protected |
◆ remoteipaddr
uint32_t BoardTransceiver::remoteipaddr |
|
protected |
◆ remoteipport
uint16_t BoardTransceiver::remoteipport |
|
protected |
◆ transceiver
EOtransceiver* BoardTransceiver::transceiver |
|
protected |
◆ UDP_socket
ACE_SOCK_Dgram* BoardTransceiver::UDP_socket |
|
protected |