资源简介
对TinyOS 代码规范,代码模式,实用性很好的flooding 路由样例。
代码片段和文件信息
#define nx_struct struct
#define nx_union union
#define dbg(mode format ...) ((void)0)
#define dbg_clear(mode format ...) ((void)0)
#define dbg_active(mode) 0
# 65 “/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h“
typedef signed char int8_t;
typedef unsigned char uint8_t;
# 104 “/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h“ 3
typedef int int16_t;
typedef unsigned int uint16_t;
typedef long int32_t;
typedef unsigned long uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
#line 155
typedef int16_t intptr_t;
typedef uint16_t uintptr_t;
# 235 “/usr/lib/ncc/nesc_nx.h“
static __inline uint8_t __nesc_ntoh_uint8(const void *source);
static __inline uint8_t __nesc_hton_uint8(void *target uint8_t value);
static __inline uint8_t __nesc_ntoh_leuint8(const void *source);
static __inline uint8_t __nesc_hton_leuint8(void *target uint8_t value);
static __inline int8_t __nesc_hton_int8(void *target int8_t value);
#line 269
static __inline uint16_t __nesc_hton_uint16(void *target uint16_t value);
static __inline uint16_t __nesc_ntoh_leuint16(const void *source);
static __inline uint16_t __nesc_hton_leuint16(void *target uint16_t value);
#line 385
typedef struct { char data[1]; } __attribute__((packed)) nx_int8_t;typedef int8_t __nesc_nxbase_nx_int8_t ;
typedef struct { char data[2]; } __attribute__((packed)) nx_int16_t;typedef int16_t __nesc_nxbase_nx_int16_t ;
typedef struct { char data[4]; } __attribute__((packed)) nx_int32_t;typedef int32_t __nesc_nxbase_nx_int32_t ;
typedef struct { char data[8]; } __attribute__((packed)) nx_int64_t;typedef int64_t __nesc_nxbase_nx_int64_t ;
typedef struct { char data[1]; } __attribute__((packed)) nx_uint8_t;typedef uint8_t __nesc_nxbase_nx_uint8_t ;
typedef struct { char data[2]; } __attribute__((packed)) nx_uint16_t;typedef uint16_t __nesc_nxbase_nx_uint16_t ;
typedef struct { char data[4]; } __attribute__((packed)) nx_uint32_t;typedef uint32_t __nesc_nxbase_nx_uint32_t ;
typedef struct { char data[8]; } __attribute__((packed)) nx_uint64_t;typedef uint64_t __nesc_nxbase_nx_uint64_t ;
typedef struct { char data[1]; } __attribute__((packed)) nxle_int8_t;typedef int8_t __nesc_nxbase_nxle_int8_t ;
typedef struct { char data[2]; } __attribute__((packed)) nxle_int16_t;typedef int16_t __nesc_nxbase_nxle_int16_t ;
typedef struct { char data[4]; } __attribute__((packed)) nxle_int32_t;typedef int32_t __nesc_nxbase_nxle_int32_t ;
typedef struct { char data[8]; } __attribute__((packed)) nxle_int64_t;typedef int64_t __nesc_nxbase_nxle_int64_t ;
typedef struct { char data[1]; } __attribute__((packed)) nxle_uint8_t;typedef uint8_t __nesc_nxbase_nxle_uint8_t ;
typedef struct { char data[2]; } __attribute__((packed)) nxle_uint16_t;typedef uint16_t __nesc_nxbase_nxle_uint16_t ;
typedef struct { char data[4]; } __attribute__((packed)) nxle_uint32_t;typedef uint32_t __nesc_nxbase_nxle_uint32_t ;
typedef struct
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1730 2010-11-15 16:52 Adhoc_Flooding\Adhoc_APP.h
文件 1984 2010-11-15 16:52 Adhoc_Flooding\Adhoc_APP.nc
文件 3582 2010-11-15 16:52 Adhoc_Flooding\Adhoc_APPM.nc
文件 2516 2010-11-15 16:52 Adhoc_Flooding\Adhoc_Route.h
文件 482278 2010-11-15 16:52 Adhoc_Flooding\build\zigbex\app.c
文件 31134 2010-11-15 16:52 Adhoc_Flooding\build\zigbex\main.exe
文件 40383 2010-11-15 16:52 Adhoc_Flooding\build\zigbex\main.hex
文件 39540 2010-11-15 16:52 Adhoc_Flooding\build\zigbex\main.srec
文件 40504 2010-11-15 16:52 Adhoc_Flooding\build\zigbex\tos_image.xm
文件 1351665 2010-11-15 16:52 Adhoc_Flooding\build\zigbex\wiring-check.xm
文件 2045 2010-11-15 16:52 Adhoc_Flooding\FloodingC.nc
文件 6706 2010-11-15 16:52 Adhoc_Flooding\FloodingM.nc
文件 109 2010-11-15 16:52 Adhoc_Flooding\Makefile
目录 0 2010-11-14 16:02 Adhoc_Flooding\build\zigbex
目录 0 2010-11-14 16:02 Adhoc_Flooding\build
目录 0 2010-11-14 16:02 Adhoc_Flooding
----------- --------- ---------- ----- ----
2004176 16
- 上一篇:iftop安装包
- 下一篇:基于PLC的液位控制系统
评论
共有 条评论