Search found 24 matches

by jcea
Fri Nov 03, 2017 12:47 pm
Forum: ESP8266 boards
Topic: Key reinstallation attacks vulnerability
Replies: 2
Views: 241

Re: Key reinstallation attacks vulnerability

I have the same question. Is Micropython 1.9.3 release safe?.
by jcea
Sun Aug 06, 2017 11:32 pm
Forum: ESP8266 boards
Topic: 2nd ESP8266 projects stretch goal - Embedded Database (btree module)
Replies: 20
Views: 5060

Re: 2nd ESP8266 projects stretch goal - Embedded Database (btree module)

@crizeo, you must compile Micropython in a regular Unix/Linux host, use its btree module to generate the file you what and then copy that file to the ESP8266 device.
by jcea
Wed May 31, 2017 8:52 am
Forum: ESP8266 boards
Topic: micropython R1.9 ETA @@ released @@
Replies: 33
Views: 3370

Re: micropython R1.9 ETA @@ released @@

Maybe I am just adding to the noise, but I would also agree that high/low is the most concise and describes the states the best. True/False and 1/0 mean about the same in my head, and I often use them also, but I feel it does not describe it as well when thinking pin states. Those three options see...
by jcea
Mon May 29, 2017 10:21 pm
Forum: ESP8266 boards
Topic: micropython R1.9 ETA @@ released @@
Replies: 33
Views: 3370

Re: micropython R1.9 ETA @@ released @@

I guess he meant it was never part of the machine module (pyb still supports high/low) To me, high/low refers to an electrical state, and that is what a pin's state is. It is somewhat confusing that on/off is now used for both signal and pins... but maybe it's just me... +1, my friend. "On" and "of...
by jcea
Sun May 28, 2017 12:28 pm
Forum: ESP8266 boards
Topic: micropython R1.9 ETA @@ released @@
Replies: 33
Views: 3370

Re: micropython R1.9 ETA @@ released @@

...Is it 100% compatible with code written for 1.8.7 ?... The changelog is here http://micropython.org/resources/micropython-ChangeLog.txt . One thing that stands out is: "machine.Pin high/low methods are renamed to on/off in esp8266 and zephyr (this is a backwards-incompatible change)" I think thi...
by jcea
Thu May 11, 2017 4:02 pm
Forum: ESP8266 boards
Topic: How do I list the RSSI (strength) of the Wi-Fi SSID I'm connected to?
Replies: 7
Views: 1087

Re: How do I list the RSSI (strength) of the Wi-Fi SSID I'm connected to?

On my own personal router yes, on my customer's router no. I am talking about the ESP8266 knowing the MAC of the router which it is connected to via WIFI. If the code has access to that information (the MAC of the currently connected router), you could filter the wifi scan. I can not check my ESP82...
by jcea
Thu May 11, 2017 7:31 am
Forum: ESP8266 boards
Topic: How do I list the RSSI (strength) of the Wi-Fi SSID I'm connected to?
Replies: 7
Views: 1087

Re: How do I list the RSSI (strength) of the Wi-Fi SSID I'm connected to?

I can not check just now, but do you have access to the WIFI's routers MAC addresses?
by jcea
Tue Apr 04, 2017 2:59 pm
Forum: ESP8266 boards
Topic: Use of "@micropython.asm_xtensa"
Replies: 2
Views: 316

Re: Use of "@micropython.asm_xtensa"

Errr... I inadvertently tried this under Micropython 1.8.6. Sory for wasting your time. As an example of what can be done: >>> @micropython.asm_xtensa ... def a(a2, a3): ... mov(a4, a2) ... movi(a2, 0) ... movi(a5, 1) ... label(LOOP) ... add(a2, a2, a4) ... sub(a3, a3, a5) ... bnez(a3, LOOP) >>> a(1...
by jcea
Tue Apr 04, 2017 11:44 am
Forum: ESP8266 boards
Topic: Use of "@micropython.asm_xtensa"
Replies: 2
Views: 316

Use of "@micropython.asm_xtensa"

As documented in the changelog (https://github.com/micropython/micropython/releases) of release 1.8.7, we have a native assembler emitter. https://github.com/micropython/micropython/commit/f76b1bfa9f59fcfa03837c6934ad51d2db3ff4a3 shows it as "@micropython.asm_xtensa". I don't see any kind of documen...
by jcea
Tue Apr 04, 2017 11:36 am
Forum: ESP8266 boards
Topic: MQTT and Timers exceptions
Replies: 3
Views: 477

Re: MQTT and Timers exceptions

Would be nice if MQTT library included a timeout value. I do monkey patching: This code implements a 5 seconds timeout. Somebody should do a pull request for micropython-lib... Thank you for your answer. However, it may seems dumb to you as I'm just a beginner, but I thought that the problem was th...