[riot-devel] Easy ping

Baptiste Clenet bapclenet at gmail.com
Fri Sep 23 18:35:57 CEST 2016


Yes it would work, but I prefer a simple ping, two gnrc_networking
running and one wants to ping the other one, that's all what I want.
ICMPV6 is great because I don't need to deal with the request on the
second board.

2016-09-23 18:30 GMT+02:00 Marc Sissom <MSissom at krypton-solutions.com>:
> I assume the device you are trying to reach has some purpose. If so send it a purposeful packet. For example, you are running a web server on the device in question, open a connection to port  80 with your telnet utility and talk to it.
>
>
> Marc Sissom
> Krypton Solutions
>
> -----Original Message-----
> From: devel [mailto:devel-bounces at riot-os.org] On Behalf Of Baptiste Clenet
> Sent: Friday, September 23, 2016 11:21 AM
> To: RIOT OS kernel developers <devel at riot-os.org>
> Subject: Re: [riot-devel] Easy ping
>
> Yes but it's not as easy as I want (shell command) Tell me the easiest possible function to know if an address is reachable or not :-)
>
> 2016-09-23 17:56 GMT+02:00 Martine Lenders <mail at martine-lenders.eu>:
>> Hi Baptiste,
>> have you had a look at the implementation of the ping shell command?
>> Another way would be to (re-)implement ping using conn_ip (or sock if
>> merged). In that case, if you want it reaaaally easy you don't even
>> have to implement ICMPv6 ping but can do whatever you want ;-).
>>
>> Cheers,
>> Martine
>>
>> 2016-09-23 17:18 GMT+02:00 Baptiste Clenet <bapclenet at gmail.com>:
>>> Hi,
>>>
>>> How can I easily ping a board by software (without using shell) so I
>>> ping( IPV6_address) and I get -1 for error (not reachable) or 0 for
>>> success?
>>>
>>> Cheers,
>>>
>>> --
>>> Baptiste
>>> _______________________________________________
>>> devel mailing list
>>> devel at riot-os.org
>>> https://lists.riot-os.org/mailman/listinfo/devel
>> _______________________________________________
>> devel mailing list
>> devel at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/devel
>
>
>
> --
> Baptiste
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel



-- 
Baptiste


More information about the devel mailing list