Re: [riot-devel] Easy ping

2016-09-23 Thread Baptiste Clenet
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

Re: [riot-devel] Easy ping

2016-09-23 Thread Martine Lenders
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

Re: [riot-devel] Easy ping

2016-09-23 Thread Marc Sissom
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 Subject: Re: [riot-devel] Easy ping

Re: [riot-devel] Easy ping

2016-09-23 Thread Baptiste Clenet
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 : > I

Re: [riot-devel] Easy ping

2016-09-23 Thread Marc Sissom
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

Re: [riot-devel] Easy ping

2016-09-23 Thread Baptiste Clenet
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? >

Re: [riot-devel] Easy ping

2016-09-23 Thread Martine Lenders
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,

[riot-devel] Easy ping

2016-09-23 Thread Baptiste Clenet
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

Re: [riot-devel] GNRC_NETWORKING

2016-09-23 Thread Ilias Seitanidis
Hi again, The problem is probably on the Br, after sending two udp messages, 4 bytes each with two minutes difference, I am not able to see the node in the br's ncache. I am using the br of miri64, I can't find the email where she mentioned that the br doesn't remove records. Anyone using the br

Re: [riot-devel] Netdev2 State changes

2016-09-23 Thread Peter Kietzmann
Hi Alex, sorry for the big delay. NETOPT_ACK_REQ, NETOPT_AUTOACK as well as NETOPT_RETRANS, NETOPT_CSMA or NETOPT_CSMA_RETRIES are not meant to be called each time before a frame-transmission but just to set the option on the device/driver. That means -if set- the driver will set the ACK REQ