1) I get a direct method request:
$iothub/methods/POST/MyMethodName/?$rid=1
2) For some reasons I do NOT send the response in
$iothub/methods/res/{status}/?$rid={request id}
3) Instead I send at once a twin update.
$iothub/twin/PATCH/properties/reported/?$rid=1 {"ignore": "false"}
But I do not get the response from IoT hub ($iothub/twin/res/204/?$rid=1
). I get nothing.
It seems that in this case I cannot establish twin properties until reconnect. I cannot get the twin properties too.
Why absence of response to direct method actually blocks work with twins? P.S. If I send a response to direct method request I can get/set twin properties with the same code.