diff options
author | Manikandan C <mchockalingam@de.adit-jv.com> | 2018-10-29 16:32:17 +0100 |
---|---|---|
committer | Christoph Lipka <clipka@users.noreply.github.com> | 2018-11-23 11:10:47 +0100 |
commit | d515020fa1bcb5d874084a68c9de9434dc9d994e (patch) | |
tree | 339074f3d4e0858dfbe1c528705ed3e4343521f3 /include/dlt/dlt_client.h | |
parent | 3cfb292aa43774428ce8dfe120fe16785942b086 (diff) | |
download | DLT-daemon-d515020fa1bcb5d874084a68c9de9434dc9d994e.tar.gz |
Gateway Improvements
-Support to send and parse periodic control messages
-add application/contexts to passive ECU list
-Refactor dlt_gateway_send_control_message
-Gateway issues with corrupted data and on demand connection
-Unit Test update
Signed-off-by: Saya Sugiura ssugiura@jp.adit-jv.com
Signed-off-by: Christoph Lipka clipka@jp.adit-jv.com
Signed-off-by: S. Hameed shameed@jp.adit-jv.com
Signed-off-by: ManikandanC Manikandan.Chockalingam@in.bosch.com
Diffstat (limited to 'include/dlt/dlt_client.h')
-rw-r--r-- | include/dlt/dlt_client.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/dlt/dlt_client.h b/include/dlt/dlt_client.h index 8943184..e56c9ff 100644 --- a/include/dlt/dlt_client.h +++ b/include/dlt/dlt_client.h @@ -180,6 +180,18 @@ DltReturnValue dlt_client_send_log_level(DltClient *client, char *apid, char *ct */ int dlt_client_get_log_info(DltClient *client); /** + * Send an request to get default log level to the dlt daemon + * @param client pointer to dlt client structure + * @return negative value if there was an error + */ +DltReturnValue dlt_client_get_default_log_level(DltClient *client); +/** + * Send an request to get software version to the dlt daemon + * @param client pointer to dlt client structure + * @return negative value if there was an error + */ +int dlt_client_get_software_version(DltClient *client); +/** * Initialise get log info structure * @param void * @return void @@ -280,6 +292,21 @@ int dlt_client_set_serial_device(DltClient *client, char *serial_device); */ int dlt_client_set_socket_path(DltClient *client, char *socket_path); +/** + * Parse GET_LOG_INFO response text + * @param resp GET_LOG_INFO response + * @param resp_text response text represented by ASCII + * @return 0 on success, -1 otherwise + */ +int dlt_client_parse_get_log_info_resp_text(DltServiceGetLogInfoResponse *resp, + char *resp_text); + +/** + * Free memory allocated for get log info message + * @param resp response + * @return 0 on success, -1 otherwise + */ +int dlt_client_cleanup_get_log_info(DltServiceGetLogInfoResponse *resp); #ifdef __cplusplus } #endif |