On Monday 01 September 2008 01:07:44 João Paulo Amaro da Costa Luz Carneiro wrote: > Hi, > Is it possible to connect the MIB520 to a device (not pc) such as a > router or modem? > After sending messages to serial from the mote, how can I read them > from the router? > Any examples? Thanks.
since router are like tiny linux pc (the majority of them), if you have access to the router terminal through ssh or telnet it will be like operating with a limited linux box. Many times the firmware on such type of hardware is limited by your internet provider or the supplier. so if you have the luck to work with a openwrt enabled router (http://openwrt.org/) you'll have the possibility of install various software package just like in linux. so your problem is: how can i read from a usb serial port? in the case of a standard pc you can read from serial port of a mote through the provided tinyos-java classes... . so until a router is a tiny pc, you'll have only to discover proper openwrt jvm (i think there are more than one) and import on the router the needed java classes. done that, ssh connect to your router, call the listener classes and hope that'll works! that's it if you want to deal directly with the already provided java classes... otherwise you need to write your own program to read from a usb port (just as like as on a pc) and try it on the router. i know, isn't a ready to use solution, but i think there are at least some hints for you! :D > Best regards, > > Joao > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help regards , Mauro _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
