How chenxu-cd/scxbj works
This is firmware for a SCX beacon handheld terminal. Its visible startup initializes AXI hardware control, starts GPS parsing, and launches the LCD interface; the LCD’s board-specific menus expose beacon settings and actions. GPS input is parsed into navigation data, while the application also has audio, 406-beacon, key-input, and OLED modules. The graph preserves those major runtime branches, but their internal wiring is limited where source was not excerpted; dashed edges indicate unverified integration.
Main entry points: lcd.c LCD runtime · main.c Application startup · nmeaparser.c NMEA parser · axi_ctrl.c AXI control
Components 22
Startup and hardware
- Application startup
app/main.c - AXI control
app/axi_ctrl.c - AD9361 operations
app/ad9361_op.c - Audio processing
app/audio_process.c
GPS navigation
- GPS thread
app/gps_thread.c - NMEA parser
nmea/nmeaparser.c - NMEA reader
nmea/nmeardr.c - Sentence tokenizer
nmea/nmeatknzr.c - Navigation data
nmea/navdata.c
Beacon functions
- 406 beacon thread
app/beacon406_thread.c - Beacon menus and state
lcd/cen/lcd_bus_cen.c - Key input
app/gpio_key_tpt.c
LCD interface
- LCD runtime
lcd/lcd.c - LCD board driver
lcd/cen/lcd_cfg_cen.c - Control manager
lcd/ctrl_mgr.c - GUI widgets
lcd/gui.c - LCD data library
lcd/lcd_lib.c - Data access cover
lcd/lcd_cover.c - Display margins
lcd/marg.c - OLED interface
app/lcm_oled.c
Platform support
- Platform compatibility
port/src/vxcompat.c
Other components
- Operator
Connections 22
- Operator → Application startup: starts
app/main.c - Application startup → AXI control: initializes
app/main.c - Application startup → GPS thread: starts
app/main.c - Application startup → LCD runtime: initializes
app/main.c - GPS thread → NMEA parser: parses input
app/gps_thread.c - NMEA parser → NMEA reader: uses
- NMEA parser → Sentence tokenizer: tokenizes
- NMEA parser → Navigation data: fills
nmea/nmeaparser.c - LCD runtime → Control manager: uses
lcd/lcd.c - LCD runtime → GUI widgets: uses
lcd/lcd.c - LCD runtime → LCD data library: uses
lcd/lcd.c - LCD runtime → Data access cover: uses
lcd/lcd.c - Control manager → Display margins: uses
- LCD data library → Data access cover: uses
lcd/lcd_lib.c - Beacon menus and state → Control manager: dispatches events
lcd/cen/lcd_bus_cen.c - Beacon menus and state → Audio processing: plays audio
lcd/cen/lcd_bus_cen.c - Beacon menus and state → LCD board driver: uses display
- 406 beacon thread → AXI control: controls hardware
- Audio processing → AXI control: controls hardware
- AXI control → AD9361 operations: coordinates radio
- Key input → Control manager: forwards keys
- OLED interface → LCD board driver: uses display