made new settings with burst mode as default

This commit is contained in:
2025-11-29 16:12:40 -07:00
parent 2975c2cb45
commit 59b083d7c1
2 changed files with 9 additions and 10 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
# Notes
* using esp-idf v5.5.1 for testin
## Wireshark
* filter for finding these adverts by mac is `btle.advertising_address == xx:xx:xx:xx:xx || btle.scanning_address == xx:xx:xx:xx:xx`
* filter for finding these adverts by mac is `btle.advertising_address == xx:xx:xx:xx:xx || btle.scanning_address == xx:xx:xx:xx:xx || btle.target_address == xx:xx:xx:xx:xx`
* filter for narrowing to without mac is `(btcommon.eir_ad.entry.type == 0x01) && (btle.advertising_header == 0x2506)`
## Voltage reading
![Wiring SDC to bat voltage to measure with ADC0](assets/read-bat-voltage-schematic.png)
@@ -29,7 +29,7 @@ export to excel
bfmld normal-10.230s-10ms-nousb-noant-109f09e-
bfm burst-60s-200ms-10ms-3b-nousb-noant-109f09e-
next
burst-120s-40ms-0ms-4b-nousb-noant-109f09e-
burst-120s-40ms-0ms-4b-nousb-noant-2975c2c-
get values with (EXCEL paste into cell D1)
<table border="1">
<tr>
+7 -8
View File
@@ -1,16 +1,16 @@
menu "PrincessPiTracker Config"
config ADVERTISEMENT_INTERVAL
int "Interval between advertisements in milliseconds"
default 10230
default 40
range 12 10240
help
Int number of milliseconds (ms) in between advertisements min 12 max 10240
10230 for max delay with 10ms random
40 for max delay with 10ms random
200 for deep sleep burst mode
config ADVERTISEMENT_INTERVAL_JITTER_MS
int "Max Jitter to add to Advertisement Interval in milliseconds"
default 10
default 0
range 0 500
help
Int number of milliseconds (ms) max jitter to add to advertisement interval min 0 max 2000
@@ -26,8 +26,7 @@ menu "PrincessPiTracker Config"
default y
help
Enable this option to disable USB Serial and Broadcasting while charging to save power.
config DEVICE_NAME
string "BLE Device Name"
default "PrincesiPiTracker"
@@ -47,13 +46,13 @@ menu "PrincessPiTracker Config"
config DEEP_SLEEP_BURST_MODE
bool "Enable Deep Sleep Burst Mode"
default n
default y
help
Enable this option to wake up, send multiple advertisements in a burst, then go back to deep sleep.
config DEEP_SLEEP_BURST_COUNT
int "Number of Advertisements per Burst"
default 3
default 4
range 1 100
depends on DEEP_SLEEP_BURST_MODE
help
@@ -61,7 +60,7 @@ menu "PrincessPiTracker Config"
config DEEP_SLEEP_DURATION_S
int "Deep Sleep Duration in seconds"
default 60
default 120
range 0 86400
depends on DEEP_SLEEP_BURST_MODE
help