Files
PrincessPiTracker/main/Kconfig.projbuild
T
2025-11-29 17:18:08 -07:00

75 lines
2.5 KiB
Plaintext

menu "PrincessPiTracker Config"
config ADVERTISEMENT_INTERVAL
int "Interval between advertisements in milliseconds"
default 100
range 12 10240
help
Int number of milliseconds (ms) in between advertisements min 12 max 10240
100 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
range 0 500
help
Int number of milliseconds (ms) max jitter to add to advertisement interval min 0 max 2000
config ADVERTISEMENT_KEY
string "Your Advertisement Key"
default ""
help
Your advertisement key, see https://github.com/leonboe1/GoogleFindMyTools
config DISABLE_USB_WHILE_CHARGING
bool "Disable USB Serial and Broadcasting While Charging"
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"
help
The Bluetooth device name that will be broadcasted.
config TAG
string "Logging Tag"
default "PrincessPiTracker"
help
The tag used in logging messages.
config RANDOM_MAC_ADDRESS
bool "Use Random MAC Address"
default n
help
Enable this option to use a random MAC address for BLE advertising instead of the public MAC address.
configT_MODE
bool "Enable Deep Sleep Burst Mode"
default y
help
Enable this option to wake up, send multiple advertisements in a burst, then go back to deep sleep.
configT_COUNT
int "Number of Advertisements per Burst"
default 4
range 1 100
depends onT_MODE
help
Int number of advertisements to send per burst min 1 max 100
config DEEP_SLEEP_DURATION_S
int "Deep Sleep Duration in seconds"
default 120
range 0 86400
depends onT_MODE
help
Int number of seconds (s) to deep sleep between advertisement cycles min 0 max 86400 (24 hours)
config STARTUP_DELAY_MS
int "Startup Delay in milliseconds"
default 1000
range 0 60000
help
Int number of milliseconds (ms) to delay startup to allow peripherals to initialize min 0 max 60000
endmenu