testmsg.h
来自「tinyos最新版」· C头文件 代码 · 共 22 行
H
22 行
// message format for testing the physical layer -- PhyRadio#ifndef TEST_MSG#define TEST_MSG// include physical layer header defination#include "PhyRadioMsg.h"typedef struct { PhyHeader hdr; // include lower-layer header first uint8_t seqNo;} AppHeader;/* AppHeader should be the same as the sender */typedef struct { AppHeader hdr; char data[20]; int16_t crc; // crc must be the last field -- required by PhyRadio} AppPkt;#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?