repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
tinyos-io/tinyos-3.x-contrib | stanford-sing/apps/PowerNetBase/PowerNetBase.h | /*
* "Copyright (c) 2009 Stanford University. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose, without fee, and without written
* agreement is hereby granted, provided that the above copyright
* notice, the following two paragraphs and... |
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libusb-win32/libusb-win32-src-0.1.12.1/src/install.c | /* LIBUSB-WIN32, Generic Windows USB Library
* Copyright (c) 2002-2005 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at y... |
tinyos-io/tinyos-3.x-contrib | nxtmote/tos/platforms/nxtmote/lib_extra_AT91SAM7S256.h | <reponame>tinyos-io/tinyos-3.x-contrib
#ifndef lib_extra_AT91SAM7S256_H
#define lib_extra_AT91SAM7S256_H
/**
* Adapted for nxtmote.
* @author <NAME>
*/
// Some extra functions in relation to those found in lib_AT91SAM7S256.
// Various methods from different files.
// @author rup
/* ********************************... |
tinyos-io/tinyos-3.x-contrib | berkeley/blip-2.0/support/sdk/c/blip/lib6lowpan/lib6lowpan.c | <reponame>tinyos-io/tinyos-3.x-contrib<gh_stars>1-10
/* Implementation of draft-ietf-6lowpan-hc-06 */
/* @author <NAME> <<EMAIL>> */
/* Each function in this file should have an associated set of test cases in tests/ */
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#ifdef UNIT_TESTING
#include <stdio.h>... |
tinyos-io/tinyos-3.x-contrib | intelmote2/support/sdk/c/compress/dctApp.c | <gh_stars>1-10
/*
* Copyright (c) 2006 Stanford University.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice,... |
tinyos-io/tinyos-3.x-contrib | eon/apps/eserver/impl/stargate/mImpl.c | <reponame>tinyos-io/tinyos-3.x-contrib<filename>eon/apps/eserver/impl/stargate/mImpl.c<gh_stars>1-10
#include "mImpl.h"
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/select.h>
#include <sys/stat.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <signal.h>
#include <stdlib.h>... |
tinyos-io/tinyos-3.x-contrib | berkeley/quanto/tools/quanto/compression/test.c | #include <stdio.h>
#include "libquantocode.h"
enum {
SIZE = 100,
};
uint32_t list[100] = {
1, 2, 3, 4, 5, 6, 20, 20, 112, 239,
100, 239, 139, 30, 20, 223, 20, 239, 239, 223,
2390, 2039, 1012, 2432, 4055, 2139, 2955, 6000, 9920, 8244,
24539, 550, 15573, 32204, ... |
tinyos-io/tinyos-3.x-contrib | iowa/T2.tsync/IAtsync/PowCon.h | #ifndef POWCON_STRUCT
typedef struct {
uint16_t period; // period length in 1/8 seconds (max = 2.2 hours)
uint8_t livetime; // alive time per period in 1/8 seconds (max = 32 sec)
uint8_t priority; // priority within interval (for tie-breaks)
} powsched;
typedef powsched * powschedPtr;
enum {... |
tinyos-io/tinyos-3.x-contrib | shimmer/apps/AccelECG/AccelECG.h | /*
* Copyright (c) 2007, Intel Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of... |
tinyos-io/tinyos-3.x-contrib | berkeley/blip-2.0/support/sdk/c/blip/interface/ieee154-interface.c |
#undef __BLOCKS__
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <netinet/in.h>
#include <pthread.h>
#include <Ieee154.h>
#include <signal.h>
#include "serialsource.h"
#include "serialprotocol.h"
#include "sfsource.h"
#include "lib6lowpan/blip-pc-includes.h"
#include "lib6lowpan/lib6lowpan.h"
#... |
tinyos-io/tinyos-3.x-contrib | uob/tossdr/tos/lib/tossdr/tossim_sync.h | #ifndef TOSSIM_SYNC_H_INCLUDE
#define TOSSIM_SYNC_H_INCLUDE
#include <sim_tossdr.h>
class TossimSync {
public:
TossimSync();
~TossimSync();
void waitUntilNextEvent();
void runNextEventInTime();
bool waitUntilNextEvent_NoGil();
bool runNextEvent_NoGil();
sim_time_t simTime();
sim_time_t realTime();... |
tinyos-io/tinyos-3.x-contrib | nxtmote/tos/platforms/nxtmote/hardware.h | /**
* Adapted for nxtmote.
* @author <NAME>
*/
#ifndef __NXTMOTE_HARDWARE_H__
#define __NXTMOTE_HARDWARE_H__
#include "AT91SAM7S256.h"
#include "AT91SAM7S256_extra.h"
#include "lib_AT91SAM7S256.h"
#include "lib_extra_AT91SAM7S256.h"
#define OSC 48054850L
//PIT Timer
#define MS_1_TIM... |
tinyos-io/tinyos-3.x-contrib | nxtmote/tos/platforms/nxtmote/nxt.h | <filename>nxtmote/tos/platforms/nxtmote/nxt.h
#ifndef __NXT_H__
#define __NXT_H__
//// m_shed.h ////
/* Defines related to I2c */
#define BYTES_TO_TX 8
#define BYTES_TO_RX 12
enum
{
NOS_OF_AVR_OUTPUTS = 4,
NOS_OF_AVR_BTNS = 4,
NOS_OF_AVR_INPUTS = 4
};
typedef ... |
tinyos-io/tinyos-3.x-contrib | tub/apps/PacketSniffer_802_15_4/wiresharkPlugins/cc2420/packet-cc2420.c | /* packet-cc2420.c
* Routines for cc2420 packet dissector.
* Copyright 2007, <NAME> <<EMAIL>>
*
* $Id: packet-cc2420.c,v 1.2 2008/05/13 00:10:30 vlahan Exp $
*
* Wireshark - Network traffic analyzer
* By <NAME> <<EMAIL>>
* Copyright 1998 <NAME>
*
* This program is free software; you can redistribute it and/or... |
tinyos-io/tinyos-3.x-contrib | eon/eon/src/simulator/simulator.h | #ifndef SIMULATOR_H
#define SIMULATOR_H
#include <string>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <limits.h>
#include <float.h>
#include <iostream>
#include <fstream>
#include <stdlib.h>
using namespace std;
typedef struct
{
int type;
int6... |
tinyos-io/tinyos-3.x-contrib | cedt/tos/chips/atm128/sim/atm128const.h | /* $Id: atm128const.h,v 1.3 2007/09/05 06:19:45 venkatesh2012 Exp $
* Copyright (c) 2005 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, 215... |
tinyos-io/tinyos-3.x-contrib | eon/eon/src/runtime/stargate/sfaccess/sfsend.c | <filename>eon/eon/src/runtime/stargate/sfaccess/sfsend.c
#include "telossource.h"
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
//#define LOCALDBG
enum
{
AM_STATUS_MSG = 10,
AM_SLEEP_MSG = 11,
};
#define STATUSMSGSIZE 3
int asfpid = 0;
int startasf()
{
int err;
printf("startasf...\n");
pid_... |
tinyos-io/tinyos-3.x-contrib | sensorscheme/tos/lib/SensorScheme/SensorSchemeMsg.h | #ifndef SENSORSCHEMEMSG_H
#define SENSORSCHEMEMSG_H
#include "message.h"
typedef nx_struct sensorscheme_msg {
nx_uint8_t sequence;
nx_uint8_t data[TOSH_DATA_LENGTH-sizeof(nx_uint8_t)];
} sensorscheme_msg_t;
enum {
AM_SENSORSCHEME_MSG = 43,
ACK_SENSORSCHEME_MSG = 44,
};
#endif // SENSORSCHEMEMSG_H
|
tinyos-io/tinyos-3.x-contrib | eon/eon/src/runtime/stargatehelper/adcs.h | <filename>eon/eon/src/runtime/stargatehelper/adcs.h
enum
{
TIMERRES = (uint32_t)500000
};
|
tinyos-io/tinyos-3.x-contrib | diku/common/tools/compression/passthru/passthru_test_decomp.c | <reponame>tinyos-io/tinyos-3.x-contrib
#include <inttypes.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include "../buffer.h"
uint8_t membuffer[MEMBUFSIZE];
uint8_t *data;
uint8_t read_count;
uint16_t buffer;
static uint8_t read_bits(uint8_t len)
{
uint8_t res;
// Fill the buffer
while (read_co... |
tinyos-io/tinyos-3.x-contrib | ethz/tinynode184/tos/platforms/tinynode184/tinynodeSEB/tinynodeSEB.h | <reponame>tinyos-io/tinyos-3.x-contrib
#ifndef TINYNODESEB_H
#define TINYNODESEB_H
#define UQ_TEMPDEVICE "TempDeviceP.Resource"
#define UQ_TEMPDEVICE_STREAM "TempDeviceStreamP.Resource"
#define UQ_PHOTODEVICE "PhotoDeviceP.Resource"
#define UQ_PHOTODEVICE_STREAM "PhotoDeviceStreamP.Resource"
#define UQ_BATTDEVICE "... |
tinyos-io/tinyos-3.x-contrib | tinymulle/tos/platforms/mulle/TimerConfig.h | /**
* The M16c/62p hardware timer configuration used by Mulle.
*
* STOP MODE ENABLED:
* TB0 bridges its tics from the RV8564 to TB2 in TMilli speed.
* TA0 and TA1 are used to create a 32 bit counter. TA0 counts
* tics from TB2 and TA1 counts TA0 underflows.
* TA2 and TA3 are used to create a 32 b... |
tinyos-io/tinyos-3.x-contrib | diku/sensinode/tos/platforms/micro4/HPLSpi.h | /*
* Copyright (c) 2007 University of Copenhagen
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this list ... |
tinyos-io/tinyos-3.x-contrib | intelmote2/support/sdk/c/compress/rgb2ycc.h | /*
* YCbCr is defined per CCIR 601-1, except that Cb and Cr are
* normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5.
* The conversion equations to be implemented are therefore
* Y = 0.29900 * R + 0.58700 * G + 0.11400 * B
* Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
* Cr = 0.500... |
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libnxt/firmware.c | /**
* NXT bootstrap interface; NXT firmware handling code.
*
* Copyright 2006 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at... |
tinyos-io/tinyos-3.x-contrib | eon/eon/src/runtime/tinyos2/rt_structs.h | #ifndef RT_STRUCTS_H_INCLUDED
#define RT_STRUCTS_H_INCLUDED
#include "nodes.h"
#include "eon_network.h"
#define SRC_QUEUE_SIZE 3
typedef struct rt_data
{
uint16_t sessionID;
uint16_t weight;
uint8_t minstate;
} rt_data;
typedef struct GenericNode
{
rt_data _pdata;
} GenericNode;
#define RTCLOCKINTERVAL... |
tinyos-io/tinyos-3.x-contrib | intelmote2/apps/cameraMultiHop/camNode/cameraJpegTest.h | <filename>intelmote2/apps/cameraMultiHop/camNode/cameraJpegTest.h<gh_stars>1-10
/*
* Copyright (c) 2006 Stanford University.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistribu... |
tinyos-io/tinyos-3.x-contrib | intelmote2/support/sdk/c/compress/dctfstBlk.h | #define CONST_BITS 8
#define PASS1_BITS 2
#define MAXJSAMPLE 255
#define CENTERJSAMPLE 128
#define DCTSIZE 8
#define FIX_0_382683433 ((int32_t) 98)
#define FIX_0_541196100 ((int32_t) 139)
#define FIX_0_707106781 ((int32_t) 181)
#define FIX_1_306562965 ((int32_t) 334)
#define FIX_1_082392200 ((int32_t) 277... |
tinyos-io/tinyos-3.x-contrib | diku/common/tools/compression/simple/simple_comp.c | <reponame>tinyos-io/tinyos-3.x-contrib
/**************************************************************************
*
* simple_comp.c
*
* This file is licensed under the GNU GPL.
*
* (C) 2005, <NAME> <<EMAIL>>
*
*/
#include "../compressor.h"
#include "../buffer.h"
#include <string.h>
#define SHORT_BITS 4
#defin... |
tinyos-io/tinyos-3.x-contrib | berkeley/blip-2.0/support/sdk/c/blip/lib6lowpan/tests/test_unpack_tcfl.c | <filename>berkeley/blip-2.0/support/sdk/c/blip/lib6lowpan/tests/test_unpack_tcfl.c
#include <stdint.h>
#include <stdio.h>
#include "Ieee154.h"
#include "ip.h"
#include "lib6lowpan.h"
#include "nwbyte.h"
#include "6lowpan.h"
uint8_t *unpack_tcfl(struct ip6_hdr *hdr, uint8_t dispatch, uint8_t *buf);
struct {
uint32... |
tinyos-io/tinyos-3.x-contrib | stanford-sing/s4-tinyos-2.x/tos/lib/linkestimator/ReverseLinkInfo.h | <filename>stanford-sing/s4-tinyos-2.x/tos/lib/linkestimator/ReverseLinkInfo.h
// ex: set tabstop=2 shiftwidth=2 expandtab syn=c:
// $Id: ReverseLinkInfo.h,v 1.1 2008/10/23 22:22:41 genie1 Exp $
/*
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permission to use,... |
tinyos-io/tinyos-3.x-contrib | csau/ub/apps/UnifiedBroadcastTest/src/UnifiedBroadcastApp.h |
/**
* @author <NAME> <mth at cs dot au dot dk>
* @date June 6 2010
*/
#ifndef UNIFIEDBROADCASTAPP_H
#define UNIFIEDBROADCASTAPP_H
#include "AM.h"
#ifndef TOSSIM
#include "CC2420.h"
#include "CC2420TimeSyncMessage.h"
#endif
typedef struct test_msg {
nx_uint32_t counter;
nx_uint32_t timestamp;
} test_msg_t;... |
tinyos-io/tinyos-3.x-contrib | ethz/snpk/apps/tests/SyncMacStress/SyncMacStress.h | /**
* @author <NAME>
*/
#ifndef SYNCMACSTRESS_H
#define SYNCMACSTRESS_H
#include <AM.h>
enum {
AM_TEST = 0x10,
LPL_INT = 300UL,
MSG_LEN = 30,
};
#endif
|
tinyos-io/tinyos-3.x-contrib | tinymulle/tos/platforms/mulle/platform.h | <gh_stars>1-10
#ifndef __PLATFORM_H__
#define __PLATFORM_H__
#define MCU_SPEED_10MHz M16C62P_MAIN_CLK_DIV_0
#define MCU_SPEED_5MHz M16C62P_MAIN_CLK_DIV_2
#define MCU_SPEED_2_5MHz M16C62P_MAIN_CLK_DIV_4
#define MCU_SPEED_1_25MHz M16C62P_MAIN_CLK_DIV_8
#define MCU_SPEED_0_625MHz M16C62P_MAIN_... |
tinyos-io/tinyos-3.x-contrib | eon/apps/turtle_snapper/impl/tinynode/typechecks.h | <filename>eon/apps/turtle_snapper/impl/tinynode/typechecks.h<gh_stars>1-10
#ifndef TYPECHECKS_H_INCLUDED
#define TYPECHECKS_H_INCLUDED
bool IsAccept(bool value)
{
return value;
}
#endif // TYPECHECKS_H_INCLUDED
|
tinyos-io/tinyos-3.x-contrib | ethz/tinynode184/tos/chips/sx1211/SX1211.h | <filename>ethz/tinynode184/tos/chips/sx1211/SX1211.h
/*
* Copyright (c) 2005, Ecole Polytechnique Federale de Lausanne (EPFL)
* and Shockfish SA, Switzerland.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... |
tinyos-io/tinyos-3.x-contrib | wustl/upma/chips/cc2420/PowerCycle.h | <reponame>tinyos-io/tinyos-3.x-contrib<gh_stars>1-10
/*
* Copyright (c) 2005-2006 Rincon Research Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source... |
tinyos-io/tinyos-3.x-contrib | hitdke/support/sdk/c/synsb/sds.h | // $Id: sds.h,v 1.1 2010/06/22 08:32:17 pineapple_liu Exp $
/*
* Copyright (c) 2010 Data & Knowledge Engineering Research Center,
* Harbin Institute of Technology, P. R. China.
* All rights reserved.
*/
/**
* HITDKE Synthetic DataSource (SDS) API's.
*
* @author <NAME> <<EMAIL>>
* @date J... |
tinyos-io/tinyos-3.x-contrib | berkeley/quanto/tos/lib/quanto/activity.h | #ifndef _ACTIVITY_H
#define _ACTIVITY_H
/* act_t has two parts: a node and an activity type. To save space,
* we are using a single, 16-bit value to store both. We'll use the
* 10 msb to store the host and the 6 lsb to store the activity.
* This will break if the node id is greater than 1024, or if the
* activit... |
tinyos-io/tinyos-3.x-contrib | rincon/tos/chips/cc1000_sync/CC1000Msg.h | <filename>rincon/tos/chips/cc1000_sync/CC1000Msg.h<gh_stars>1-10
#ifndef CC1K_RADIO_MSG_H
#define CC1K_RADIO_MSG_H
#include "AM.h"
typedef nx_struct CC1KHeader {
nx_am_addr_t dest;
nx_am_addr_t source;
nx_uint8_t length;
nx_am_group_t group;
nx_uint8_t dsn;
nx_am_id_t type;
} cc1000_header_t;
typedef nx_... |
tinyos-io/tinyos-3.x-contrib | ucc/PLScheduler/tos/chips/msp430/context_switch.h | <gh_stars>1-10
#ifndef __context_switch_h__
#define __context_switch_h__
#include "TaskPriority.h"
#define GET_SP(sp) {asm volatile("mov.w r1, %0\n\t" :"=r" (sp) : ); }
#define CONTEXT_SWITCH_PREAMBLE(FROM, TO) \
{ \
asm volatile("mov.w r1, %0\n\t"... |
tinyos-io/tinyos-3.x-contrib | eon/apps/turtle_snapper/impl/mica2dot/beacon.h | #ifndef BEACON_H_
#define BEACON_H_
#define BEACON_COUNT 5
#define BEACON_IVAL 600
#endif
|
tinyos-io/tinyos-3.x-contrib | stanford-sing/s4-tinyos-2.x/tos/lib/util/Logging.h | // ex: set tabstop=2 shiftwidth=2 expandtab syn=c:
// $Id: Logging.h,v 1.1 2008/10/23 22:22:41 genie1 Exp $
/*
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, ... |
tinyos-io/tinyos-3.x-contrib | eon/eon/src/util/collect/platform.c | <reponame>tinyos-io/tinyos-3.x-contrib
#include <sys/types.h>
#include "platform.h"
uint32_t platform;
|
tinyos-io/tinyos-3.x-contrib | eon/eon/src/runtime/tinyos2/pgm_util.h | #ifndef _PGM_UTIL_H_
#define _PGM_UTIL_H_
#define PROGMEM
inline int32_t read_pgm_int32(int32_t* pptr)
{
//int32_t result;
//memcpy((void*)&result, pptr, sizeof(int32_t));
return (*pptr);
}
inline int16_t read_pgm_int16(int16_t* pptr)
{
//int16_t result;
//memcpy(&result, pptr, sizeof(int16_t));
//return re... |
tinyos-io/tinyos-3.x-contrib | diku/mcs51/tos/chips/cip51/iocip51.h | /*
* Copyright (c) 2008 Polaric
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and... |
tinyos-io/tinyos-3.x-contrib | eon/eon/src/simulator/ewmapredictor.h | <gh_stars>1-10
#ifndef ENERGYPREDICTOR_H
#define ENERGYPREDICTOR_H
#include "simulator.h"
#include "nodes.h"
using namespace std;
#ifndef EP_WINDOW
#define EP_WINDOW 24
#endif
#ifndef EP_SCALE
#define EP_SCALE 60
#endif
#ifndef EP_FILTER_WT
#define EP_FILTER_WT 25
#endif
int64_t start_energy;
int64_t min_tim... |
tinyos-io/tinyos-3.x-contrib | eon/eon/src/runtime/tinyos2/userstructs.h | #ifndef USERSTRUCTS_H_
#define USERSTRUCTS_H_
#endif
|
tinyos-io/tinyos-3.x-contrib | diku/common/tools/daq/pci1202_lib.c | // For open
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
// For close and usleep
#include <unistd.h>
// For ioctl
#include <sys/ioctl.h>
// For pci1202 ioctls
#include <ixpci.h>
#include "daq_lib.h"
int daq_open(const char* dev_file, daq_card_t *daq)
{
int fd;
fd = open(dev_file, O_RDWR);
... |
tinyos-io/tinyos-3.x-contrib | marionette/tos/lib/RamSymbols/RamSymbols.h | //$Id: RamSymbols.h,v 1.1 2008/03/03 19:50:40 okola Exp $
/* tab:4
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agr... |
tinyos-io/tinyos-3.x-contrib | diku/common/tools/compression/passthru/passthru_comp.c | /**************************************************************************
*
* passthru_comp.c
*
* The passthru compression algorith. This will simply store the
* results from the digital acceleromter as 3 times 12 bits.
*
* This file is licensed under the GNU GPL.
*
* (C) 2005, <NAME> <<EMAIL>>
*
*/
#inclu... |
tinyos-io/tinyos-3.x-contrib | yuceg/tos/chips/atm128/context_switch.h | #ifndef __context_switch_h__
#define __context_switch_h__
/*
* Copyright (c) 2006, Cleveland State University
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of sou... |
tinyos-io/tinyos-3.x-contrib | tcd/powertossim-z/tinyos_files/tinyos-2.0.2/tos/lib/tossim/sim_mac.c | <filename>tcd/powertossim-z/tinyos_files/tinyos-2.0.2/tos/lib/tossim/sim_mac.c
/*
* "Copyright (c) 2005 Stanford University. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose, without fee, and without written
* agreement is hereby granted... |
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libusb-win32/libusb-win32-src-0.1.12.1/src/driver/transfer.c | /* LIBUSB-WIN32, Generic Windows USB Library
* Copyright (c) 2002-2005 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... |
tinyos-io/tinyos-3.x-contrib | tinybt/tos/lib/bluetooth/bluetooth.h | /*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Written 2000,2001 by <NAME> <<EMAIL>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Fou... |
tinyos-io/tinyos-3.x-contrib | tinymulle/apps/TestMac/TestMac.h | /*
* Copyright (c) 2007, Vanderbilt University
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is
* hereby granted, provided that the above copyright notice, the following
* two paragraphs... |
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libusb-win32/libusb-win32-src-0.1.12.1/src/driver/pnp.c | /* LIBUSB-WIN32, Generic Windows USB Library
* Copyright (c) 2002-2005 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your op... |
tinyos-io/tinyos-3.x-contrib | unlpt/PowerTossim-TelosB/tos/lib/tossim/sim_energy_estimate.h | /**
* "Copyright (c) 2007 CENTRE FOR ELECTRONICS AND DESIGN TECHNOLOGY,IISc.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose, without fee, and without written
* agreement is hereby granted, provided that the above copyright
* notic... |
tinyos-io/tinyos-3.x-contrib | uob/tossdr/tos/chips/atm128/sdr/atm128hardware.h | <filename>uob/tossdr/tos/chips/atm128/sdr/atm128hardware.h
/*
* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By
* downloading, copying, installing or using the software you agree to
* this license. If you do not agree to t... |
tinyos-io/tinyos-3.x-contrib | kasetsart/tos/chips/atm328/timer/Atm328Timer.h | /*
* This file contains the configuration constants for the Atmega328
* clocks and timers.
*
* @author <NAME> (<EMAIL>)
*/
#ifndef _H_Atm328Timer_h
#define _H_Atm328Timer_h
//====================== 8 bit Timers ==================================
/*************************************************************/
/*... |
tinyos-io/tinyos-3.x-contrib | rincon/tos/chips/atm128/atm128uartconf.h | /*
* Copyright (c) 2008 Rincon Research Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this li... |
tinyos-io/tinyos-3.x-contrib | ethz/rest-api/tos/lib/net/blip/http/Http.h | <reponame>tinyos-io/tinyos-3.x-contrib<gh_stars>1-10
/* Copyright (c) 2009, Distributed Computing Group (DCG), ETH Zurich.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistribut... |
tinyos-io/tinyos-3.x-contrib | eon/apps/server-e/impl/telos/ServerE.h | <gh_stars>1-10
#include <AM.h>
#ifndef SERVERE_H_INCLUDED
#define SERVERE_H_INCLUDED
#ifndef HEADER_LENGTH
#define HEADER_LENGTH 4
#endif
#ifndef DATA_HEADER_LENGTH
#define DATA_HEADER_LENGTH 8
#endif
#ifndef URL_LENGTH
#define URL_LENGTH (TOSH_DATA_LENGTH-HEADER_LENGTH)
#endif
#ifndef PKT_DATA_LENGTH
#define ... |
tinyos-io/tinyos-3.x-contrib | tcd/powertossim-z/tinyos_files/tinyos-2.0.2/tos/lib/tossim/sim_csma.c | /*
* "Copyright (c) 2005 Stanford University. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose, without fee, and without written
* agreement is hereby granted, provided that the above copyright
* notice, the following two paragraphs and... |
tinyos-io/tinyos-3.x-contrib | tinymulle/tos/platforms/mulle/chips/rf230/RF230TimerConfig.h | /**
* The M16c/62p hardware timer configuration used by Mulle
* together with the RF230 chip.
*
* STOP MODE ENABLED:
* TA4 generates a 16 bit TRF230 counter.
* TB5 generates a 16 bit TRF230 alarm.
*
* STOP MODE DISABLED:
* TA4 generates TMicro tics.
* TA3 is a 16 bit alarm that counts tics from TA4.
... |
tinyos-io/tinyos-3.x-contrib | rincon/tos/lib/squelch/Squelch.h | <reponame>tinyos-io/tinyos-3.x-contrib
#ifndef SQUELCH_H
#define SQUELCH_H
/**
* The size of each squelch table
*/
#ifndef SQUELCH_TABLE_SIZE
#define SQUELCH_TABLE_SIZE 10
#endif
/**
* Minimum number of measurements before being settled
*/
#ifndef SQUELCH_MIN_COUNT
#define SQUELCH_MIN_COUNT 20
#endif
/**
* Ini... |
tinyos-io/tinyos-3.x-contrib | rincon/tos/lib/blackbook/core/BDictionary.h | <reponame>tinyos-io/tinyos-3.x-contrib<filename>rincon/tos/lib/blackbook/core/BDictionary.h
/*
* Copyright (c) 2005-2006 Rincon Research Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... |
tinyos-io/tinyos-3.x-contrib | blaze/tos/chips/ccxx00_single/radios/cc1100/CC1100_433MHz_150kBaud.h | /*
* Copyright (c) 2005-2006 Rincon Research Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, th... |
tinyos-io/tinyos-3.x-contrib | berkeley/apps/AIIT_tutorials/7_RequestSample/RequestReading.h | <gh_stars>1-10
#ifndef PRINT_SERIAL_H
#define PRINT_SERIAL_H
#include "message.h"
enum {
AM_REQUEST_READING_MSG = 0x0F,
FLAG_COUNTER = 0x01,
FLAG_VOLTAGE_READING = 0x02,
FLAG_TEMPERATURE_READING = 0x04,
FLAG_TEXT = 0x08,
MAX_TEXT_LENGTH = 18,
};
typedef nx_struct request_reading_msg {
nx_uint8_t fla... |
tinyos-io/tinyos-3.x-contrib | intelmote2/support/sdk/c/compress/decodeZeros.h | /*
* Copyright (c) 2006 Stanford University.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this list of c... |
tinyos-io/tinyos-3.x-contrib | berkeley/quanto/tos/lib/quanto/PowerState/PowerState.h | <filename>berkeley/quanto/tos/lib/quanto/PowerState/PowerState.h
#ifndef _POWER_STATE_H
#define _POWER_STATE_H
#define POWER_STATE_UNIQUE "Power.State.Unique"
typedef uint16_t powerstate_t;
#endif
|
tinyos-io/tinyos-3.x-contrib | diku/common/lib/compression/passthru.h | <gh_stars>1-10
#include "../../tools/compression/passthru/passthru_comp.c"
|
tinyos-io/tinyos-3.x-contrib | diku/mcs51/tos/chips/cip51/usb/cip51-usb.h | <gh_stars>1-10
/*
* Copyright (c) 2008 Polaric
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this list o... |
tinyos-io/tinyos-3.x-contrib | jhu/lpp/Lpp.h | #ifndef SLOWLPL_H
#define SLOWLPL_H
enum {
SLOW_LPL_AM = 10,
};
#endif
|
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libnxt/error.h | <reponame>tinyos-io/tinyos-3.x-contrib
/**
* NXT bootstrap interface; error handling code.
*
* Copyright 2006 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either ver... |
tinyos-io/tinyos-3.x-contrib | antlab-polimi/sensors/baseStation/bsComm/commConfig.h | /*
* Author: <NAME>
* contact: <EMAIL>
*/
// NOTE: please "includes AM;" before including this file
#ifndef _RADIOBIGMSG_H_
#define _RADIOBIGMSG_H_
#define BIGMSG_HEADER_LENGTH 2
#define BIGMSG_DATA_SHIFT 6
#define BIGMSG_DATA_LENGTH (1<<BIGMSG_DATA_SHIFT)
#define VIDEO_DATA_LENGTH 100
#define TOSH_DATA_L... |
tinyos-io/tinyos-3.x-contrib | tcd/powertossim-z/tinyos_files/tinyos-2.0.2/tos/chips/at45db/Storage_chip.h | // $Id: Storage_chip.h,v 1.1 2014/11/26 19:31:32 carbajor Exp $
#ifndef STORAGE_CHIP_H
#define STORAGE_CHIP_H
#include "At45db.h"
#define UQ_BLOCK_STORAGE "BlockStorageP.BlockRead"
#define UQ_LOG_STORAGE "LogStorageP.LogRead"
#define UQ_CONFIG_STORAGE "ConfigStorageP.ConfigRead"
#endif
|
tinyos-io/tinyos-3.x-contrib | eon/apps/turtle_snapper/impl/mica2dot/SingleStream.h |
#ifndef SINGLE_STREAM_H
#define SINGLE_STREAM_H
#include "common_header.h"
#include "sizes.h"
//includes common_header;
// stream_t
typedef struct _stream
{
flashptr_t tail;
bool doEcc;
flashptr_t traverse;
} stream_t;
#endif
|
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libnxt/samba.h | /**
* NXT bootstrap interface; NXT bootstrap control functions.
*
* Copyright 2006 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, o... |
tinyos-io/tinyos-3.x-contrib | berkeley/tos/lib/print/print.h | <reponame>tinyos-io/tinyos-3.x-contrib<filename>berkeley/tos/lib/print/print.h
/*
* "Copyright (c) 2007 The Regents of the University of California.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose, without fee, and without writte... |
tinyos-io/tinyos-3.x-contrib | berkeley/blip-2.0/tos/lib/net/blip/IPDispatch.h | /*
* "Copyright (c) 2008 The Regents of the University of California.
* All rights reserved."
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is
* hereby granted, provided that the above copyright notice, the fo... |
tinyos-io/tinyos-3.x-contrib | tinybt/tos/lib/bluetooth/hci.h | <reponame>tinyos-io/tinyos-3.x-contrib<filename>tinybt/tos/lib/bluetooth/hci.h
/*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Written 2000,2001 by <NAME> <<EMAIL>>
This program is free software; you can redistribute it and/or modify
it under the terms of th... |
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libusb-win32/libusb-win32-src-0.1.12.1/src/driver/reset_endpoint.c | /* LIBUSB-WIN32, Generic Windows USB Library
* Copyright (c) 2002-2005 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... |
tinyos-io/tinyos-3.x-contrib | ethz/meshbean900/tos/platforms/meshbean/chips/atm1281/usart/Atm1281Usart.h | /*
* Copyright (c) 2004-2005 Crossbow Technology, Inc. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is
* hereby granted, provided that the above copyright notice, the following
* two para... |
tinyos-io/tinyos-3.x-contrib | tinymulle/tos/platforms/mulle/debug/m_printf.h | <reponame>tinyos-io/tinyos-3.x-contrib<filename>tinymulle/tos/platforms/mulle/debug/m_printf.h
/*
Copyright 2001, 2002 <NAME> (www.menie.org)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software F... |
tinyos-io/tinyos-3.x-contrib | berkeley/quanto/tos/lib/quanto/QuantoLog/RawUartMsg.h | #ifndef _UART_RAW_MSG_H
#define _UART_RAW_MSG_H
// The reason for this being more complicated than necessary is
// for efficiency
// We divide a single type byte to indicate the type of the record,
// i.e., the way to access the union, and also a subtype within each
// type.
enum {
MSG_TYPE_SINGLE_CHG = 0,
... |
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libnxt/error.c | /**
* NXT bootstrap interface; error handling code.
*
* Copyright 2006 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your o... |
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libusb-win32/libusb-win32-src-0.1.12.1/src/driver/set_configuration.c | /* LIBUSB-WIN32, Generic Windows USB Library
* Copyright (c) 2002-2005 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... |
tinyos-io/tinyos-3.x-contrib | nxtmote/tos/platforms/nxtmote/platform_message.h | /*
* Copyright (c) 2005-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... |
tinyos-io/tinyos-3.x-contrib | berkeley/blip-2.0/support/sdk/c/blip/interface/queue.h | <filename>berkeley/blip-2.0/support/sdk/c/blip/interface/queue.h
#ifndef _QUEUE_H_
#define _QUEUE_H_
#include <pthread.h>
struct queue_entry;
struct queue_entry {
void *q_data;
struct queue_entry *q_next;
};
struct blocking_queue {
pthread_mutex_t mut;
pthread_cond_t cond;
struct queue_entry *he... |
tinyos-io/tinyos-3.x-contrib | tinymulle/tos/platforms/mulle/softwarespi/MulleSpi.h | <gh_stars>1-10
/**
* @author <NAME>
*/
#ifndef __MULLESPI_H__
#define __MULLESPI_H__
#define UQ_MULLE_SOFTSPIMASTER "SoftSPIMasterC.SoftSPIPacket"
#endif // __MULLESPI_H__
|
tinyos-io/tinyos-3.x-contrib | antlab-polimi/sensors/baseStation/config.h | <filename>antlab-polimi/sensors/baseStation/config.h
/*
* Author: <NAME>
* contact: <EMAIL>
*/
#ifndef RADIOTEST_H
#define RADIOTEST_H
#define VIDEO_HEADER_LENGTH 3
#define PHOTO_HEADER_LENGTH 2
#define BIGMSG_DATA_SHIFT 6
#define PHOTO_DATA_LENGTH 40//(1<<BIGMSG_DATA_SHIFT)
#define VIDEO_DATA_LENGTH 40//64
//#defi... |
tinyos-io/tinyos-3.x-contrib | nxtmote/tos/chips/motor/c_output.h | #ifndef C_OUTPUT_H
#define C_OUTPUT_H
//// c_output.h ////
typedef struct
{
UBYTE TimeCnt;
UBYTE Tmp;
}VARSOUTPUT;
#endif
|
tinyos-io/tinyos-3.x-contrib | dexma/tos/chips/adxl345/ADXL345.h | <reponame>tinyos-io/tinyos-3.x-contrib
#ifndef ADXL345_H
#define ADXL345_H
#define ADXL345_ADDRESS 0x53
//ADXL345 Registers Start
#define ADXL345_DEVID 0x00 // R // Device ID.
#define ADXL345_THRESH_TAP 0x1D // RW // Tap Threshold 62.5mg/LSB (0xFF = +16g)
#define ADXL345_OFSX 0x1E // RW // X-axis Offset 15.6mg... |
tinyos-io/tinyos-3.x-contrib | wsu/tools/simx/simx/lib/simx/pushback/pushback.h | #ifndef PUSHBACK_H
#define PUSHBACK_H
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
#if 0 /* To keep emacs indent nice */
}
#endif
/* PST-- SWIG 1.3.35 does not supported nested unions */
typedef union {
double d;
long l;
void *h;
} pushback_result_union_t;
/* possible error return values */
enum... |
tinyos-io/tinyos-3.x-contrib | tcd/powertossim-z/tinyos_files/tinyos-2.0.2/tos/lib/tossim/sim_mote.h | <reponame>tinyos-io/tinyos-3.x-contrib<filename>tcd/powertossim-z/tinyos_files/tinyos-2.0.2/tos/lib/tossim/sim_mote.h
/*
* "Copyright (c) 2005 Stanford University. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose, without fee, and without... |
tinyos-io/tinyos-3.x-contrib | iowa/T2.tsync/IAtsync/Tnbrhood.h | <filename>iowa/T2.tsync/IAtsync/Tnbrhood.h
#ifndef TS_TNBRHOOD
enum { NUM_NEIGHBORS = 12, // 12 because of payload in TinyOS msg
/*** Note: don't make NUM_NEIGHBORS too big or you'll
* have trouble with the health message -- see TnbrhoodM
* to see why this would be an error ***... |
tinyos-io/tinyos-3.x-contrib | eon/eon/src/simulator/omniloadpredictor.h | <filename>eon/eon/src/simulator/omniloadpredictor.h
#ifndef OMNILOADPREDICTOR_H
#define OMNILOADPREDICTOR_H
#include "simulator.h"
#include "nodes.h"
using namespace std;
extern int64_t current_time;
int get_tl_type(string &str);
int64_t get_tl_time(string& str);
#define LOAD_HISTORY 24
#define LOAD_DOUBT 8
#defin... |
tinyos-io/tinyos-3.x-contrib | jhu/misc/KeepAlive.h | #ifndef KEEPALIVE_H
#define KEEPALIVE_H
nx_struct Beacon {
nx_uint32_t interval;
nx_uint32_t counter;
};
#endif
|
tinyos-io/tinyos-3.x-contrib | nxtmote/misc/src/libusb-win32/libusb-win32-src-0.1.12.1/src/install_filter.c | <reponame>tinyos-io/tinyos-3.x-contrib<filename>nxtmote/misc/src/libusb-win32/libusb-win32-src-0.1.12.1/src/install_filter.c
/* LIBUSB-WIN32, Generic Windows USB Library
* Copyright (c) 2002-2005 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GN... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.