Pico W - how to use it with UDP - RESOLVED

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
Nexus12
Posts: 2
Joined: Thu Jul 14, 2022 2:04 pm

Pico W - how to use it with UDP - RESOLVED

Post by Nexus12 » Thu Jul 14, 2022 2:11 pm

Hi
Anyone have any idea how to implement a UDP project on the Pico W

I can not see how to configure the wifi module to use the UDP protocol

Anyone have any ideas - its almost certainly me overthinking things - but I'm stuck :?

Any help would be appreciated
Last edited by Nexus12 on Thu Jul 14, 2022 5:10 pm, edited 1 time in total.

TheSilverBullet
Posts: 50
Joined: Thu Jul 07, 2022 7:40 am

Re: Pico W - how to use it with UDP

Post by TheSilverBullet » Thu Jul 14, 2022 3:22 pm

Nexus12 wrote:
Thu Jul 14, 2022 2:11 pm
Hi
Anyone have any idea how to implement a UDP project on the Pico W

I can not see how to configure the wifi module to use the UDP protocol

Anyone have any ideas - its almost certainly me overthinking things - but I'm stuck :?

Any help would be appreciated
Have a look at:
socket.socket(af=AF_INET, type=SOCK_STREAM, proto=IPPROTO_TCP/)
socket.socket(af=AF_INET, type=SOCK_DGRAM, proto=IPPROTO_TCP)

Nexus12
Posts: 2
Joined: Thu Jul 14, 2022 2:04 pm

Re: Pico W - how to use it with UDP

Post by Nexus12 » Thu Jul 14, 2022 4:09 pm

Uh thanks 'TheSilverBullet' I got it now - thank you

Post Reply