Thanks Martine!
I do need timeout, otherwise I won't know if the node is connected.
Sock is in PR so I prefer not to use it for the moment
2016-09-23 20:37 GMT+02:00 Martine Lenders :
> Hi Baptiste,
> that depends on what you mean by reachable. Even for ICMPv6 ping (which
Hi Baptiste,
that depends on what you mean by reachable. Even for ICMPv6 ping (which is
used with the shell ping command) you need some "server", that handles the
request and issues a reply. If that server is not present the node will not
reply to pings, even if it is reachable in the sense that
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] Eas
on 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
-
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
fu
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 :
> Hi Baptiste,
> have you had a look at the implementation of the ping shell command?
>
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 relly easy you don't even
have to implement ICMPv6 ping but can do whatever you want ;-).
Cheers,
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