Skip to content

volatilflerovium/udp_server_for_pico_w

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple UDP Server for RaspberryPi Pico W

Simple implementation of UDP server for Raspberry Pi Pico W RP2040.

How to build it

# cd udp_server_for_pico_w
# mkdir build
# cd build
# cmake .. -DWIFI_SSID="YOUR_SSID" -DWIFI_PASSWORD="YOUR_PASSWD"\
-DPICO_SDK_PATH=/path/to/pico-sdk [-DUDP_SERVER_BUFFER_SIZE=512\]
[-DUDP_SERVER_PORT=4444\]
[-DLWIP_MODE=background\]
[-DUSB_DEBUG=ON]
  • LWIP_MODE accepts: background or poll. Default: background.
  • USB_DEBUG enable usb serial for debugging. Default ON

After flashing your Pico W, it should connect to the local network and it will be given an ip address. You can check the ip asigned to the UDP server with the command: (first with Pico w unplugged)

#nmap -sn 192.168.1.*

Then repeat the command with Pico w plugged.

About

Simple implementation of a UDP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •