Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Write ascii null value to a file using LittleFS #6973

Unanswered
mihirgraspberry asked this question in Q&A
Discussion options

Hi,

I am trying to update the firmware of ESP32 from a 4G module. I am able to download the file into 4G module. I am also able to read and print the contents of the binary file in ESP but unable to store the null characters inside the binary file into the ESP memory.

The actual binary file of ESP32 built with arduino contains several null characters. I am not able to write the null characters into the file.
The file write fails.
Is there a way we can write the ascii NULL character into the file.

I have used a hex editor to verify the presence of null characters inside the binary file.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /