Guides
The Locator SDK architecture is composed of five main layers:
APP (your application)
Public SDK (
LocatorService)Integration (implemented by APP:
LocatorIntegration)Internal Core (collection, offline queue, retry, events)
Transport (HTTP/mTLS + MQTT + WSS)
Offline queue and backoff
Offline queue: stores collections and events when offline; respects
offlineRetentionDaysandmaxBatchSize.Retry: policy configures
maxRetries,baseDelayMs,backoffFactor. Formula:delay = baseDelayMs × backoffFactor^(attempt-1).Consistency: each package (
LocatorPackage) hasidandsequencefor idempotency.
States and modes
LocatorState:DEFAULT,IDLE,COLLECTING,PAUSED,STOPPEDLocatorSdkMode:DEFAULT,OBSERVED,SOS,ALERT
The mode adjusts collection and send intervals; the state describes the operational stage.
Networks and connectivity
connectivity: macro (wifi, cellular, bluetooth, ethernet, vpn, none)network: detailed (wifi6, 4g_lte, 5g_nsa, bt_le, etc.)
Events and commands
Events (
LocatorEvent): system telemetry, errors, state changes.Commands (
LocatorCommand): instructions from backend/app to SDK (e.g.,SET_SDK_MODE,SYNC_CONFIG).
Last updated
