Telematics SDK - API Reference  v1.63.0
telux::platform::diag Namespace Reference

Data Structures

struct  DiagConfig
 
class  DiagnosticsFactory
 DiagnosticsFactory is the central factory to create Diagnostics manager class. More...
 
struct  DiagStatus
 
struct  FileMethodConfig
 Represents the config relevant to File method. Logs are saved to a file under the directory specified by platform.diag.diag_output_log_path in tel.conf file. if Key does not exist, log will be stored in default location /tmp/diag. More...
 
class  IDiagListener
 
class  IDiagLogManager
 IDiagLogManager is a primary interface for Diagnostics. The interface offers APIs to configure log collection method (File or Callback) and configure log mode for selected method (streaming, threshold, or circular). The interface also provides APIs to start and stop diagnostics log collection in configured method and mode. More...
 
union  SourceInfo
 

Typedefs

using Devices = uint8_t
 
using Peripherals = uint8_t
 

Enumerations

enum  DiagLogMode { DiagLogMode::STREAMING = 0, DiagLogMode::THRESHOLD, DiagLogMode::CIRCULAR_BUFFER }
 
enum  DeviceType { DIAG_DEVICE_NONE = 0, DIAG_DEVICE_EXTERNAL_AP = 1 << 0, DIAG_DEVICE_MDM = 1 << 1 }
 
enum  PeripheralType {
  DIAG_PERIPHERAL_NONE = 0, DIAG_PERIPHERAL_INTEGRATED_AP = 1 << 0, DIAG_PERIPHERAL_MODEM_DSP = 1 << 1, DIAG_PERIPHERAL_SVM = 1 << 2,
  DIAG_PERIPHERAL_LPASS = 1 << 3, DIAG_PERIPHERAL_CDSP = 1 << 4
}
 
enum  LogMethod { LogMethod::NONE = 0, LogMethod::FILE, LogMethod::CALLBACK }
 
enum  SourceType { SourceType::NONE = 0, SourceType::DEVICE, SourceType::PERIPHERAL }