Search found 454 matches

by devnull
Wed Aug 05, 2020 10:05 am
Forum: ESP32 boards
Topic: BT Scanning is Broken
Replies: 2
Views: 608

Re: BT Scanning broken ???

Confirmed, I just reverted back to:

Code: Select all

200419-1b1ceb6.hex
And everything works perfectly !
by devnull
Wed Aug 05, 2020 10:02 am
Forum: ESP32 boards
Topic: BT Scanning is Broken
Replies: 2
Views: 608

BT Scanning is Broken

I have just updated to latest commit of micropython, after 3 months away: 200804-9883d8e.hex I now seem unable to get bluetooth scanning to detect anything, this is code that previously worked, but now it appears that bluetooth scanning is not doing anything at all ! import time, bluetooth bt = blue...
by devnull
Wed Apr 08, 2020 11:40 am
Forum: ESP32 boards
Topic: BLE Scan forever stops after 7+ Hours
Replies: 17
Views: 1843

Re: BLE Scan forever stops after 7+ Hours

Still not fixed, timestamp of 11464919 shows that it failed after about 3 hours and stopped discovering.
by devnull
Sat Apr 04, 2020 11:47 am
Forum: ESP32 boards
Topic: BLE Scan forever stops after 7+ Hours
Replies: 17
Views: 1843

Re: BLE Scan forever stops after 7+ Hours

Oops, hold your horses, need to test it again !
by devnull
Sat Apr 04, 2020 10:54 am
Forum: ESP32 boards
Topic: BLE Scan forever stops after 7+ Hours
Replies: 17
Views: 1843

Re: BLE Scan forever stops after 7+ Hours

Yes, bug in my code caused by bad data.

All seems good now, thanks again

:D
by devnull
Fri Apr 03, 2020 12:08 am
Forum: ESP32 boards
Topic: BLE Scan forever stops after 7+ Hours
Replies: 17
Views: 1843

Re: BLE Scan forever stops after 7+ Hours

This appears to solve the problem, it's been running for 1 day now and is still discovering.

Thanks so much
by devnull
Thu Apr 02, 2020 12:04 am
Forum: ESP32 boards
Topic: BLE Scan forever stops after 7+ Hours
Replies: 17
Views: 1843

Re: BLE Scan forever stops after 7+ Hours

Thanks Jimmo;

Did that and flashed the firmware last night, first test showed that it failed even earlier than previously, but it was too late last night to investigate, so will try again today.
by devnull
Tue Mar 31, 2020 10:16 am
Forum: ESP32 boards
Topic: BLE Scan forever stops after 7+ Hours
Replies: 17
Views: 1843

Re: BLE Scan forever stops after 7+ Hours

Can this be worked-around by stopping & restarting the scan periodically ? Just trying this out, not sure if it will solve the problem: def irq(event,adv): if event == _IRQ_SCAN_RESULT: if adv[0] != 0 or len(adv[4]) != 22 or adv[4][4:7] != b'\x02 \xaa': return else: if _DEBUG: print(adv) schedule(fo...
by devnull
Tue Mar 31, 2020 9:27 am
Forum: ESP32 boards
Topic: BLE Scan forever stops after 7+ Hours
Replies: 17
Views: 1843

Re: BLE Scan forever stops after 7+ Hours

Just tried this on a fresh clone and get the same error: git clone https://github.com/espressif/esp-idf.git esp-idf.b6 cd esp-idf.b6 git fetch origin git checkout -b scan-fix v4.0 # git cherry-pick 48bd2d74b4209bbad7c29d2d856810ee43a1a92c error: could not apply 48bd2d74b... NimBLE: Add Host based pr...
by devnull
Tue Mar 31, 2020 9:20 am
Forum: ESP32 boards
Topic: BLE Scan forever stops after 7+ Hours
Replies: 17
Views: 1843

Re: BLE Scan forever stops after 7+ Hours

Thanks Jimmo; But this failed during cherry pick: # git fetch origin remote: Enumerating objects: 636, done. remote: Counting objects: 100% (636/636), done. remote: Total 884 (delta 636), reused 636 (delta 636), pack-reused 248 Receiving objects: 100% (884/884), 716.96 KiB | 449.00 KiB/s, done. Reso...