TpExtUtils
About 263 wordsLess than 1 minute
2025-07-17
Module Overview
The TpExtUtils library provides comprehensive system-level integration for TinyPiXOS applications. It bridges high-level application logic and low-level system resources, offering standardized interfaces for media processing, network communication, Bluetooth connectivity, application lifecycle management, hardware monitoring, and device management.
- Unified media processing:
TpAudioInterface,TpVideoInterfaceprovide a unified abstraction layer for audio/video, integrating FFmpeg codecs for efficient multi-format playback and recording. - Device management:
TpDiskManage,TpUsbManagerautomatically detect and mount hot-plug devices, with signal-driven notifications for status changes, reducing peripheral management complexity. - Efficient network communication: Built-in TCP/UDP socket framework with
TpTcpSocket,TpUdpSocket,TpTcpServer, supporting async event-driven connection management and data transfer. - Bluetooth stack: Based on BlueZ for device pairing, audio transport, and file exchange;
TpBluetoothLocal,TpBluetoothAudioManagerprovide declarative device management interfaces. - Application lifecycle management:
TpAppInstall,TpAppDopackimplement sandboxed app installation, with permission control, dependency injection, and signed verification for security. - System resource monitoring:
TpCpuManage,TpMemory,TpDiskManagecollect CPU/memory/disk I/O metrics in real time to support performance optimization. - Display system integration:
TpDisplayprovides DPI scaling and resolution adaptation withTpWM, supporting multi-monitor configs and runtime resolution switching.
Copyright
Copyright Ownership:TinyPiXOS
License under:Attribution-ShareAlike 4.0 International (CC-BY-SA-4.0)
