Skip to content

Commit

Permalink
Merge branch 'feature/waveform_init'
Browse files Browse the repository at this point in the history
  • Loading branch information
luis109 committed May 19, 2022
2 parents 2182dc5 + a879688 commit 767acc5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Transports/Evologics/Task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ namespace Transports
bool low_gain;
//! Source level.
unsigned source_level;
//! Carrier waveform ID.
unsigned waveform_id;
//! Connection retry count.
unsigned con_retry_count;
//! Connection retry timeout.
Expand Down Expand Up @@ -152,6 +154,12 @@ namespace Transports
.maximumValue("3")
.description("Signal transmission source level during data exchange");

param("Waveform ID", m_args.waveform_id)
.defaultValue("2")
.minimumValue("0")
.maximumValue("2")
.description("Carrier waveform ID for Evologics modems");

param("Connection Retry Count", m_args.con_retry_count)
.defaultValue("3")
.minimumValue("0")
Expand Down Expand Up @@ -380,6 +388,7 @@ namespace Transports
m_driver->setHighestAddress(m_args.highest_addr);
m_driver->setPositionDataOutput(true);
m_driver->setPromiscuous(true);
m_driver->setCarrierWaveformID(m_args.waveform_id);
m_driver->setExtendedNotifications(true);
m_kalive_counter.setTop(m_args.kalive_tout);
setEntityState(IMC::EntityState::ESTA_NORMAL, Status::CODE_ACTIVE);
Expand Down

0 comments on commit 767acc5

Please sign in to comment.