File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -780,6 +780,7 @@ bool HostSetup::createModem(bool consoleDisplay)
780780
781781 yaml::Node modemProtocol = modemConf[" protocol" ];
782782 std::string portType = modemProtocol[" type" ].as <std::string>(" null" );
783+ std::string modemMode = modemProtocol[" mode" ].as <std::string>(" air" );
783784
784785 yaml::Node uartProtocol = modemProtocol[" uart" ];
785786 std::string uartPort = uartProtocol[" port" ].as <std::string>();
@@ -835,7 +836,12 @@ bool HostSetup::createModem(bool consoleDisplay)
835836 break ;
836837 }
837838
838- modemPort = new port::UARTPort (uartPort, serialSpeed, true );
839+ if (modemMode == MODEM_MODE_DFSI) {
840+ modemPort = new port::UARTPort (uartPort, serialSpeed, false , true );
841+ LogInfo (" RTS/DTR boot flags enabled" );
842+ } else {
843+ modemPort = new port::UARTPort (uartPort, serialSpeed, true , false );
844+ }
839845 LogInfo (" UART Port: %s" , uartPort.c_str ());
840846 LogInfo (" UART Speed: %u" , uartSpeed);
841847 }
You can’t perform that action at this time.
0 commit comments