Search found 342 matches

by kfricke
Thu May 10, 2018 3:34 pm
Forum: ESP8266 boards
Topic: nmap shows active microcontrollers
Replies: 4
Views: 254

Re: nmap shows active microcontrollers

You’re are using TCP SYN scan technique of nmap. It can even detect a device with no open port like your ESP.

So yes it can see the device in this state. The ESP network interface should be disabled to deactivate the device detection.
by kfricke
Wed May 09, 2018 10:53 pm
Forum: ESP8266 boards
Topic: nmap shows active microcontrollers
Replies: 4
Views: 254

Re: nmap shows active microcontrollers

Following the code example you are posting your station interface is set to be active (True).
by kfricke
Tue Feb 27, 2018 7:24 pm
Forum: ESP8266 boards
Topic: Where is network connection information saved ?
Replies: 3
Views: 1511

Re: Where is network connection information saved ?

I am away from my build machine at the moment and so not able to tell the exact details. But all that needs to be done is to cross-read the ESP docs and open source parts of the SDK regarding this matter. You can search for the C config structs and find the relevant references in both the PDF and on...
by kfricke
Tue Feb 27, 2018 12:09 am
Forum: ESP8266 boards
Topic: Where is network connection information saved ?
Replies: 3
Views: 1511

Re: Where is network connection information saved ?

The ESP8266 writes the WiFi credentials to the flash memory every time you call the connect method. That is not MicroPython specific but implemented in the underlying the ESP8266 vendor SDK. The config sector in flash memory keeps an history of the last 6 credentials and tries to connect to them if ...
by kfricke
Mon Dec 18, 2017 8:11 am
Forum: General Discussion and Questions
Topic: how to calculate date difference in micropython
Replies: 2
Views: 281

Re: how to calculate date difference in micropython

Check time.localtime([secs]) from the docs. Using that you will receive an 8-tuple. Do some calculating for your desired representation.
by kfricke
Thu Dec 14, 2017 7:54 am
Forum: Hardware Projects
Topic: Electrical network analyser/signal generator
Replies: 10
Views: 1396

Re: Electrical network analyser/signal generator

All I can say is „Wow!“
by kfricke
Thu Dec 07, 2017 10:30 pm
Forum: ESP8266 boards
Topic: how can I implement time scheduling in micropython
Replies: 13
Views: 1202

Re: how can I implement time scheduling in micropython

zedtech wrote:
Thu Dec 07, 2017 2:21 am
... Anyways what is the need for time.sleep(0.3)?
The ESP8266 RTOS (which MicroPythonactually runs embedde in) needs time slices to do the work to keep the WiFi functionalites up and running (especially in AP mode).
by kfricke
Thu Dec 07, 2017 10:10 pm
Forum: ESP8266 boards
Topic: Credentials sticking around?
Replies: 7
Views: 1092

Re: Credentials sticking around?

is there anyone who knows exactly how many credentials are saved in the flash and where? According to this link it may be 0x7e000h. But i do not know if that still is the same location today and with MicroPython aboard the flash. if only the last configuration is taken into account, why are so many...
by kfricke
Sat Oct 14, 2017 3:35 pm
Forum: General Discussion and Questions
Topic: This forum's behaviour has changed for the worse.
Replies: 9
Views: 1429

Re: This forum's behaviour has changed for the worse.

You might like to consider a more modern forum software like Discourses. I am running one for a few weeks now and I am impressed by it‘s features. Especially the spam prevention and trust mechanics plus more hierarchical than linear threads are nice imho. Anyways, thanks for thee work on so many fro...
by kfricke
Thu Oct 05, 2017 9:30 pm
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 14
Views: 4669

Re: [STM32F103] - Porting MicroPython to the "BluePill" board

This really is an interesting effort. I also have been looking for the support of lower flash sized STM32 MCUs. Even with 64k flash an experienced user can do what he wants Micropython to do. Of course this is not a beginners platform! These days many are interested in IoT MCUs only. But the stabili...