Hi,
We would like to send Gratuitous ARP while our device is connected.
Since no API can be used, we would like to use the raw socket to implement.
However, there is only little information about the raw socket.
If setting SL_SOCK_RAW in sl_socket(), the device cannot be connected according to your document.
So we use SL_SOCK_DGRAM in sl_socket(), but we do not know how to set the parameters because of a lack of information.
by setting SL_SOCK_DGRAM, layer 2 information is completed so that we do not need to build the MAC/LLC by ourselves?
But we still need to input the destination (FF:FF:FF:FF:FF:FF) in sendto(), LLC type to ARP, and so on.
Is there any idea how to accomplish this?
BR,
Daniel.