@@ -155,6 +155,17 @@ void ArduinoIoTCloudLPWAN::printDebugInfo() {
155
155
Debug.print (DBG_INFO, " Thing ID: %s" , getThingId ().c_str ());
156
156
}
157
157
158
+ /* *****************************************************************************
159
+ * PRIVATE MEMBER FUNCTIONS
160
+ ******************************************************************************/
161
+
162
+ void ArduinoIoTCloudLPWAN::sendPropertiesToCloud () {
163
+ uint8_t data[DEFAULT_CBOR_LORA_MSG_SIZE];
164
+ int const length = _thing.encode (data, sizeof (data), true );
165
+ if (length > 0 ) {
166
+ writeProperties (data, length);
167
+ }
168
+ }
158
169
159
170
int ArduinoIoTCloudLPWAN::writeProperties (const byte data[], int length) {
160
171
int retcode = _connection->write (data, length);
@@ -168,18 +179,6 @@ int ArduinoIoTCloudLPWAN::writeProperties(const byte data[], int length) {
168
179
return 1 ;
169
180
}
170
181
171
- /* *****************************************************************************
172
- * PRIVATE MEMBER FUNCTIONS
173
- ******************************************************************************/
174
-
175
- void ArduinoIoTCloudLPWAN::sendPropertiesToCloud () {
176
- uint8_t data[DEFAULT_CBOR_LORA_MSG_SIZE];
177
- int const length = _thing.encode (data, sizeof (data), true );
178
- if (length > 0 ) {
179
- writeProperties (data, length);
180
- }
181
- }
182
-
183
182
/* *****************************************************************************
184
183
* EXTERN DEFINITION
185
184
******************************************************************************/
0 commit comments