Giter Site home page Giter Site logo

CLI debug about wifiduck HOT 5 CLOSED

spacehuhntech avatar spacehuhntech commented on July 17, 2024
CLI debug

from wifiduck.

Comments (5)

Bommlon avatar Bommlon commented on July 17, 2024

Maybe you are missing a linebreak after "hello world"?
The write command doesn't add an appending linebreak by itself.

from wifiduck.

spacehuhn avatar spacehuhn commented on July 17, 2024

I just tested it myself and

create test
write -f test -c "STRING something"
write -f test -c "STRING else"
cat test

prints
STRING somethingSTRING else

That means write is not appending linebreaks by it's own.
What you can do is either to include a linebreak yourself or use the stream <file>, close and read commands.
With those you can open a file stream and everything you send over serial will be added as is to the file, until you send the close command.

from wifiduck.

ruspea avatar ruspea commented on July 17, 2024

from wifiduck.

spacehuhn avatar spacehuhn commented on July 17, 2024

Probably the same issue, you need to send close with and after a linebreak like:

stream somefile
.....your text.......
close

but if you send it without linebreaks, the device sees it as this:

stream somefile.....your text.......close

from wifiduck.

stale avatar stale commented on July 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from wifiduck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.