Hello sharath ,
We apologize for error in the docs - I have just updated it now. You can specify you IP as shown below. And make sure to use the latest depthai version (2.16.0.0), as we have added some device searchability improvements.
device_info = dai.DeviceInfo("169.254.1.222")
device_info.state = dai.XLinkDeviceState.X_LINK_BOOTLOADER
device_info.protocol = dai.XLinkProtocol.X_LINK_TCP_IP
Could you try this out?
Thanks, Erik