Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work #125

Open
tokamac opened this issue Nov 2, 2022 · 1 comment
Open

Doesn't work #125

tokamac opened this issue Nov 2, 2022 · 1 comment

Comments

@tokamac
Copy link

tokamac commented Nov 2, 2022

"In 3.5.0, the device can be set as a AP and accessed with URL of http://10.10.7.1/"

No it can't.

@tosiara
Copy link

tosiara commented Dec 21, 2022

That page does not for me too, but I have found that you can send a POSt request with WIFI connection credentials:

curl -i -s -k -X $'POST' \
    -H $'accept: application/json' -H $'package-name: com.coolkit' -H $'cache-control: no-store' \
    -H $'Content-Type: application/json;charset=UTF-8' -H $'Content-Length: 78' \
    -H $'Host: 10.10.7.1' -H $'Connection: Keep-Alive' -H $'Accept-Encoding: gzip' \
    -H $'User-Agent: okhttp/3.12.12' \
    --data-binary $'{\"ssid\":\"mywifi\",\"password\":\"11111111\",\"serverName\":\"192.168.2.1\",\"port\":80}' \
    $'http://10.10.7.1/ap'

Response will be:

HTTP/1.1 200 OK
Content-Type: application/json
Connection: keep-alive
Content-Length: 11

{"error":0}

Either something changed and the docs are not up to date, or there is a bug in the firmware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants