Git Product home page Git Product logo

Comments (6)

microbuilder avatar microbuilder commented on September 9, 2024

The key length is indeed limited to 16 bytes or less when connecting manually. It's an unfortunate limitation, but the way TI defined the struct for the connection params, the didn't leave room for more bytes than this. You can connect with up to a 32 byte key using SmartConnect, but normally not with a manual connection.

What method are you using to connect?

from adafruit_cc3000_library.

microbuilder avatar microbuilder commented on September 9, 2024

You can see a note on this from TI here in the doxygen comments:
https://github.com/adafruit/Adafruit_CC3000_Library/blob/master/utility/wlan.h#L188

from adafruit_cc3000_library.

technobly avatar technobly commented on September 9, 2024

After it wasn't working with manually connecting using .connectToAP(), I tried smart config and that wasn't working either. Then I made the change to the MAXLENGTHKEY = 32 and tried manually connecting again and it worked.

It might SAY "up to 16 bytes", but more than 16 works ;-) Might be worth asking them about it... because having long passwords is pretty common.

from adafruit_cc3000_library.

technobly avatar technobly commented on September 9, 2024

I'm using WPA security btw.

from adafruit_cc3000_library.

microbuilder avatar microbuilder commented on September 9, 2024

Confirmed with TI engineering staff that recent firmware can handle 32 chars max now. Library updated accordingly.

from adafruit_cc3000_library.

technobly avatar technobly commented on September 9, 2024

w00t! :) Thanks for the update.

from adafruit_cc3000_library.

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.