arduino / arduino/ArduinoCore-mbed

Nano RP2040 - WiFi transmission problem

Open
#549 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

I am working on an FTP communication, where the RP2040 is the FTP client that send data present on an SD card.

Once the WiFiClient is connected to the FTP server, I send chunk of data.

Really often the WiFiClient.write() function return 0, and often size of data written is not equal to the amount of data passed to the function.

The same code is working perfectly with an ESP32 or an ESP8266.

What type of action could I do to solve this problem?
I've tried different chunk size, without so much difference.

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names WiFiClient.write() as the failing entry point during FTP transfers from an SD card on the RP2040. Reproduce the short or zero writes and compare them with ESP32 and ESP8266 behavior; done means determining the cause and establishing that the RP2040 sends the requested data reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.