[Tinyos-help] ...not sending after some time..!!

siva prasad sivakatru at gmail.com
Fri Feb 16 08:56:51 PST 2007


Skipped content of type multipart/alternative-------------- next part --------------
#include "MultiHop.h"

enum
{
  TOS_ADC_my1_PORT = unique("ADCPort"),

    TOSH_ACTUAL_ADC_my1_PORT = ASSOCIATE_ADC_CHANNEL(
    INPUT_CHANNEL_A0,
    REFERENCE_VREFplus_AVss,
    REFVOLT_LEVEL_1_5
  ),
  
  TOS_ADC_my2_PORT = unique("ADCPort"),

    TOSH_ACTUAL_ADC_my2_PORT = ASSOCIATE_ADC_CHANNEL(
    INPUT_CHANNEL_A1,
    REFERENCE_VREFplus_AVss,
    REFVOLT_LEVEL_1_5
  ),

  AM_COUNTMSG = 12
};

typedef struct
{ 
  //uint16_t reading1;
  //uint16_t reading2;
  uint32_t sum;
  uint32_t sum1;
  uint16_t src;
  uint16_t parent;
  //uint8_t neighborsize;
  //uint8_t retransmissions;
  //uint16_t neighbors[MHOP_PARENT_SIZE];
  //uint16_t quality[MHOP_PARENT_SIZE];
}CountMsg_t;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: extADC3pC.nC
Type: application/x-netcdf
Size: 867 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070216/41f76f29/extADC3pC-0001.nc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extADC3pM.nC
Type: application/x-netcdf
Size: 3248 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070216/41f76f29/extADC3pM-0001.nc
-------------- next part --------------
VALID_PLATFORMS = telos telosa telosb tmote
VALID_TARGETS = $(VALID_PLATFORMS) clean help
ifeq ($(filter $(VALID_TARGETS),$(MAKECMDGOALS)),)
$(error ERROR: Invalid platform!  Valid platforms: $(VALID_PLATFORMS))
endif

COMPONENT = extADC3pC
DEFAULT_LOCAL_GROUP = 0x32
include $(MAKERULES)


More information about the Tinyos-help mailing list