automotive-dlt
dlt_client.c File Reference
#include <stdio.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <unistd.h>
#include <syslog.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <limits.h>
#include "dlt_types.h"
#include "dlt_client.h"
#include "dlt_client_cfg.h"
Include dependency graph for dlt_client.c:

Go to the source code of this file.

Functions

void dlt_client_register_message_callback (int(*registerd_callback)(DltMessage *message, void *data))
 
DltReturnValue dlt_client_init_port (DltClient *client, int port, int verbose)
 
DltReturnValue dlt_client_init (DltClient *client, int verbose)
 
DltReturnValue dlt_client_connect (DltClient *client, int verbose)
 
DltReturnValue dlt_client_cleanup (DltClient *client, int verbose)
 
DltReturnValue dlt_client_main_loop (DltClient *client, void *data, int verbose)
 
DltReturnValue dlt_client_send_ctrl_msg (DltClient *client, char *apid, char *ctid, uint8_t *payload, uint32_t size)
 
DltReturnValue dlt_client_send_inject_msg (DltClient *client, char *apid, char *ctid, uint32_t serviceID, uint8_t *buffer, uint32_t size)
 
DltReturnValue dlt_client_send_log_level (DltClient *client, char *apid, char *ctid, uint8_t logLevel)
 
int dlt_client_get_log_info (DltClient *client)
 
DltReturnValue dlt_client_send_trace_status (DltClient *client, char *apid, char *ctid, uint8_t traceStatus)
 
DltReturnValue dlt_client_send_default_log_level (DltClient *client, uint8_t defaultLogLevel)
 
DltReturnValue dlt_client_send_all_log_level (DltClient *client, uint8_t LogLevel)
 
DltReturnValue dlt_client_send_default_trace_status (DltClient *client, uint8_t defaultTraceStatus)
 
DltReturnValue dlt_client_send_timing_pakets (DltClient *client, uint8_t timingPakets)
 
DltReturnValue dlt_client_send_store_config (DltClient *client)
 
DltReturnValue dlt_client_send_reset_to_factory_default (DltClient *client)
 
DltReturnValue dlt_client_setbaudrate (DltClient *client, int baudrate)
 
int dlt_client_set_server_ip (DltClient *client, char *ipaddr)
 
int dlt_client_set_serial_device (DltClient *client, char *serial_device)
 
int dlt_client_set_socket_path (DltClient *client, char *socket_path)
 

Variables

static int(* message_callback_function )(DltMessage *message, void *data) = NULL
 
static char str [DLT_CLIENT_TEXTBUFSIZE]
 

Detailed Description

Author
Alexander Wenzel alexa.nosp@m.nder.nosp@m..aw.w.nosp@m.enze.nosp@m.l@bmw.nosp@m..de

Definition in file dlt_client.c.

Variable Documentation

int(* message_callback_function) (DltMessage *message, void *data) = NULL
static

Definition at line 101 of file dlt_client.c.

Referenced by dlt_client_main_loop(), and dlt_client_register_message_callback().

char str[DLT_CLIENT_TEXTBUFSIZE]
static

Definition at line 103 of file dlt_client.c.

Referenced by dlt_client_connect().