Skip to content

Commit 25f7990

Browse files
committed
[feature] #3
1 parent abf76af commit 25f7990

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

iot_protocol.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,11 @@ uint16_t IoTApp::generateRequestId()
216216
return id;
217217
}
218218

219+
IoTRequest *IoTApp::signal(IoTRequest *request) {
220+
request->method = EIoTMethod::SIGNAL;
221+
return this->send(request, NULL);
222+
}
223+
219224
IoTRequest *IoTApp::send(IoTRequest *request, IoTRequestResponse *requestResponse)
220225
{
221226

0 commit comments

Comments
 (0)