⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 apppacket.h

📁 基于NesC/TinyOS的无线传感器网络测量节点源码
💻 H
字号:
/*
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -