I would like to send data to my server from a Raspberry.
The Raspberry is connected by Wi-Fi to a network, and by Ethernet to my server.
When I try to ping my server (at 198.168.1.30) I must specify the interface :
ping -I eth0 198.168.1.30
otherwise, I have an error message : Network unreachable.
In my Android Things App, I have the same error. I think I have to "say" to my raspberry to send the request on eth0.
Is it possible to specify on which interface we want to contact an address on Android Things App ?