📄 readme
字号:
1. INTRODUCTION This application tests the Physical Layer (PHY) developed at USC/ISI andUCLA. The primary component of the physical layer that provides the interfaceto upper layer is PHY_RADIO. The mote programmed by this application is atransmitter that sends out different lengths of packets in different packetintervals.2. FUNCTIONALITY There are 4 groups of packets to be sent1) Fixed-length packets with a fixed packet interval defined by TST_PKT_INTERVAL.2) Variable-length packets with the same fixed packet interval, TST_PKT_INTERVAL.3) Fixed-length packets without packet interval (back-to-back), i.e, start sending the second packet as soon as sending the first packet is done.4) Variable-length packets without packet interval (back-to-back).3. HOW TO USE To use all the default parameters, simply type 'make mica' and/or 'makeinstall mica'. The following parameters can be defined in the config.h file. If not defined, default values will be used. Parameter Description Default Value PHY_MAX_PKT_LEN Maximum pkt length 100 bytesTST_NUM_PKTS Number of pkts being sent in each group 100TST_PKT_INTERVAL Fixed pkt interval for group 1 and 2 10 msTST_GRP_INTERVAL Pause time between each group 1000 ms4. NOTES1) This application is to be used with a receiver part, which is atapps/PhyTestReceiver/.2) You can use a snooper (at apps/Snooper/) to see the contents of each packet.Please note that the sender does NOT clean the memory for each packet. So whensending variable length packets, a long packet following a short packet willcontain all the payload of the short packet. Don't simply think that packet iscorrupted because of the non-zero payload.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -