Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/CellularConnectionHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ CellularConnectionHandler::CellularConnectionHandler(const char * pin, const cha

unsigned long CellularConnectionHandler::getTime()
{
return _cellular.getCellularTime().getUNIXTimestamp();
return _cellular.getCellularTime(false).getUNIXTimestamp();
}

UDP & CellularConnectionHandler::getUDP()
Expand All @@ -63,7 +63,7 @@ NetworkConnectionState CellularConnectionHandler::update_handleInit()
return NetworkConnectionState::ERROR;
}

if (!_cellular.connect(String(_settings.cell.apn), String(_settings.cell.login), String(_settings.cell.pass))) {
if (!_cellular.connect(String(_settings.cell.apn), String(_settings.cell.login), String(_settings.cell.pass), false)) {
Debug.print(DBG_ERROR, F("The board was not able to register to the network..."));
return NetworkConnectionState::ERROR;
}
Expand Down
Loading