Then setup a task that runs ping.

Marc Sissom
Krypton Solutions

-----Original Message-----
From: devel [mailto:devel-boun...@riot-os.org] On Behalf Of Baptiste Clenet
Sent: Friday, September 23, 2016 11:36 AM
To: RIOT OS kernel developers <devel@riot-os.org>
Subject: Re: [riot-devel] Easy ping

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 <msis...@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-boun...@riot-os.org] On Behalf Of Baptiste 
> Clenet
> Sent: Friday, September 23, 2016 11:21 AM
> To: RIOT OS kernel developers <devel@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 <m...@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 <bapcle...@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@riot-os.org
>>> https://lists.riot-os.org/mailman/listinfo/devel
>> _______________________________________________
>> devel mailing list
>> devel@riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/devel
>
>
>
> --
> Baptiste
> _______________________________________________
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel



--
Baptiste
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to