You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using esp-link with El-Client for IBM Bluemix Watson IOT Platform. Many things works OK, but I've got a problem with PUBLISH request received from IOT broker (not: publish send from device).
but is altered during transfer to arduino-side (ElClient). The data is truncated and CRC is invalid (I changed ElClient code not to discard bad-crc packets):
so - the original request: iotdm-1/mgmt/custom/TM1638/display{"reqId":"e8994312-e116-4e0bbc97-9cff22bb2340","d":{"fields":[{"field":"text","value":"Test"}]}}
Hi
I'm using esp-link with El-Client for IBM Bluemix Watson IOT Platform. Many things works OK, but I've got a problem with PUBLISH request received from IOT broker (not: publish send from device).
This request arrives to ESPLink ok:
but is altered during transfer to arduino-side (ElClient). The data is truncated and CRC is invalid (I changed ElClient code not to discard bad-crc packets):
so - the original request:
iotdm-1/mgmt/custom/TM1638/display{"reqId":"e8994312-e116-4e0bbc97-9cff22bb2340","d":{"fields":[{"field":"text","value":"Test"}]}}
is changed/truncated to:
3 4F2 2 22 0 69 6F 74 64 6D 2D 31 2F 6D 67 6D 74 2F 63 75 73 74 6F 6D 2F 54 4D 31 36 33 38 2F 64 69 73 70 6C 61 79 61 0 7B 22 72 65 71 49 64 22 3A 22 65 38 39 39 34 33 31 32 2D 65 31 31 36 2D 34 65 30 62 2D 62 63 39 37 2D 39 63 66 66 32 32 62 62 32 33 34 30 22 2C 22 64 22 3A 6F 74 64 6D 2D 31 2F 6D 67 6D 74 2F 63 75 73 74 6F 6D 2F 54 4D 31 36 33 38 2F 64 69 73 70
which is:
iotdm-1/mgmt/custom/TM1638/display{"reqId":"e8994312-e116-4e0b-bc97-9cff22bb2340","d":otdm-1/mgmt/custom/TM1638/disp
so the CRC is also bad, which prevents this message from being accepted by ELClient::protoCompletedCb(void)
I wonder what should I change in order to have this working. Could You help?
The text was updated successfully, but these errors were encountered: