I just started working with an OAK-D S2 POE. I'm not using DCHP of any kind and I'm using a D-LINK POE switch to which only my laptop and the camera are connected. I've configured by laptop's network adapter with a static IP of 169.254.1.1. When I set my network adapter to have a 24-bit subnet mask (255.255.255.0) I'm unable to connect to the camera using depthai-ros, but it does succeed when I set the adapter to have a 16-bit subnet mask (i.e. 255.255.0.0).
Why is this happening? I'm able to ping the camera with both subnet mask settings and clearly the camera's default address of 169.254.1.222 is inside my LAN whether I've set my laptop's network adapter to 169.254.1.1/24 or 169.254.1.1/16 (hence I'm able to ping the camera in both cases).