I'm working on the bacnet IP, and I found that the UDP socket doesn't receive the broadcast message from the client.
I'm using ESP-IDF 4.2, I've set IP_SOF_BROADCAST and IP_SOF_BROADCAST_RECV to 1 in opt.h as suggested.
I've set socket options of SO_BROADCAST and bind the socket to INADDR_ANY too.
Anything I missed out?
Or anyone have working example code as a reference?