Skip to content

Latest commit

 

History

History
 
 

src

English| 中文

dejaos_component

Component Description

The components are used to assist business development, control hardware capabilities, and enhance development convenience.

Component List

Component Name Description
dxAlsaplay Audio Component Used to control the device speaker to play audio
dxBase64 Base64 Component Used for Base64 encoding and decoding
dxCameraCalibration Camera Calibration Component Used to correct the focus of dual cameras
dxCapturer Image Capturing Component Used to control the camera for image capturing, suitable for QR code scanning scenarios. This component cannot be used alone and needs to be used with dxDecoder
dxCode QR Code Recognition Component Integrates dxCapturer and dxDecoder components for QR code recognition
dxCommon Common Component Integrates common and frequently used functions, such as obtaining hardware resource information, controlling hardware, encoding and decoding functions
dxConfig Configuration Component Used to manage configuration items
dxDecoder Image Decoding Component Used to decode images into text, suitable for QR code scanning scenarios. This component cannot be used alone and needs to be used with dxCapturer
dxEventCenter Event Bus Component Manages message publishing and subscription
dxFace Face Recognition Component Used for face recognition
dxGpio GPIO Component External circuit control component, used to manage external circuits (relay, lights, switches, etc.)
dxGpioKey Keyboard Input Component Senses GPIO external circuit input, used to listen to external circuit input actions (switches, keyboard keys, etc.)
dxHttp HTTP Component HTTP Client network protocol component
dxLogger Logging Component Unified log management
dxMap Global Cache Component Can be used for data synchronization in multi-threaded scenarios. It can also be used for caching data in a single thread
dxMqtt MQTT Component MQTT network protocol component
dxNet Network Component Manages device network status and parameters
dxNfc Card Reader Component Near Field Communication component, typically used to manage smart IC cards, chip cards, etc., both contactless and contact-based
dxNtp Time Synchronization Component Network time synchronization component, can specify frequency to obtain network time synchronization
dxOta OTA Upgrade Component OTA upgrade component
dxPwm PWM Component Pulse Width Modulation component, used to manage buzzers, fill lights, etc.
dxQueue Queue Component Thread notification component, can be used for multi-thread action notification in business scenarios
dxSqlite Database Component Used to manage CRUD operations for structured data
dxStd System Functions Component Includes functions for file reading and writing, system control, etc.
dxTcp TCP Component TCP Client network protocol component
dxTcpServer TCP Server Component TCP Server network protocol component
dxTouchKey Button Listener Component Used to listen to keyboard input
dxUart Serial Port Component Wired near field communication management component, covers reading and writing control of protocols such as TTL, RS232, RS485, Wiegand, USB, etc.
dxUi UI Component Used to draw screen UI
dxWatchdog Watchdog Component Timing abnormal reset component. In short, it will restart and reset the application within a specified time when the program encounters unknown issues (not business logic related issues) to ensure device availability
dxWebServer Web Server Component Web Server component