Skip to main content
florian239955_st
Associate III
January 20, 2016
Question

Firstset Function: Special Characters with percentage encoding?

  • January 20, 2016
  • 6 replies
  • 950 views
Posted on January 20, 2016 at 07:51

Good Morning,

I tried the FirstSet function and it worked fine without special characters. I tried it also with percentage encoding, but it doesn't work, like expected.

The FirstSet function is a good way to configure a device with limited user input possibilites. But it is mandatory to use special characters for the password. So, is it planed to add some encoding (e.g. percentage encoding'') to the FirstSet function, so that I can use this function for networks with passwords with special characters?

Cheers,

Flow

    This topic has been closed for replies.

    6 replies

    Gerardo GALLUCCI
    ST Employee
    January 20, 2016
    Posted on January 20, 2016 at 08:22

    Yes, it's coming

    j

    florian239955_st
    Associate III
    January 20, 2016
    Posted on January 20, 2016 at 15:40

    Hi Jerry,

    nice to hear - will this fixed in the next release?

    Cheers,

    Flow

    Gerardo GALLUCCI
    ST Employee
    January 20, 2016
    Posted on January 20, 2016 at 15:47

    Yes.

    A new configuration variable allows to enable decoding of:

    - special characters: !''£$%^& etc...

    - html entities: &#.....;

    - use raw hex data: supporting non-standard character sets

    florian239955_st
    Associate III
    February 3, 2016
    Posted on February 03, 2016 at 08:27

    Hi Jerry,

    I updated the module and tried the firstset function.

    Do I have to change some settings, that the module will decode the URL?  The passkey is in the wifi_wpa_psk_text register still in hex coding.

    Thank you.

    Cheers,

    Flo

    Gerardo GALLUCCI
    ST Employee
    February 3, 2016
    Posted on February 03, 2016 at 09:31

    There a new variable called ip_use_decoder.

    - 0 = no decoding [default]

    - 1 = RAW decoding

    - 2 = UTF-8 decoding

    - 6 = HTML entities decoding

    try 6

    florian239955_st
    Associate III
    February 3, 2016
    Posted on February 03, 2016 at 10:28

    Edit: Simple Android App for using the ''First Set'' function:

    https://play.google.com/store/apps/details?id=org.broi.spwf01

    Hi Jerry,

    perfect - it works.

    Mille grazie.

    Regards,

    Flow