Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Bizzie Senior Member Joined: 06/07/2014 Location: AustraliaPosts: 192
Posted: 10:50pm 30 Nov 2023
Copy link to clipboard
Print this post
Hi all, Let me say I am a complete noobie to all this web stuff.
I would like to use my mobile to telnet to a Pico W.
I have setup a hotspot on my phone and have an SSID and password. On a brand new Pico W I have loaded - WebMite MMBasic Version 5.07.08RC4 and setup the WIFI an option list shows:-
WebMite MMBasic Version 5.07.08RC4 OPTION WIFI AndroidAPc620, ********, PICOE6614C311B5
From Telnet on win 10.
If I now repower the Pico from a USB charger I can not connect from the Android phone. I have tried 3 different clients (Phone WIFI disabled and hotspot enabled).
Has anyone suceeded doing this, if so what app did you use?Rob White
andreas Senior Member Joined: 07/12/2020 Location: GermanyPosts: 226
Posted: 12:23pm 01 Dec 2023
Copy link to clipboard
Print this post
The pico is not as robust as a standard PC in regard of wireless connection. Possibly you have to check the network connectivity inside the pico and do a reconnect in the case that there is no connection.
Sub Connect Do While MM.Info(TCPIP STATUS) <> 3 If Timer > 6000 Then CPU restart Loop Print "IP: ";MM.Info(ip address) End Sub
so "Connect" checks if 6 seconds after reboot/powerup there is no connection then it will restart the pico. Often the second try is successfull.
I have put the Connect sub into the library of the pico - so it is always available.
-andreas
Bizzie Senior Member Joined: 06/07/2014 Location: AustraliaPosts: 192