DUNE: Uniform Navigational Environment
2.6.1
|
Public Member Functions | |
Driver (Tasks::Task *task, IO::Handle *handle) | |
~Driver (void) | |
void | sendReset (void) |
void | setAddress (unsigned addr) |
void | setSourceLevel (unsigned value) |
void | setLowGain (bool low_gain) |
void | setIdleTimeout (unsigned value) |
void | setRetryCount (unsigned value) |
void | setRetryCountIM (unsigned value) |
void | setRetryTimeout (unsigned value) |
std::string | getFirmwareVersion (void) |
void | setExtendedNotifications (bool enable) |
void | setPromiscuous (bool enable) |
void | setHighestAddress (unsigned value) |
void | sendIM (const uint8_t *data, size_t data_size, unsigned dst, bool ack) |
unsigned | getPropagationTime (void) |
unsigned | getSoundSpeed (void) |
void | setSoundSpeed (unsigned value) |
void | setCarrierWaveformID (unsigned value) |
void | setPositionDataOutput (bool enable) |
uint32_t | getClock (void) |
std::vector< unsigned > | getMultipathStructure (void) |
void | switchToNoiseState (void) |
void | switchToListenState (void) |
void | getRSSI (void) |
void | parse (const std::string &str, RecvIM &msg) |
|
inline |
Constructor.
[in] | task | parent task. |
[in] | handle | I/O handle. |
|
inline |
Destructor.
|
inline |
Retrieve value of system clock.
Referenced by Transports::Evologics::Task::keepAlive().
|
inline |
|
inline |
Retrieve a table illustrating the structure of the last received acoustic signal’s multipath propagation from its source to the local device.
Referenced by Transports::Evologics::Task::handleInstantMessage(), and Transports::Evologics::Task::handleInstantMessageDelivered().
|
inline |
Retrieve the last computed acoustic signal propagation time between communicating devices.
Referenced by Transports::Evologics::Task::handleInstantMessageDelivered().
|
inline |
|
inline |
Retrieve the configured sound speed.
|
inline |
References Transports::Evologics::RecvIM::ack, Transports::Evologics::RecvIM::bitrate, Transports::Evologics::RecvIM::data, Transports::Evologics::RecvIM::dst, Transports::Evologics::RecvIM::duration, getFirmwareVersion(), Transports::Evologics::RecvIM::integrity, Transports::Evologics::RecvIM::propagation_time, Transports::Evologics::RecvIM::rssi, Transports::Evologics::RecvIM::src, and Transports::Evologics::RecvIM::velocity.
Referenced by Transports::Evologics::Task::handleInstantMessage().
|
inline |
Send instant message.
[in] | data | data to send. |
[in] | data_size | number of bytes to send. |
[in] | dst | destination address. |
[in] | ack | true to wait for acknowledgment, false otherwise. |
Referenced by Transports::Evologics::Task::consume().
|
inline |
Reset device.
|
inline |
Set modem address.
[in] | addr | address. |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
|
inline |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Set highest address.
[in] | value | highest address. |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Set the timeout before closing an idle acoustic connection.
[in] | value | timeout (s). |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Set low gain mode.
Recommended for short distances or testing purposes.
[in] | low_gain | true to enable low gain, false otherwise. |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Set how many times will the device retry to establish an acoustic connection.
[in] | value | number of retries. |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Set the number of instant message delivery retries.
[in] | value | number of delivery retries. |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Set the time interval that the device waits for a response to its acoustic connection establishment request.
[in] | value | interval (millisecond). |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
Set sound speed.
[in] | value | sound speed (m/s). |
|
inline |
Set the sound pressure level (SPL) in transmission mode.
[in] | value | from 3 to 0. |
Referenced by Transports::Evologics::Task::onResourceInitialization().
|
inline |
|
inline |