Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/******************************************************************************
Copyright (c) 2007-2015
Lantiq Beteiligungs-GmbH & Co. KG
For licensing information, see the file 'LICENSE' in the root folder of
this software module.
*******************************************************************************/
#ifndef _DSL_CPE_DTI_H_
#define _DSL_CPE_DTI_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "dsl_cpe_control.h"
#define DSL_CPE_DTI_DEFAULT_TCP_PORT (9000)
/** \file
DSL daemon command line interface for DTI control
*/
/**
Start the Debug and Trace Agent
\param pContext DSL CPE API context pointer (used for callback handling)
\param numOfPhyDevices number of used physical devices.
\param numOfLinesPerPhyDevice lines per physical device
\param dtiListenPort DTI Agent listen port number.
\param pDtiServerIp DTI Agent IP address.
\return
- DSL_ERROR On error
- DSL_SUCCESS On success
*/
DSL_Error_t DSL_CPE_Dti_Start(
DSL_CPE_Control_Context_t *pContext,
DSL_int_t numOfPhyDevices,
DSL_int_t numOfLinesPerPhyDevice,
DSL_uint16_t dtiListenPort,
DSL_char_t *pDtiServerIp,
DSL_boolean_t bEnableCliAutoMsg,
DSL_boolean_t bEnableDevAutoMsg,
DSL_boolean_t bEnableSingleThreadMode);
/**
Stop the Debug and Trace Agent
\param pContext DSL CPE API context pointer (used for callback handling)
\return
- DSL_ERROR On error
- DSL_SUCCESS On success
*/
DSL_Error_t DSL_CPE_Dti_Stop(
DSL_CPE_Control_Context_t *pContext);
#ifdef __cplusplus
}
#endif
#endif /* _DSL_CPE_DTI_H_ */