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

📄 mviz.h

📁 tinyos-2.x.rar
💻 H
字号:
/*
 * Copyright (c) 2006 Intel Corporation
 * All rights reserved.
 *
 * This file is distributed under the terms in the attached INTEL-LICENSE     
 * file. If you do not find these files, copies can be found by writing to
 * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA, 
 * 94704.  Attention:  Intel License Inquiry.
 */

/**
 * @author David Gay
 * @author Kyle Jamieson
 * @author Phil Levis
 */

#ifndef MVIZ_H
#define MVIZ_H

#include "AM.h"

enum {
  /* Default sampling period. */
  DEFAULT_INTERVAL = 1024,
  AM_MVIZ_MSG = 0x93
};

typedef nx_struct mviz_msg {
  nx_uint16_t version; /* Version of the interval. */
  nx_uint16_t interval; /* Samping period. */
  nx_uint16_t origin; /* Mote id of sending mote. */
  nx_uint16_t count; /* The readings are samples count * NREADINGS onwards */
  nx_uint16_t reading;
  nx_uint16_t etx;
  nx_uint16_t link_route_value;
  nx_am_addr_t link_route_addr;
} mviz_msg_t;

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -