Skip to content

UDP Broadcast with RP2040 and W5500 #2396

@rickbassham

Description

@rickbassham
  • My goal is: to send a UDP broadcast message
  • My actions were: See gist here
  • My expectation was: To see the UDP packet in Wireshark or with netcat
  • The result I saw:
fa2    2 main.cpp:74:setup              MAC: 02:f7:0b:83:90:36 Waiting for IP...
1772   1 mongoose.c:9378:onstatechange  Link up
1793   2 mongoose.c:9619:rx_dhcp_client Lease: 43200 sec (43206)
1795   2 mongoose.c:9371:onstatechange  READY, IP: 192.168.10.167
1797   2 mongoose.c:9372:onstatechange         GW: 192.168.10.1
1798   2 mongoose.c:9373:onstatechange        MAC: 02:f7:0b:83:90:36
179b   2 main.cpp:82:setup              common_setup complete
2b24   2 main.cpp:21:sfn                sfn 1
2b25   2 main.cpp:21:sfn                sfn 3
2b29   2 main.cpp:21:sfn                sfn 8
2b2a   2 main.cpp:21:sfn                sfn 9
2b2b   2 main.cpp:36:sfn                Connection closed
3eac   2 main.cpp:21:sfn                sfn 1
3ead   2 main.cpp:21:sfn                sfn 3
3eb1   2 main.cpp:21:sfn                sfn 8
3eb2   2 main.cpp:21:sfn                sfn 9
  • My question is: Am I configuring this incorrectly? I don't see any packets in wireshark or with netcat.

Environment

  • mongoose version: 7.11
  • Compiler/IDE and SDK: VSCode
  • Target hardware/board: RP2040
  • Connectivity chip/module: W5500
  • Target RTOS/OS (if applicable): Arduino

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions