Skip to Content
ConfigurationsBasic UDP Tracking

Basic UDP Tracking

Complete configuration for vehicle tracking with communication redundancy.


Features

FeatureValue
MAIN ProtocolUDP
BACK ProtocolUDP
Report with IGN28 seconds
Report without IGN1 hour
Heading change18°
WiFiEnabled (optional)

Communication diagram

ChannelProtocolIPsDescription
MAINUDPIP0, IP1Primary channel with Keep Alive every 60s
BACKUDPIP4, IP5Backup channel with Keep Alive every 60s

Complete Configuration

⚠️ Modify values marked with [CHANGE] according to your platform:

  • Your server IP addresses
  • Your cellular carrier APN
  • WiFi credentials
// ============================================================================ // BASIC UDP/UDP TRACKING CONFIGURATION // ============================================================================ // Device: Rinho Zero/Spider/Smart IoT // Requires: Firmware with WiFi (optional) // ============================================================================ // // INPUTS: // IGN - Vehicle ignition // // TIMERS: // TD00 - Timer with IGN on - 28 seconds // TD01 - Timer without IGN (stopped) - 3600 seconds (1 hour) // // FLOW: // 1. Reports every 28s with ignition on // 2. Reports every 1 hour with ignition off // 3. Reports on heading change >= 18° // 4. Reports on ignition on/off // // ============================================================================ // --- IP PROTOCOL CONFIGURATION --- // MAIN: UDP, BACK: UDP, Window: 5 >SCXIPPP5< // --- MAIN IPs CONFIGURATION (UDP) --- // [CHANGE] IP0: Your main server >SIP0xxx.xxx.xxx.xxx/port< // [CHANGE] IP1: Alternative DNS >SIP1"your-server.domain.com",port< // --- BACK IPs CONFIGURATION (UDP) --- // Keep Alive every 60 seconds for BACK (UDP needs KA) >SKA60,B< // [CHANGE] IP4: Main backup server >SIP4xxx.xxx.xxx.xxx/port< // [CHANGE] IP5: Secondary backup server >SIP5xxx.xxx.xxx.xxx/port< // --- CELLULAR CONFIGURATION --- // Automatic COPS >SCOPS0< // [CHANGE] APN according to your carrier // USA AT&T: broadband,,, // USA T-Mobile: fast.t-mobile.com,,, // USA Verizon: vzwinternet,,, >SCXAPNyour-apn.carrier.com,user,password< // --- REPORTS CONFIGURATION --- // TD00: Timer with IGN on - 28 seconds >STD00E00028< // TD01: Timer without IGN (stopped) - 3600 seconds (1 hour) >STD01E03600< // --- HEADING/RADIAL CONFIGURATION --- // Heading change: 18 degrees (triggers report and resets timers) >SDC00*018< // --- WIFI CONFIGURATION (OPTIONAL) --- // Enable WiFi in Station mode, autodestiny enabled >SCXWIF1,0,1< // Turn on WiFi module >SSSWIFPWR11< // [CHANGE] WiFi access points // >SAPW00NETWORK_SSID,PASSWORD< // >SAPW01ALT_SSID,ALT_PASSWORD< // --- EVENT RULES --- // Delete all existing rules >SRL**D< // RL00: Periodic report with IGN on (every 28s) >SRL00E;TRG=TD00+;CND=IGN;ACC={GCQ00L}< // RL01: Periodic report without IGN / stopped (every 3600s) >SRL01E;TRG=TD01+;CND=IGN!;ACC={GCQ01M}< // RL02: Report on heading change (18°) >SRL02E;TRG=DC00+;ACC={GCQ02M}{STD00R}{STD01R}< // RL03: Report when ignition turns on >SRL03E;TRG=IGN+;ACC={GCQ03H}< // RL04: Report when ignition turns off >SRL04E;TRG=IGN-;ACC={GCQ04H}< // ============================================================================ // END CONFIGURATION // ============================================================================

Rules Explanation

RuleTriggerConditionAction
RL00Timer TD00IGN onCQ report Low priority
RL01Timer TD01IGN offCQ report Medium priority
RL02Heading change 18°-CQ report + reset timers
RL03IGN turns on-CQ report High priority
RL04IGN turns off-CQ report High priority

Customization

Change report interval

// Report every 60 seconds with IGN >STD00E00060< // Report every 2 hours without IGN >STD01E07200<

Change heading angle

// Report every 30 degrees of turn >SDC00*030< // Report every 10 degrees (more detail in curves) >SDC00*010<

Disable WiFi

// Turn off WiFi module >SSSWIFPWR00<

Verification

After sending the configuration, verify with:

// Query configured IPs >QIP0< >QIP1< >QIP4< // Query timers >QTD00< >QTD01< // Query rules >QRL00< >QRL01< >QRL02<

Troubleshooting

Cannot connect to server

  • Verify APN is correct for your SIM
  • Confirm IPs and ports are accessible
  • Check status with >QMC< and >QCEL<

Not reporting on heading change

  • Verify vehicle has GPS fix: >QCQ<
  • Angle must be > configured to trigger
Last updated