Hello Again Aitor,
I succeded to compile and run you GTS application (I just updated my tinyos
tree).
I found only one error in the device part.
(tinyos-2.x-contrib/kth/tkn154-gts/apps/beacon-enabled/TestGts/device/TestDeviceSenderC.nc).
If the node id is different from 2, the device will never send data to the
coordinator. just a small error in if imbrication.
// when to start transmitting packets
if (TOS_NODE_ID == 0x02)
if (m_conf_steps > 1) post packetSendTask();
else if (m_conf_steps > 0) post packetSendTask();
printfflush();
must be :
// when to start transmitting packets
if (TOS_NODE_ID == 0x02)
{if (m_conf_steps > 1) post packetSendTask();}
else if (m_conf_steps > 0) post packetSendTask();
printfflush();
I'll try to test the application with several nodes and give you feedback.
Regards.
----- Message transféré ----
De : luis_size <[email protected]>
À : [email protected]; tinyos help <[email protected]>
Envoyé le : Mar 18 janvier 2011, 14h 18min 08s
Objet : [Tinyos-help] IEEE 802.15.4 with GTS (TKN15.4)
Hello Aitor,
First of all thank you for this good news :)
I'm interested in your GTS mechanism for 802.15.4 MAC. I tried to install the
TestGts application and I got the error bellow:
Can you help me on this ?
Thanks in advance.
Luis.
The error:
make telosb instal,0
mkdir -p build/telosb
compiling TestGtsAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -DPRINTF_BUFFER_SIZE=1000 -mdisable-hwmul
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
-I/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/apps/beacon-enabled/TestGts/coordinator/..
-I/home/tiny2/tinyos-main/tos/lib/printf
-I/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/tos/lib/mac/tkn154
-I/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/tos/lib/mac/tkn154/dummies
-I/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/tos/lib/mac/tkn154/interfaces/MCPS
-I/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/tos/lib/mac/tkn154/interfaces/MLME
E
-I/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/tos/lib/mac/tkn154/interfaces/private
-I/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/tos/lib/mac/tkn154/interfaces/public
c -I/home/tiny2/tinyos-main/tos/lib/mac/tkn154
-I/home/tiny2/tinyos-main/tos/lib/mac/tkn154/dummies
-I/home/tiny2/tinyos-main/tos/lib/mac/tkn154/interfaces/MCPS
-I/home/tiny2/tinyos-main/tos/lib/mac/tkn154/interfaces/MLME
-I/home/tiny2/tinyos-main/tos/lib/mac/tkn154/interfaces/private
-I/home/tiny2/tinyos-main/tos/lib/mac/tkn154/interfaces/public
-DIDENT_APPNAME=\"TestGtsAppC\" -DIDENT_USERNAME=\"tiny2\"
-DIDENT_HOSTNAME=\"tinyVM\"
-DIDENT_USERHASH=0x0550d87fL -DIDENT_TIMESTAMP=0x4d358bc8L
-DIDENT_UIDHASH=0xae1e93bdL
-I/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/tos/platforms/telosb/mac/tkn154
-I/home/tiny2/tinyos-main/tos/platforms/telosb/mac/tkn154
-I/home/tiny2/tinyos-main/tos/platforms/telosb/mac/tkn154/timer
-I/home/tiny2/tinyos-main/tos/chips/cc2420_tkn154 TestGtsAppC.nc -lm
In component `CoordCfpP':
/home/tiny2/tinyos-2.x-contrib/kth/tkn154-gts/tos/lib/mac/tkn154/CoordCfpP.nc:79:
`GtsInfoWrite.getLength' not implemented
/home/tiny2/tinyos-main/tos/platforms/telosb/mac/tkn154/timer/Alarm32khzTo62500hzTransformC.nc:53:2:
warning: #warning "Warning: MAC timing is not standard compliant!"
make: *** [exe0] Error
1
-----------------------------------------------------
Thanks and congratz! I hope to try it soon.
Best regards,
/AntonioL
> Dear all,
>
> We are glad to inform that our GTS
implementation for the TKN15.4 has been
> released and you can find it on the TinyOS Contribution.
>
> *Documentation*:
>http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/kth/tkn154-gts/doc/pdf/GTS_implementation.pdf
>f
> *Code*:
>http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/kth/tkn154-gts/
>/
>
> Best regards,
>
> --
> Aitor Hernandez
> KTH | Automatic Control
> Research engineer
> Stockholm
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110115/b950893e/attachment.htm
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help