Search found 43 matches

by mflmartin
Fri Apr 02, 2021 5:12 pm
Forum: ESP8266 boards
Topic: NEOPIXELS ESP8266-01 GPIO2 first one flashes blue
Replies: 1
Views: 144

NEOPIXELS ESP8266-01 GPIO2 first one flashes blue

Hi! So I am playing with neopixels, and they are the regular RGB ones (no need for bpp=4), and they appear to work ok. Nevertheless, everytime I reset the module, the first one flashes blue. I connected the array of leds to GPIO2 for the input signal. After that, if I change the colors or turn all o...
by mflmartin
Thu Apr 01, 2021 10:51 pm
Forum: ESP8266 boards
Topic: Can't copy files, repl works [SOLVED]
Replies: 2
Views: 174

Re: Can't copy files, repl works

Replying to myself:

I installed a v1.14 version, which requires 2Mb or more of Flash, in a 1MB flash ESP8266. Hence, the repl works, but the filesystem doesn't.

I downloaded the correct stable version for 1MB devices, and it works now.

Closed.
by mflmartin
Thu Apr 01, 2021 9:41 pm
Forum: ESP8266 boards
Topic: Can't copy files, repl works [SOLVED]
Replies: 2
Views: 174

Re: Can't copy files, repl works

Note: Updated initial post with complete steps.
by mflmartin
Thu Apr 01, 2021 9:25 pm
Forum: ESP8266 boards
Topic: Can't copy files, repl works [SOLVED]
Replies: 2
Views: 174

Can't copy files, repl works [SOLVED]

Hi, So I did the following steps in 3 units (2 black esp8266 and 1 blue one), and I have the exact same problem in all of them. I trie different cables, different power sources, almost everything, but I keep getting the same behaviour. I also tried to flash them with NODEMCU programmer, instead of e...
by mflmartin
Mon Mar 08, 2021 6:24 pm
Forum: ESP32 boards
Topic: ble.gattc_read() can read out invalid values
Replies: 11
Views: 830

Re: ble.gattc_read() can read out invalid values

Hi Tinus,

I think I am in the same position. Can you tell me how if you found the exact solution? I need to enable indications for a given service but it does not work. Thanks!
by mflmartin
Sun Mar 07, 2021 11:21 pm
Forum: General Discussion and Questions
Topic: Right way to send HEX data over BLE, struct.pack?
Replies: 1
Views: 250

Right way to send HEX data over BLE, struct.pack?

Hi, What would be the right way to send this string over ble, with gattc_write? data_sfs = '7e00822c0100a5aa342906c15706cf5710382ce02e25d386302155369a1cd64023576dc1105a878e0f7f12bd79ae3ce5e297cf8f68e1234fae5d1b6d9cec0aca33b226adbe3506232abbc44e7a9483f3d54d4fb16b0bd15a343ea8027b9b9c77e1b3b4cdcbdced2c...
by mflmartin
Fri Mar 05, 2021 12:01 pm
Forum: ESP32 boards
Topic: Could not enter raw repl in fresh install
Replies: 2
Views: 281

Re: Could not enter raw repl in fresh install

Also, weird enough, with uPYLoader, I can see the boot.py files, it connects to the device, but when I try to see that file with uPYLoader, this program crashes and becomes unresponsive.
by mflmartin
Fri Mar 05, 2021 11:45 am
Forum: ESP32 boards
Topic: Could not enter raw repl in fresh install
Replies: 2
Views: 281

Could not enter raw repl in fresh install

Hi! This thing is weird. I had been using a module (AZDELIVERY ESp32), flashed it, and I was pushing python files without any issue using pyboard.py. At one moment this module became unresponsive, and I started getting this error: python pyboard.py --device COM4 test.py could not enter raw repl So I...
by mflmartin
Thu Mar 04, 2021 11:31 pm
Forum: General Discussion and Questions
Topic: Bluetooth simple connection & parsing of results
Replies: 14
Views: 764

Re: Bluetooth simple connection & parsing of results

UPDATE: I guessed, from another example, that I had to use the write_handle that was calculated previously for the write characteristic. And for the value handle, I used the value of the handle for the write_service. self._ble.gattc_write(self.conn_handle, self.write_handle, data, 1) And now, I am g...
by mflmartin
Thu Mar 04, 2021 11:23 pm
Forum: General Discussion and Questions
Topic: SRP (Secure Remote Password)
Replies: 1
Views: 133

Re: SRP (Secure Remote Password)

If anyone is looking for this, I finished porting a SRP lib to work with ESP32. I will upload it to github once it is tested.