Production Flow¶
This document describes the production testing and manufacturing procedures for the RTK Base.
Teltonika Router Configuration¶
Individual Credentials¶
TELTONIKA routers now come with individual username/password pairs:
- Username: Always admin
- Password: Unique per device
QR Code Information¶
Each router has a unique QR code containing:
WIFI:T:WPA;S:RUT241_B826;P:Tj4t0HPe;SN:6002452780;I:864081068760201;M:2097274CB824;U:admin;PW:Eq3y6HXk;B:031;
Fields:
S: SSID (unique per device)P: WiFi password (unique)SN: Serial numberI: Modem IMEI (unique)M: Ethernet MAC address (unique)U: Router admin usernamePW: Router admin password (unique)
QR Code Storage¶
- QR codes stored at:
rtkbase.prod.yamabikorobots.net/rtr - Can be retrieved from manufacturer or scanned at warehouse entry
- Important: QR code is inaccessible when modem is mounted in RTK Base
Production Test Flow¶
Prerequisites¶
- RTK Base powered on
- Ethernet connection available
- Router/modem installed (if configured)
Test Sequence¶
- Hardware Initialization
- Base boots into production test mode
- LEDs show initialization pattern
-
System checks all hardware components
-
Router QR Code Retrieval (if applicable)
- Base attempts to fetch router QR code when Ethernet IP acquired
- Identifies router by MAC address
- Collects router/modem information
-
Waits for QR code before modem test
-
Ethernet Detection
- Ethernet spy collects MAC addresses (ARP)
- Verifies link status
-
Confirms DHCP assignment
-
Modem Test (if equipped)
- Validates modem connectivity
- Checks SIM card status
- Tests operator registration
-
Requires successful QR code fetch first
-
GNSS Test
- Verifies antenna connection
- Checks satellite acquisition
-
Validates position fix
-
LED Verification
- Tests all LED colors
-
Verifies blink patterns
-
Final Validation
- All tests must pass
- Results uploaded to portal
- Production flags set
Production Test Mode¶
Activation¶
The RTK Base can enter production test mode via:
- Console command:
start_production_test - MQTT command (production mode only)
- Factory configuration
MQTT Production Interface¶
When in production test mode, the base publishes to:
UI Display Topics:
- production/base/{SN}/UI/USER-TITLE: Title text
- production/base/{SN}/UI/USER-TEXT: Instruction text
- production/base/{SN}/UI/INTERACT: Interaction command
Test Results:
- production/base/{SN}/UI/test-report: JSON test results
Interaction Commands:
- OK,CANCEL,PASS: Button options
- TEXT;name: Text input with default value
- LIST;a;b;c: Selection list
Example Interaction¶
Topic: production/base/{SN}/UI/USER-TITLE
Payload: Hardware ID
Topic: production/base/{SN}/UI/USER-TEXT
Payload: Enregistre: dev-board-batch-0\nVoulez-vous le modifier ? o/n
Topic: production/base/{SN}/UI/INTERACT
Payload: OUI,NON
Device Location¶
To locate a specific base in the warehouse:
- Send
whereAreYoutoproduction/base/{HW_ID}/cmd - Base will blink all LEDs in Christmas pattern for 10 seconds
Hardware Test Mode¶
Activation¶
Features¶
- Low-level hardware validation
- Tests individual components
- Does not perform router/modem tests
- Production test restarts automatically after hardware test
Error Handling¶
Router QR Code Failures¶
- Base can proceed without QR code (fallback mode)
- Modem test can run with reduced validation
- Logs indicate QR code fetch status
Common Issues¶
- QR Code Not Found
- Check MAC address matches database
- Verify QR code was uploaded to server
-
Retry QR fetch manually
-
Modem Registration Failure
- Verify SIM card installed
- Check antenna connections
-
Ensure operator coverage
-
GNSS No Fix
- Verify antenna connected
- Check for obstructions
- Allow more acquisition time
Production Flags¶
Flag Values¶
0: Normal operation1: Hardware test mode2: Production test mode
Setting Flags¶
# Via console
set_serial_number BRRB000021
# Via REST API
POST /system?prodflag=2
# Via MQTT
Topic: base/{SN}/system/post
Payload: prodflag=2
Post-Production¶
Final Steps¶
- Serial number recorded in NVS
- Hardware ID assigned
- Production test results archived
- Device ready for deployment
Verification¶
- Check serial number:
get_serial_number - Verify hardware ID:
get_hardware_id - Review test results in portal
References¶
- Detailed production specification: Production Features Wiki
- Teltonika documentation: Teltonika RUT Setup Guide