hi all, i am working on tmote-sky modules..my requirement is to sample two 50Hz signals at 1kHz through external ADC ports...and calculating a value(which is the multiplication of both the external sensors data) over 100 samples and sending tht value (means need to send 10 samples/sec using MULTIHOP technique)...i hav prepared my application ..it was sending the data only for a short interval of time..can u please suggest me what might be the reasons for sending the data only for a short duration...???
can u please give me the reason(bug),why it is stop sending the data after some time..here i am attaching my code..please hav a look at my code..i hav been struggling with this problem from the last one month..n..already asked this question previously ..but didnt get any help..!! any help is greatly appreciated..!!! <https://mail.google.com/mail/?auth=DQAAAHMAAAB6i1nsY-xVniB8vQDPw1-04H_2bR4bpxNPsy2BLc_kaYlp9OHYe8vHz3A44mjE9TsDZiuKx2NYgBqo2WX00lRkCPVtH_cSdNbnvBEvlgRGLKWKmWb2N0Bc0qV5C9aHjoBr8bfVmS0tdVzDYEwbYqmQcgBGvTAHnxqcnLsxGLz9jg&zx=e6j4514doys5&shva=1>
#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 = 16 }; 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;
extADC3pC.nC
Description: Cdf file
extADC3pM.nC
Description: Cdf file
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)
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help