Connecting a Raspberry Pi Pico W or Arduino Uno R4 wifi to Ignition to just of out data and receive data

Helllo, I very new to ardino and raspberry pi and servers and networking a month max knowing basic syntax

This is for my senior design class, so working with company develping this product for them, they asked us to use ignition for comnunication and data collection becuase they already used it alot, intially i was working with a ardino uno r4 wifi, but my mentors told me that that the connection type for ignition is web socket server, and i should use a raspberry pi pico w for websocket server.

I need help to find way to have two way comunication between ignition and raspberry pi pico w or arduino uno r4 wifi, i am able to connect both in ignition but ignition can hear raspberry or arduino when sending data, also ignition cant aslo talk to them.

I have attach both codes for audino and pi

Thanks,
Websocket server.py (4.6 KB)
arduino.rar (1.8 KB)