Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:37 27 Nov 2024 Privacy Policy
Jump to

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.

Forum Index : Microcontroller and PC projects : Hot spot telnet to Pico W

Author Message
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 191
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: Germany
Posts: 207
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: Australia
Posts: 191
Posted: 05:31am 02 Dec 2023
Copy link to clipboard 
Print this post

The solution was very simple!!!

OPTION TELNET CONSOLE ON

One of those days!

Regards
Rob White
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024