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

📄 app.c

📁 针对wsn网络
💻 C
📖 第 1 页 / 共 5 页
字号:
#define dbg(mode, format, ...) ((void)0)#define dbg_clear(mode, format, ...) ((void)0)#define dbg_active(mode) 0# 60 "/usr/local/avr/include/inttypes.h"typedef signed char int8_t;typedef unsigned char uint8_t;# 83 "/usr/local/avr/include/inttypes.h" 3typedef int int16_t;typedef unsigned int uint16_t;typedef long int32_t;typedef unsigned long uint32_t;#line 117typedef long long int64_t;typedef unsigned long long uint64_t;#line 134typedef int16_t intptr_t;typedef uint16_t uintptr_t;# 213 "/usr/local/lib/gcc-lib/avr/3.3-tinyos/include/stddef.h" 3typedef unsigned int size_t;#line 325typedef int wchar_t;# 60 "/usr/local/avr/include/stdlib.h"typedef struct __nesc_unnamed4242 {  int quot;  int rem;} div_t;typedef struct __nesc_unnamed4243 {  long quot;  long rem;} ldiv_t;typedef int (*__compar_fn_t)(const void *, const void *);# 151 "/usr/local/lib/gcc-lib/avr/3.3-tinyos/include/stddef.h" 3typedef int ptrdiff_t;# 91 "C:/tinyos/cygwin/opt/tinyos-1.x/tos/system/tos.h"typedef unsigned char bool;enum __nesc_unnamed4244 {  FALSE = 0,   TRUE = 1};uint16_t TOS_LOCAL_ADDRESS = 1;enum __nesc_unnamed4245 {  FAIL = 0,   SUCCESS = 1};static inline uint8_t rcombine(uint8_t r1, uint8_t r2);typedef uint8_t  result_t;static inline result_t rcombine(result_t r1, result_t r2);static inline #line 133result_t rcombine4(result_t r1, result_t r2, result_t r3, result_t r4);enum __nesc_unnamed4246 {  NULL = 0x0};# 81 "/usr/local/avr/include/avr/pgmspace.h"typedef void __attribute((__progmem__)) prog_void;typedef char __attribute((__progmem__)) prog_char;typedef unsigned char __attribute((__progmem__)) prog_uchar;typedef int __attribute((__progmem__)) prog_int;typedef long __attribute((__progmem__)) prog_long;typedef long long __attribute((__progmem__)) prog_long_long;# 124 "C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/avrhardware.h"enum __nesc_unnamed4247 {  TOSH_period16 = 0x00,   TOSH_period32 = 0x01,   TOSH_period64 = 0x02,   TOSH_period128 = 0x03,   TOSH_period256 = 0x04,   TOSH_period512 = 0x05,   TOSH_period1024 = 0x06,   TOSH_period2048 = 0x07};static inline void TOSH_wait(void);static inline void TOSH_sleep(void);typedef uint8_t __nesc_atomic_t;__inline __nesc_atomic_t  __nesc_atomic_start(void );__inline void  __nesc_atomic_end(__nesc_atomic_t oldSreg);static __inline void __nesc_enable_interrupt(void);# 400 "C:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/platform/mica2/CC1000Const.h"static const prog_uchar CC1K_LPL_PreambleLength[8 * 2] = { 0, 8, 0, 94, 0, 250, 0x01, 0x73, 0x01, 0xEA, 0x04, 0xBC, 0x0A, 0x5E, 0x1, 0x3f };static const prog_uchar CC1K_LPL_SleepTime[8 * 2] = { 0, 0, 0, 20, 0, 85, 0, 135, 0, 185, 0x01, 0xE5, 0x04, 0x3D, 0x0, 100 };static const prog_uchar CC1K_LPL_SleepPreamble[8] = { 0, 8, 8, 8, 8, 8, 8, 8 };static const prog_uchar CC1K_Params[0x22 + 1][31] = { #line 484{ 0x31, 0x5f, 0x60, 0x00, 0x5F, 0x55, 0xBB, 0x03, 0x9c, (4 << 4) | (1 << 2), 1 << 1, 0xFF, 13 << 3, 0xe << 4, (1 << 5) | (6 << 0), (0 << 7) | (28 << 0), (((3 << 5) | (1 << 3)) | (3 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (1 << 0), (0x7 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (8 << 4) | (1 << 0), TRUE }, { 0x31, 0x7c, 0x00, 0x00, 0x7b, 0xf9, 0xae, 0x02, 0x38, (8 << 4) | (3 << 2), ((1 << 5) | (2 << 3)) | (1 << 1), 0xFF, 8 << 3, 2 << 4, (1 << 5) | (6 << 0), (1 << 7) | (33 << 0), (((3 << 5) | (1 << 3)) | (1 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (1 << 0), (0x1 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (15 << 4) | (3 << 0), TRUE }, { 0x31, 0x51, 0x00, 0x00, 0x50, 0xf7, 0x4F, 0X03, 0x0E, (4 << 4) | (1 << 2), 1 << 1, 0xFF, 11 << 3, 0xe << 4, (1 << 5) | (6 << 0), (1 << 7) | (33 << 0), (((3 << 5) | (1 << 3)) | (1 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (1 << 0), (0x7 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (8 << 4) | (1 << 0), TRUE }, { 0x31, 0x5c, 0xe0, 0x00, 0x5c, 0xdb, 0x42, 0x01, 0xAA, (8 << 4) | (3 << 2), ((1 << 5) | (2 << 3)) | (1 << 1), 0xFF, 6 << 3, 0x1 << 4, (1 << 5) | (6 << 0), (1 << 7) | (33 << 0), (((3 << 5) | (1 << 3)) | (1 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (1 << 0), (0x1 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (15 << 4) | (3 << 0), TRUE }, { 0x31, 0x45, 0x60, 0x00, 0x45, 0x55, 0xBB, 0x03, 0x9C, (8 << 4) | (0 << 2), 1 << 1, 0xFF, 13 << 3, 0xe << 4, (1 << 5) | (6 << 0), (1 << 7) | (33 << 0), (((3 << 5) | (1 << 3)) | (1 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (0 << 0), (0x7 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (8 << 4) | (1 << 0), TRUE }, #line 790{ 0x31, 0x58, 0x00, 0x00, 0x57, 0xf6, 0x85, 0x03, 0x55, (4 << 4) | (1 << 2), 1 << 1, 0xFF, 12 << 3, 0xe << 4, (1 << 5) | (6 << 0), (0 << 7) | (28 << 0), (((3 << 5) | (1 << 3)) | (1 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (1 << 0), (0x7 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (8 << 4) | (1 << 0), TRUE }, { 0x31, 0x58, 0x20, 0x00, 0x58, 0x16, 0x85, 0x03, 0x55, (4 << 4) | (1 << 2), 1 << 1, 0xFF, 12 << 3, 0xe << 4, (1 << 5) | (6 << 0), (0 << 7) | (28 << 0), (((3 << 5) | (1 << 3)) | (3 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (1 << 0), (0x7 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (8 << 4) | (1 << 0), TRUE }, { 0x31, 0x49, 0x80, 0x00, 0x49, 0x78, 0x1a, 0x02, 0xc7, (4 << 4) | (1 << 2), 1 << 1, 0xFF, 10 << 3, 0xe << 4, (1 << 5) | (6 << 0), (0 << 7) | (28 << 0), (((3 << 5) | (1 << 3)) | (3 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (1 << 0), (0x7 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (8 << 4) | (1 << 0), TRUE }, { 0x31, 0x67, 0x00, 0x00, 0x67, 0x07, 0x2c, 0x03, 0xe4, (4 << 4) | (1 << 2), 1 << 1, 0xFF, 14 << 3, 0xe << 4, (1 << 5) | (6 << 0), (0 << 7) | (28 << 0), (((3 << 5) | (1 << 3)) | (3 << 1)) | (1 << 0), ((5 << 4) | (1 << 2)) | (1 << 0), (0x7 << 4) | (0x0 << 0), 1 << 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, (8 << 4) | (1 << 0), FALSE }, { 0x31, 0x5b, 0xc0, 0x00, 0x5b, 0xbb, 0x43, 0x01, 0xab, 0x88, 0x02, 0xFF, 0x30, 0x10, 0x26, 0xa1, 0x6f, ((5 << 4) | (1 << 2)) | (3 << 0), 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf3, TRUE }, { 0x31, 0xa8, 0x80, 0x00, 0xa8, 0x77, 0x50, 0x03, 0x0e, 0x88, 0x02, 0xFF, 0x58, 0x10, 0x26, 0xa1, 0x6f, ((5 << 4) | (1 << 2)) | (3 << 0), 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf3, TRUE }, { 0x31, 0xc7, 0x60, 0x00, 0xc7, 0x55, 0xbb, 0x03, 0x9c, 0x88, 0x02, 0xFF, 0x68, 0x10, 

⌨️ 快捷键说明

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