ESP8266 protocol implementation

9 years 6 months ago #1221 by geir
68 01 FF FF 03 00 FF 00 65  Controller asking server for _nodeId (using 0xFFFF as it's _nodeId)
68 02 00 00 63 01 FF 02 D4 03 00  Server responding with 0x3000
68 01 03 00 00 05 00 00 6F  Controller presenting a temperature reading as sensor no. 0x00
68 01 03 00 E1 03 00 05 E8 A4 70 45 41 01  Controller sending temperature reading of 12.34 with 1 decimal position specified (sensor no. 0x00)
68 01 03 00 03 02 FF 00 75  Controller sending ping to keep the connection open if no new reading is to be transmitted

Please Log in or Create an account to join the conversation.

9 years 6 months ago #1229 by EasyIoT
You request ID if node ID is initial FFFF. Once you have ID store it in EEPROM and next time you do not need to request ID, because you read it from EEPROM. Next in protocol node presents it's type and sensors. After that you can send or receive values.

Please Log in or Create an account to join the conversation.

Time to create page: 0.239 seconds

Forum latest

  • No posts to display.