Change password

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
Post Reply
Ferretproof
Posts: 8
Joined: Sun Oct 11, 2015 4:56 pm

Change password

Post by Ferretproof » Sun Oct 11, 2015 5:13 pm

Hi,

I am very new to all this MicroPython stuff and electronics is something which happened years ago, but still... what fun!
(I know much more of the Monty-version of Python, but that is something completely different) ;) ).

I'd like to know how to change the default userid/password. (the one printed on the box). How to do that?

I have a millionbillion other questions but I will ask them in another post.

Thanks,

Ray

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Change password

Post by danicampora » Sun Oct 11, 2015 8:51 pm

Hi Ray,

There's a way to do it, but keep in mind that this will change in the next release, since it's one of the things that we didn't refactor along with the new API change.

Code: Select all

import network
network.server_login('new_user', 'new_password')
Add this to your boot.py

You can also change the default timeout of the server.

Code: Select all

network.server_timeout(timeout_in_seconds)

Cheers,
Daniel

Post Reply