hi all,
I have a question to ask.
I wrote a program about sampling data from sensor and send to another
mote by RF.
But when I “make tmote”,appear the mistakes as follows:
$ make tmote
mkdir -p build/telosb
compiling RadiosensorTotmoteAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -I%T/lib/oski -mdisable-hwmul
-I/opt/tinyos-
2.x/tos/lib/CC2420Radio -I/opt/tinyos-2.x/tos/../beta/STM25P/STM25P -Wall
-Wshad
ow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/a
pp.c -board= RadiosensorTotmoteAppC.nc -lm
In file included from RadiosensorTotmoteAppC.nc:13:
In component `RadiosensorTotmoteC':
RadiosensorTotmoteC.nc: In function `AcquireData.dataReady':
RadiosensorTotmoteC.nc:61: subscripted value is neither array nor pointer
RadiosensorTotmoteC.nc: In function `AcquireData.error':
RadiosensorTotmoteC.nc:83: subscripted value is neither array nor pointer
make: *** [exe0] Error 1
where,the RadiosensorTotmoteC line 61 and line 83 are both:
if (call AMSend.send(AM_BROADCAST_ADDR, &packet, sizeof(RadioSenseMsg)) ==
SUCCESS) {
locked = TRUE;}
I want to know Why?
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help