On sexta-feira, 30 de setembro de 2016 11:23:26 PDT Jack Mingaw wrote:
> I'm on OpenWRT so it should deal with.
> Which function may I use to get all connected interfaces? And how to
> force iotivity to re-scan interfaces and connect to all?

The code is all internal. IoTivity opens a netlink socket to get the list of 
interfaces and uses that to be notified. There's no function to call to update: 
the update comes from the kernel.

If this is not working for you, you'll need to do some debugging to find out 
why. Search for AF_NETLINK and you'll find the relevant code.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Reply via email to