Hi all! Ok, I've found in support/sdk/c/sf/ the program prettylisten.c. It could be, what I'm looking for, to send/receive packets through (simulated) serial interface out of the simulation program using TOSSIM.
Would you suggest to use the C sf? The C++ sf claims there were issues with packet loss in the original implementation. Does it still applies? In the C++ sf readme it is claimed also that the same functionality is covered (with some improvements) but I couldn't find these functions: read_sf_packet(), write_sf_packet() Could any of the maintainers point me to the appropriate functions in C++ sf or the best way/place to implement them? Eric, you tried to work with mig using C: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-March/032102.html Have you got this work? I'm going to switch from Java to C/C++ and I'm wondering whether it is working out-of-the-box or not yet. Thanks, Andrey Andrey Gursky wrote: > Hi! > > I'm looking now for the implementation of java classes such as > PhoenixSource, MoteIF in C/C++. With another words is there any project > (may be some external) that gives a simple way to communicate with motes > (real or simulated) from C/C++ program? The support of java and python > is very well, of course. But for C/C++ (with exception of serial > forwarder) this all seems to be missing. Hope, someone could point me to > the solution, or the only way is to reprogram the presented sf? > > Thanks, > Andrey > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
