Gateway proxy entire Data flow design

Source: Internet
Author: User

Consider the entire data flow process from a STM32 perspective

First power on the factory, after the network message

1. The gateway proactively escalated the new F3EF node (after the gateway receives and queries the device type, after the type is determined, the gateway escalation node is canceled)
2. Central control active Query device type
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x10 0x00 0x06 0x00 0x00 0x0B c6>0x00 0x61 0x46
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0F 0x00 0x000x0b 0x03 0x01 0x27 0x11 0x02 0x27 0x12 0x03 0x27 0x12 0xBB 0x28

You can change the message of the reply to xx 0B

3. Central control actively cancels the gateway escalation node
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xF2 0x4E 0x00 0x10 0x00 0x0D 0x00 0x01 0x0E 0x00 0x12 0x4B 0x00 0x08 0xC 6 0xf3 0xEF 0xb9 0x7A
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xF2 0x4E 0x08 0x30 0x00 0x0D 0x00 0x01 0x0E 0x00 0x12 0x4B 0x00 0x08 0xC 6 0xf3 0xEF 0x03 0xF0

4. Power-on initialization message (node actively sends power up (0007) messages, the central control will proactively query the status of each virtual device (CH) (0000))
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x10 0x00 0x07 0x00 0x00 0x07 0x00 0x00 0x23 0xb9
5. The central control will proactively query the status of each virtual device (CH)
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x10 0x00 0x06 0x03 0x00 0x00 0x00 0x26 0x60
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x30 0x00 0x02 0x22 0x6e
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x10 0x00 0x06 0x02 0x00 0x00 0x00 0x50 0xd4
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x30 0x00 0x02 0x22 0x6e
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x10 0x00 0x06 0x01 0x00 0x00 0x00 0xCB 0x08
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x30 0x00 0x02 0x22 0x6e

Timing Data escalation
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x22 0x0 0 0x00 0x03 0x80 0x99 0x3d
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x36 0x0 0 0x00 0x01 0xb0 0x41 0xCF
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x03 0x01 0x00 0x00 0x00 0x00 0x00 0x1F 0x0 0 0x00 0x02 0x9a 0x32 0x09

cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x1C 0x0 0 0x00 0x01 0x4d 0xEA 0x5b
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x35 0x0 0 0x00 0x03 0x99 0xa4 0x7d
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x22 0x0 0 0x00 0x03 0x75 0xFE 0xCE

cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x22 0x0 0 0x00 0x03 0x6b 0xd5 0x78
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x37 0x0 0 0x00 0x00 0xDA 0x15 0x43
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x03 0x01 0x00 0x00 0x00 0x00 0x00 0x20 0x0 0 0x00 0x01 0xf4 0x83 0x25

cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x22 0x0 0 0x00 0x03 0xd6 0xa3 0x0E
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x36 0x0 0 0x00 0x01 0x36 0xb0 0x81
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x03 0x01 0x00 0x00 0x00 0x00 0x00 0x1E 0x0 0 0x00 0x03 0x41 0xD1 0x7F

Two. Two times power on, the message (the control received the telegram text, will query the status of each device (CH)) (query three status data, and not in accordance with the order of reporting in the control, this strange in control, the control has not received equipment CH1 when the query equipment CH2, has not received equipment 2, sent a query 3 )
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x10 0x00 0x07 0x00 0x00 0x07 0x00 0x00 0x23 0xb9

cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x10 0x00 0x060x03 0x00 0x00 0x000x26 0x60
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x30 0x00 0x02 0x22 0x6e
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x10 0x00 0x06 0x02 0x00 0x00 0x00 0x50 0xd4
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x29 0x0 0 0x00 0x02 0x9a 0x2B 0x2B
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x30 0x00 0x02 0x22 0x6e
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x10 0x00 0x06 0x01 0x00 0x00 0x00 0xCB 0x08
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x38 0x0 0 0x00 0x00 0xCA 0xBA 0xC2
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x00 0x30 0x00 0x02 0x22 0x6e
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xf3 0xEF 0x08 0x30 0x00 0x0E 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x23 0x0 0 0x00 0x02 0xF2 0x86 0xC1

Three. Delete a node
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xF2 0x4E 0x00 0x10 0x00 0x0D 0x00 0x01 0x0D 0x00 0x12 0x4B 0x00 0x08 0xC 6 0xf3 0xEF 0x94 0x3e
cpp:111# 0x44 0x55 0x00 0x12 0x4B 0x00 0x08 0xC6 0xF2 0x4E 0x08 0x30 0x00 0x0D 0x00 0x01 0x0D 0x00 0x12 0x4B 0x00 0x08 0xC 6 0xf3 0xEF 0x2e 0xb4

Gateway proxy entire Data flow design

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.