[riot-devel] Easy ping

Marc Sissom MSissom at krypton-solutions.com
Fri Sep 23 18:30:19 CEST 2016


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


More information about the devel mailing list