[riot-devel] Network Stack Question
authmillenon at gmail.com
Sun Oct 25 16:57:23 CET 2015
2015-10-24 21:17 GMT+02:00 Haoyang Yu <haoyang.yu at rutgers.edu>:
> 1. where can I find the txtsnd source codes?
> `txtsnd` is a default shell command for the `gnrc_netif` module pulled in
by the `shell_commands` module. As such you can find it in
(When I'm not sure were something is located in RIOT, I use `git grep` ;-))
> 1. Does packet txtsnd sent is through RF based on GNRC protocol, not
> the serial right?
> Depends, normally (for physical boards) it sends over RF. On native there
is no RF, so we use TAP   to virtualize an Ethernet connection. Since
native doesn't have a serial line either (since it is just a process in the
host OS, utilizing normal stdin/stdout) we decided to "misuse" the PORT
environment variable for native to point to the TAP instead to the serial
device (so that might be where your confusion stems from). For physical
boards you can however also send packets via serial line, if you wish to
(for a border router e.g.), using SLIP . See my last mail for how to
activate that in RIOT.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel