2008:venus_protocol
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
2008:venus_protocol [2008/12/15 12:25] – tomgee | 2008:venus_protocol [2008/12/19 18:19] (current) – tomgee | ||
---|---|---|---|
Line 2: | Line 2: | ||
Venus functions as a gateway between a local 485 network and a remote master which is connected via a TNC and radio. | Venus functions as a gateway between a local 485 network and a remote master which is connected via a TNC and radio. | ||
+ | |||
Line 10: | Line 11: | ||
* 0x80 BB Venus | * 0x80 BB Venus | ||
* 0x81 BB Loge | * 0x81 BB Loge | ||
+ | |||
+ | |||
Line 18: | Line 21: | ||
|1 |0xFE | |1 |0xFE | ||
|2 |0xaa |Destination address | | |2 |0xaa |Destination address | | ||
- | |3 |0xnn |packet data length | | + | |3 |0xaa |Source address | |
- | |4 |0xpp |Opcode | | + | |4 |0xnn |packet data length | |
- | |5-n|0xzz|data bytes| | + | |5 |0xpp |Opcode | |
+ | |6-n|0xzz|data bytes| | ||
|z1|CRC Lo|CRC byte lo| | |z1|CRC Lo|CRC byte lo| | ||
|z2|CRC Hi|CRC byte hi| | |z2|CRC Hi|CRC byte hi| | ||
+ | |||
+ | ==== LOGE Status Packet format ==== | ||
+ | |**Offset** |**contents** |**description** | | ||
+ | |0 |0x7F | ||
+ | |1 |0xFE | ||
+ | |2 |0xaa |Destination address | | ||
+ | |3 |0xaa |Source address | | ||
+ | |4 |0xnn |packet data length | | ||
+ | |5 |0xpp |Opcode | | ||
+ | |6|0xzz|Version Major| | ||
+ | |7|0xzz|Version Minor| | ||
+ | |8|0xzz|Inside T LSD| | ||
+ | |9|0xzz|Inside T MSD| | ||
+ | |10|0xzz|Outside T LSD| | ||
+ | |11|0xzz|Outside T MSD| | ||
+ | |12|0xzz|relays| | ||
+ | |12|0xzz|errors| | ||
+ | |z1|CRC Lo|CRC byte lo| | ||
+ | |z2|CRC Hi|CRC byte hi| | ||
==== Opcodes ==== | ==== Opcodes ==== | ||
Line 32: | Line 55: | ||
|0x04|VN_QUERY|Query the status of Venus functions| | |0x04|VN_QUERY|Query the status of Venus functions| | ||
|0x05|LG_STATUS_REPLY|Status reply from LOGE. This will be encapsulated in Venus data when forwarded.| | |0x05|LG_STATUS_REPLY|Status reply from LOGE. This will be encapsulated in Venus data when forwarded.| | ||
+ | |0x06|VN_STATUS_REPLY|Status reply of Venus data. | | ||
+ | |0x07|LG_RQTEMP_HISTORY|Request temperature history from LOGE. | | ||
+ | |0x08|VN_RQTEMP_HISTORY|Request temperature history from Venus. | | ||
+ | |||
+ | |||
==== Typical scenarios ==== | ==== Typical scenarios ==== | ||
- | 1. Venus periodically polls LOGE, LOGE responds with status | + | 1. BB Venus periodically polls LOGE, LOGE responds with status |
- | * VENUS: (presynch) 0x7f, 0xfe, (address)0x80, | + | * VENUS: (presynch) 0x7f, 0xfe, (dst address)0x81, |
+ | * LOGE: (presynch) 0x7f, 0xfe, (dst address)0x80, | ||
+ | 2. Downing Venus polls LOGE. BB Venus receives poll, sends to LOGE, LOGE responds, Venus sends it out the gateway to the TNC | ||
+ | * VENUS downing: (presynch) 0x7f, 0xfe, (dst address)0x81, | ||
+ | * VENUS BB: (presynch) 0x7f, 0xfe, (dst address)0x81, | ||
+ | * LOGE BB: (presynch) 0x7f, 0xfe, (dst address)0x00, | ||
+ | * VENUS BB: (presynch) 0x7f, 0xfe, (dst address)0x00, | ||
+ | |||
+ | |||
+ | |||
2008/venus_protocol.1229361910.txt.gz · Last modified: 2008/12/15 12:25 by tomgee