X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=doc%2Ftxt%2Ftep123.txt;h=477d87dc30f3645e81918cea8f646445705e6db2;hb=d83395db4863024bf63003b79a8082caa8e0bb48;hp=687e7ab68afc4346bd91ce8f43aa271055e021f9;hpb=7638eb12c22e2e8abe75f05eee48bb1eaeb3d515;p=tinyos-2.x.git diff --git a/doc/txt/tep123.txt b/doc/txt/tep123.txt index 687e7ab6..477d87dc 100644 --- a/doc/txt/tep123.txt +++ b/doc/txt/tep123.txt @@ -72,8 +72,8 @@ ETX of its link to its parent. This additive measure assumes that nodes use link-level retransmissions. Given a choice of valid routes, CTP SHOULD choose the one with the lowest ETX value. CTP represents ETX values as 16-bit fixed-point real numbers with a precision of -hundredths. An ETX value of 451, for example, represents an ETX of -4.51, while an ETX value of 109 represents an ETX of 1.09. +hundredths. An ETX value of 45, for example, represents an ETX of 4.5, +while an ETX value of 10 represents an ETX of 1. Routing loops are a problem that can emerge in a CTP network. Routing loops generally occur when a node choose a new route that has a @@ -116,18 +116,18 @@ to do so. The CTP data frame format is as follows:: 1 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |P|C| reserved | THL | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | ETX | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | origin | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | seqno | collect_id | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + |P|C| reserved | THL | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | ETX | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | origin | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | seqno | collect_id | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | data ... - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Field definitions are as follows: @@ -159,12 +159,12 @@ acknowledgments enabled. The CTP routing frame format is as follows:: 1 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |P|C| reserved | parent | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | parent | ETX | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + |P|C| reserved | parent | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | parent | ETX | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ETX | +-+-+-+-+-+-+-+-+