apppacket.h
来自「基于NesC/TinyOS的无线传感器网络测量节点源码」· C头文件 代码 · 共 38 行
H
38 行
/*
* Copyright (c) 2004-2007 Crossbow Technology, Inc.
* All rights reserved.
* See license.txt file included with the distribution.
*
* $Id: appPacket.h,v 1.1.4.1 2007/04/26 20:09:27 njain Exp $
*/
/**
* Definition of complete and final packet structure for this application.
*
* @file appPacket.h
* @author Martin Turon
*
* @version 2005/9/26 mturon Initial version
*
* These structure definitions are used by mig to auto-generate XML packet
* descriptions for parsing by tools such as XServe 2.0.
*
* Usage: mig xserve appPacket.h AppPacket
*/
#ifndef __APP_PACKET_H__
#define __APP_PACKET_H__
#include "XPacket.h"
#include "sensorboardApp.h"
enum { AM_APPPACKET = AM_XMULTIHOP_MSG };
typedef struct AppPacket {
TosHeader_t am;
XMeshHeader_t xmesh;
XDataMsg data;
} AppPacket;
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?