[ZEPHYR] UDP binding to interface is not portable
The socket option SO_BINDTODEVICE
should be used with an struct ifreq
structure. Current implementation does not succeed with Zephyr V3.2.0 because the implementation of setsockopt
also checks the size of the parameter.
Zephyr samples must also be modified to add an option CONFIG_SOPC_PUBLISHER_ITF_NAME
that must be a string providing the name of the interface for Pub emissions.
Edited by Jérémie Chabod