Coder Social home page Coder Social logo

Comments (5)

rwoodley avatar rwoodley commented on June 16, 2024

I don't think we should introduce more ways for WiFi pairing to fail silently. Sanity check failures could be logged, but should not result in WiFi errors.

from ftc_app.

AlecHub avatar AlecHub commented on June 16, 2024

If there is a newline character in the WiFi-Direct name, then it crashes other teams' phones. In this case, the RC should not create a WiFi Direct group, and the DS should not attempt to pair with any RCs, if either of their respective names has a newline character.

Agree with @rwoodley that other sanity checks can be logged instead of fail if by "logged" you mean a big "red alert" indication in the GUI; not just some message buried in the logcat.

from ftc_app.

strugee avatar strugee commented on June 16, 2024

@rwoodley so don't fail silently. Fail loudly, and with lots of error dialogs.

from ftc_app.

magneticflux- avatar magneticflux- commented on June 16, 2024

@strugee The problem is, it shouldn't bug people when other people's malformed names try to connect. It should hide the error on the receiving end, and show it on the sending end. No problem finding the error if both phones are from one team, but other people can't be malicious with the system.

from ftc_app.

gearsincorg avatar gearsincorg commented on June 16, 2024

Closed, as this issue relates to previous season code.
Current season includes built-in inspection tool & optional name filtering.

from ftc_app.

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.