From: gnawali Date: Fri, 20 Jun 2008 05:57:35 +0000 (+0000) Subject: document allocations in 2.1 X-Git-Tag: release_tinyos_2_1_0_0~224 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=3eef34f0e5c94a042e2a5d205d8bd7640ebaa518 document allocations in 2.1 --- diff --git a/doc/txt/tep135.txt b/doc/txt/tep135.txt new file mode 100644 index 00000000..471b2883 --- /dev/null +++ b/doc/txt/tep135.txt @@ -0,0 +1,95 @@ +=================================================================== +Active Message ID Allocation in TinyOS 2.1 +=================================================================== + +:TEP: 135 +:Group: Network Protocol Working Group +:Type: Documentary +:Status: Draft +:TinyOS-Version: 2.1 +:Author: Omprakash Gnawali + +:Draft-Created: 19-June-2008 +:Draft-Version: $Revision$ +:Draft-Modified: $Date$ +:Draft-Discuss: TinyOS Developer List + +.. Note:: + + This memo documents a part of TinyOS for the TinyOS Community, and + requests discussion and suggestions for improvements. Distribution + of this memo is unlimited. This memo is in full compliance with + [TEP_1]_ and [TEP_4]_. + + +1. Introduction +==================================================================== + +In this TEP, we document the Active Message Type [1]_ allocations +in TinyOS 2.1. + +2. Unreserved pool (0x80 - 0xFF) +--------------------------------- + +The unreserved pool is in the range 128-255 (0x80-0xFF). Applications +distributed with TinyOS use AM IDs in this range. Protocols and +applications in contrib as well as those developed by the community +but not included in the distribution or contrib SHOULD use AM IDs in +this range. + +3. Reserved pool (0x00 - 0x7F) +------------------------------- + +The reserved pool is in the range 0-127 (0x00-0x7F). The AM IDs in +this range are used by protocols distributed with TinyOS. + +Here is a list of allocations for TinyOS 2.1:: + + * 0x70 - 0x7F are reserved for collection protocols maintained by + the Network Protocol Working Group. + + 0x70 - CTP routing beacon and LEEP (''tos/lib/net/ctp'', TEP 119, 123, and 124) + 0x71 - CTP data packets (''tos/lib/net/ctp'', TEP 119, 123) + 0x72 - CTP debug messages (''tos/lib/net/ctp'') + 0x73 - MultiHopLQI routing beacon (''tos/lib/net/lqi'') + 0x74 - MultiHopLQI data packets (''tos/lib/net/lqi'') + 0x75 - MultiHopLQI debug messages (''tos/lib/net/lqi'') + + * 0x60 - 0x6F are reserved for dissemination protocols maintained by + the Network Protocol Working Group. + + 0x60 - Drip (''tos/lib/net/drip'', TEP 118) + 0x61 - DIP (''tos/lib/net/dip'', TEP 118) + + * 0x50 - 0x5F are reserved for Deluge (''tos/lib/net/Deluge'') + maintained by the Network Protocol Working Group. + + 0x50 - AM_DELUGEADVMSG (advertisements) + 0x51 - AM_DELUGEREQMSG (requests) + 0x52 - AM_DELUGEDATAMSG (data) + 0x53 - DELUGE_AM_FLASH_VOL_MANAGER (flash volume manager) + 0x54 - DELUGE_AM_DELUGE_MANAGER (deluge manger) + + * 0x3F - TinyOS NALP code (TEP 125) reserved by the Core Working + Group. + + +4. Author's Address +==================================================================== + +| Omprakash Gnawali +| Ronald Tutor Hall (RTH) 418 +| 3710 S. McClintock Avenue +| Los Angeles, CA 90089 +| +| phone - +1 213 821-5627 +| email - gnawali@usc.edu + +5. Citations +==================================================================== + +.. [TEP_1] TEP 1: TEP Structure and Keywords + +.. [TEP_4] TEP 4: Active Message ID Allocation for Network Protocols and Applications + +.. [1] TEP 116: Packet Protocols