HARDWARE command Ack

Hello everyone,

According the article https://github.com/blynkkk/blynk-server/blob/master/docs/README_FOR_APP_DEVS.md Blynk server shoold send response after each request

Client sends commands to the server and gets response for every command sent. For commands (register, login, saveProfile, hardware) that doesn’t request any data back - ‘response’ (command field 0x00) message is returned. For commands (loadProfile, getToken) that request data back - message will be returned with same command code. In case you sent ‘loadProfile’ you will receive ‘loadProfile’ command back with filled body.

But if client sent correct HARDWARE command (VirtualWrite) server doesn’t send back any acknowledgment

Is it a correct behavior?

Thanks!

For commands (register, login, saveProfile, hardware) that doesn’t request any data back - ‘response’ (command field 0x00) message is returned

Sounds like that is the intended response.

Perhaps more details on what you are trying to do, expect to happen with “response”, etc.

You can also use the HTTP API if you like.

This is exactly what I expected to see - response from server with command field 0x00, but server keeps silence

Look at the message flow:

I tried to use http api at first but faced unexpected behavior. After device send data to Blynk Cloud over HTTP API mobile client successfully displays it, but last connect time in mobile app (iOS) doesn’t refresh.

Using TCP Blynk protocol solve this problem

Probably not an issue, yet, but 8442 is a “discontinued” port…

1 Like

This is not “unexpected”.