This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wlan scanner
#4
(2022-12-04, 09:35 PM)tjm Wrote: The sensors are controlled by Wemos D1 mini-controller, the program of the Wemos is coded by me in C using Platormio-IDE.
The libraries of the IDE establish the wifi connection, the connection function takes SSID and password as parameters.

sorry , I use micropython now, been a while since I used C. In micropython there's a command to set a fixed IP address. Just one line

self.sta_if.ifconfig((config["IP_Address"], '255.255.255.0', '10.10.10.1', '10.10.10.1'))

guessing it's likely the C library will have similar?
Reply


Messages In This Thread
wlan scanner - by tjm - 2022-12-04, 06:39 PM
RE: wlan scanner - by PaddyB - 2022-12-04, 07:35 PM
RE: wlan scanner - by tjm - 2022-12-04, 09:35 PM
RE: wlan scanner - by PaddyB - 2022-12-04, 10:54 PM
RE: wlan scanner - by tkurki - 2022-12-05, 07:35 AM
RE: wlan scanner - by tjm - 2022-12-05, 12:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)