Skip to content

Commit 0e8a54a

Browse files
committed
chore: Switch LPWAN off deprecated method
1 parent da82500 commit 0e8a54a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ArduinoIoTCloudLPWAN.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ ArduinoIoTCloudLPWAN::ArduinoIoTCloudLPWAN()
6161

6262
int ArduinoIoTCloudLPWAN::connected()
6363
{
64-
return (_connection->getStatus() == NetworkConnectionState::CONNECTED) ? 1 : 0;
64+
return (_connection->check() == NetworkConnectionState::CONNECTED) ? 1 : 0;
6565
}
6666

6767
int ArduinoIoTCloudLPWAN::begin(ConnectionHandler& connection, bool retry)

src/property/PropertyContainer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void requestUpdateForAllProperties(PropertyContainer & prop_cont)
9595

9696
void updateTimestampOnLocallyChangedProperties(PropertyContainer & prop_cont)
9797
{
98-
/* This function updates the timestamps on the primitive properties
98+
/* This function updates the timestamps on the primitive properties
9999
* that have been modified locally since last cloud synchronization
100100
*/
101101
std::for_each(prop_cont.begin(),

0 commit comments

Comments
 (0)