User Tools

Site Tools


2008:venus_protocol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
2008:venus_protocol [2008/12/15 12:30] tomgee2008: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 27: Line 29:
  
  
 +==== LOGE Status Packet format ====
 +|**Offset** |**contents** |**description** |
 +|0      |0x7F     |Presynch1 |
 +|1      |0xFE     |Presynch2 |
 +|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 36: Line 56:
 |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. | |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. |
  
  
Line 41: Line 63:
  
 ==== 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, (dst address)0x81, (src address)0x80, (opcode) 0x02, (length) 0x06, crc lo, crc hi   * VENUS: (presynch) 0x7f, 0xfe, (dst address)0x81, (src address)0x80, (opcode) 0x02, (length) 0x06, crc lo, crc hi
   * LOGE: (presynch) 0x7f, 0xfe, (dst address)0x80, (src address)0x81, (opcode) 0x02, (length) 0x06, crc lo, crc hi   * LOGE: (presynch) 0x7f, 0xfe, (dst address)0x80, (src address)0x81, (opcode) 0x02, (length) 0x06, crc lo, crc hi
 +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, (src address)0x00, (opcode) 0x02, (length) 0x06, crc lo, crc hi
 +  * VENUS BB: (presynch) 0x7f, 0xfe, (dst address)0x81, (src address)0x00, (opcode) 0x02, (length) 0xxx, 
 +  * LOGE BB: (presynch) 0x7f, 0xfe, (dst address)0x00, (src address)0x81, (opcode) 0x05, (length) 0xxx, crc lo, crc hi
 +  * VENUS BB: (presynch) 0x7f, 0xfe, (dst address)0x00, (src address)0x80, (opcode) 0x07, (length) 0xxx, 
 +
 +
 +
  
  
2008/venus_protocol.1229362234.txt.gz · Last modified: 2008/12/15 12:30 by tomgee