Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4346

MicroPython • BLE scan memory use

$
0
0
Has anyone else noticed that a BLE scan will often use little memory but sometimes will use a huge amount. Anyone have any idea why ?

From 102 KB to 91 KB, 11 KB used -

Code:

Scanning Bluetooth BLE ...  Shrink : 40% Used          ------ +++++++++      Free 60%   94 KB           35% Used          ------ +++++++++      Free 65%  102 KB  A8:51:AB:0B:18:5D|*|-89|None  62:6D:37:4E:D3:5B|**|-78|None  58:2D:34:60:38:1C|*|-94|Qingping Motion & Light  5A:69:A3:5E:B6:01|*|-85|NoneScan complete  Shrink : 42% Used         ------- ++++++++       Free 58%   91 KB           38% Used          ------ +++++++++      Free 62%   97 KB
From 101 KB to 4 KB - 97 KB used -

Code:

Scanning Bluetooth BLE ...  Shrink : 41% Used         ------- ++++++++       Free 59%   92 KB           36% Used          ------ +++++++++      Free 64%  101 KB  5A:69:A3:5E:B6:01|*|-94|None  A8:51:AB:0B:18:5D|*|-95|None  62:6D:37:4E:D3:5B|*|-88|None  58:2D:34:60:38:1C|*|-96|Qingping Motion & LightScan complete  Shrink : 98% Used ---------------                Free  2%    4 KB           38% Used          ------ +++++++++      Free 62%   98 KB
Some discoveries not listed in either but pretty much the same discovered in each case.

Statistics: Posted by hippy — Sat Jan 20, 2024 1:14 pm — Replies 0 — Views 60



Viewing all articles
Browse latest Browse all 4346

Trending Articles