Update README.md
Browse files
README.md
CHANGED
@@ -23,9 +23,9 @@ Deploy in constrained environments (under 1.2MB flash, < 300KB RAM).
|
|
23 |
Integrate with OTA update strategies and on-device decision-making.
|
24 |
|
25 |
🚀 How to Use
|
26 |
-
Checkout the
|
27 |
|
28 |
-
https://github.com/OTAINFO/Downloads/tree/main/predictor_models/ESP-IDF/esp32
|
29 |
Note: Variable(s) name(s) in esp32-process-success-predictor-model.cc may differ on the sample code.
|
30 |
|
31 |
📦 Files Included
|
@@ -50,7 +50,7 @@ Important: all these variables need to be set between 0 and 1 to get best result
|
|
50 |
|
51 |
Definition and Convertion of values:
|
52 |
1. battery_level: adc_cali_raw_to_voltage() give the value in voltage. Depending upon the range, divide the output of this function by maximum voltage. if value is > 1.0 set it to 0.99
|
53 |
-
(Reference
|
54 |
2. heap_largest_free_block: Assuming 32KB of heap as minimum requirement and maximum of 64K is requied to do an https call for OTA update of 1.2 MB size. Divide the number by 65536.0
|
55 |
If the value is > 1.0 give it 1.0 or 0.99.
|
56 |
if value from function is < 32KB, set it to 0
|
|
|
23 |
Integrate with OTA update strategies and on-device decision-making.
|
24 |
|
25 |
🚀 How to Use
|
26 |
+
Checkout the following:
|
27 |
|
28 |
+
[Link](https://github.com/OTAINFO/Downloads/tree/main/predictor_models/ESP-IDF/esp32)
|
29 |
Note: Variable(s) name(s) in esp32-process-success-predictor-model.cc may differ on the sample code.
|
30 |
|
31 |
📦 Files Included
|
|
|
50 |
|
51 |
Definition and Convertion of values:
|
52 |
1. battery_level: adc_cali_raw_to_voltage() give the value in voltage. Depending upon the range, divide the output of this function by maximum voltage. if value is > 1.0 set it to 0.99
|
53 |
+
([Reference](https://esp32.com/viewtopic.php?t=6729))
|
54 |
2. heap_largest_free_block: Assuming 32KB of heap as minimum requirement and maximum of 64K is requied to do an https call for OTA update of 1.2 MB size. Divide the number by 65536.0
|
55 |
If the value is > 1.0 give it 1.0 or 0.99.
|
56 |
if value from function is < 32KB, set it to 0
|