File List
File List
Globals
=================
File List
Here is a list of all documented files with brief descriptions:
Ars548Dll.h ARS548 radar communication SDK
Ars548Dll.h File Reference
ARS548 radar communication SDK. More…
#include <unistd.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures
struct SomeIPHeader1stPart
struct SomeIPHeader2ndPart
struct E2eP07Header
struct Ars548Msg
struct SomeIPPackage
struct Ars548SensorStatusOlder
struct Ars548SensorStatus
struct Ars548FilterStatusEntry
struct Ars548FilterStatus
struct Ars548Detection
struct Ars548DetectionList
struct Ars548Object
struct Ars548ObjectList
struct Ars548SensorConfiguration
struct Ars548FilterConfigEntry
struct Ars548FilterConfiguration
struct Target
struct TargetList
Macros
#define ARS548DLL_API
#define WINAPI
#define CALLBACK
#define METHOD_ID_DETECTION_LIST 336
#define METHOD_ID_OBJECT_LIST 329
#define METHOD_ID_SENSOR_STATUS 380
#define METHOD_ID_FILTER_STATUS 396
#define METHOD_ID_SENSOR_CONFIG 390
#define METHOD_ID_FILTER_CONFIG 395
#define MSG_ID_DETECTION_LIST METHOD_ID_DETECTION_LIST
#define MSG_ID_OBJECT_LIST METHOD_ID_OBJECT_LIST
#define MSG_ID_SENSOR_STATUS METHOD_ID_SENSOR_STATUS
#define MSG_ID_FILTER_STATUS METHOD_ID_FILTER_STATUS
#define TARGET_TYPE_DETECTION 0
#define TARGET_TYPE_OBJECT 1
Typedefs
typedef uint8_t BYTE
typedef int8_t INT8
typedef uint8_t UINT8
typedef uint16_t UINT16
typedef uint32_t UINT32
typedef uint32_t DWORD
typedef uint64_t UINT64
typedef float FLOAT32
typedef int BOOL
typedef void * HINSTANCE
typedef void * LPVOID
typedef int SOCKET
typedef const char * LPCTSTR
typedef void(CALLBACK * RadarMessageCallback) (int nMsgId, const Ars548Msg *pMsg)
Used to define a callback function to be invoked when the radar raw message structure is received.
typedef void(CALLBACK * TargetListCallback) (const TargetList *pTargetList)
Used to define a callback function to be invoked when the parsed target list is ready.
Functions
ARS548DLL_API HINSTANCE WINAPI Ars548_Init ()
ARS548DLL_API int WINAPI Ars548_StartReceive (HINSTANCE hInst, LPCTSTR lpszBindIP, LPCTSTR lpszRadarIP)
ARS548DLL_API int WINAPI Ars548_StopReceive (HINSTANCE hInst)
ARS548DLL_API void WINAPI Ars548_SetRadarMessageCallback (HINSTANCE hInst, const RadarMessageCallback &pCallback)
ARS548DLL_API void WINAPI Ars548_SetTargetListCallback (HINSTANCE hInst, const TargetListCallback &pCallback)
ARS548DLL_API int WINAPI Ars548_SetSensorConfig (HINSTANCE hInst, const Ars548SensorConfiguration &cfg)
ARS548DLL_API int WINAPI Ars548_SetFilterConfig (HINSTANCE hInst, const Ars548FilterConfiguration &cfg)
ARS548DLL_API int WINAPI Ars548_ResetFilterConfig (HINSTANCE hInst)
ARS548DLL_API void WINAPI Ars548_UnInit (HINSTANCE hInst)
Variables
const int ARS548_OK = 0
Success.
const int ARS548_ERROR_STATE = 40001
Status errors, e.g. duplicate start of receiving.
const int ARS548_ERROR_RESOURCE_CREATION = 40002
Failed to create resources, e.g. failed to create threads.
const int ARS548_ERROR_NETWORK_INIT_FAILED = 40003
Network initialization failed.
const int ARS548_ERROR_NETWORK_BIND_FAILED = 40004
Failed to bind address or port.
const int ARS548_ERROR_NETWORK_MULTICAST_INIT_FAILED = 40005
Multicast initialization failed.
const int ARS548_ERROR_NETWORK_INVALID_MULTICAST_IP = 40006
Invalid multicast IP.
const int ARS548_ERROR_NOT_IMPLEMENTED = 40007
This feature is not yet implemented.
const int ARS548_SEND_FAILED = 40008
Send failed.
Detailed Description
ARS548 radar communication SDK.
Author
Jun jun.chen@adas-engineering.de
Version
1.0
Copyright
ADAS engineering © 2023
Function Documentation
◆ Ars548_Init()
ARS548DLL_API HINSTANCE WINAPI Ars548_Init ( )
Initialization
Returns
Returns an instance ID which should be passed as the first parameter in subsequent calls to other SDK functions.
See also
Ars548_UnInit
◆ Ars548_ResetFilterConfig()
ARS548DLL_API int WINAPI Ars548_ResetFilterConfig ( HINSTANCE hInst )
Reset radar filter configuration I.e. clear and disable all filters
Parameters
hInst Instance ID
Returns
Returns ARS548_OK for success, other values for failure.
◆ Ars548_SetFilterConfig()
ARS548DLL_API int WINAPI Ars548_SetFilterConfig ( HINSTANCE hInst,
const Ars548FilterConfiguration & cfg
)
Set radar filter configuration
Parameters
hInst Instance ID
cfg filter configuration
Returns
Returns ARS548_OK for success, other values for failure.
◆ Ars548_SetRadarMessageCallback()
ARS548DLL_API void WINAPI Ars548_SetRadarMessageCallback ( HINSTANCE hInst,
const RadarMessageCallback & pCallback
)
Set callback function for raw radar message data
Parameters
hInst Instance ID
pCallback Pointer to callback function
◆ Ars548_SetSensorConfig()
ARS548DLL_API int WINAPI Ars548_SetSensorConfig ( HINSTANCE hInst,
const Ars548SensorConfiguration & cfg
)
Set radar sensor configuration
Parameters
hInst Instance ID
cfg sensor configuration
Returns
Returns ARS548_OK for success, other values for failure.
◆ Ars548_SetTargetListCallback()
ARS548DLL_API void WINAPI Ars548_SetTargetListCallback ( HINSTANCE hInst,
const TargetListCallback & pCallback
)
Set callback function for radar target info
Parameters
hInst Instance ID
pCallback Pointer to callback function
◆ Ars548_StartReceive()
ARS548DLL_API int WINAPI Ars548_StartReceive ( HINSTANCE hInst,
LPCTSTR lpszBindIP,
LPCTSTR lpszRadarIP
)
Start receiving radar data
Parameters
hInst Instance ID
lpszBindIP Network interface IP connected to radar
lpszRadarIP Radar IP
Returns
Returns ARS548_OK for success, other values for failure.
See also
Ars548_StopReceive
◆ Ars548_StopReceive()
ARS548DLL_API int WINAPI Ars548_StopReceive ( HINSTANCE hInst )
Stop receiving radar data
Parameters
hInst Instance ID
Returns
Returns ARS548_OK for success, other values for failure.
See also
Ars548_StartReceive
◆ Ars548_UnInit()
ARS548DLL_API void WINAPI Ars548_UnInit ( HINSTANCE hInst )
Deinitialization
Parameters
hInst Instance ID returned by Ars548_Init.
See also
Ars548_Init
=======================
Globals
All
Functions
Variables
Typedefs
Macros
All
Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:
ARS548_ERROR_NETWORK_BIND_FAILED : Ars548Dll.h
ARS548_ERROR_NETWORK_INIT_FAILED : Ars548Dll.h
ARS548_ERROR_NETWORK_INVALID_MULTICAST_IP : Ars548Dll.h
ARS548_ERROR_NETWORK_MULTICAST_INIT_FAILED : Ars548Dll.h
ARS548_ERROR_NOT_IMPLEMENTED : Ars548Dll.h
ARS548_ERROR_RESOURCE_CREATION : Ars548Dll.h
ARS548_ERROR_STATE : Ars548Dll.h
Ars548_Init() : Ars548Dll.h
ARS548_OK : Ars548Dll.h
Ars548_ResetFilterConfig() : Ars548Dll.h
ARS548_SEND_FAILED : Ars548Dll.h
Ars548_SetFilterConfig() : Ars548Dll.h
Ars548_SetRadarMessageCallback() : Ars548Dll.h
Ars548_SetSensorConfig() : Ars548Dll.h
Ars548_SetTargetListCallback() : Ars548Dll.h
Ars548_StartReceive() : Ars548Dll.h
Ars548_StopReceive() : Ars548Dll.h
Ars548_UnInit() : Ars548Dll.h
MSG_ID_DETECTION_LIST : Ars548Dll.h
MSG_ID_FILTER_STATUS : Ars548Dll.h
MSG_ID_OBJECT_LIST : Ars548Dll.h
MSG_ID_SENSOR_STATUS : Ars548Dll.h
RadarMessageCallback : Ars548Dll.h
TARGET_TYPE_DETECTION : Ars548Dll.h
TARGET_TYPE_OBJECT : Ars548Dll.h
TargetListCallback : Ars548Dll.h
Ars548Dll.h
Error Codes
Variables
const int ARS548_OK = 0
Success.
const int ARS548_ERROR_STATE = 40001
Status errors, e.g. duplicate start of receiving.
const int ARS548_ERROR_RESOURCE_CREATION = 40002
Failed to create resources, e.g. failed to create threads.
const int ARS548_ERROR_NETWORK_INIT_FAILED = 40003
Network initialization failed.
const int ARS548_ERROR_NETWORK_BIND_FAILED = 40004
Failed to bind address or port.
const int ARS548_ERROR_NETWORK_MULTICAST_INIT_FAILED = 40005
Multicast initialization failed.
const int ARS548_ERROR_NETWORK_INVALID_MULTICAST_IP = 40006
Invalid multicast IP.
const int ARS548_ERROR_NOT_IMPLEMENTED = 40007
This feature is not yet implemented.
const int ARS548_SEND_FAILED = 40008
Send failed.
Detailed Description
Return value definitions for SDK functions.
Ars548Dll.h File Reference
ARS548 radar communication SDK. More…
#include <unistd.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures
struct SomeIPHeader1stPart
struct SomeIPHeader2ndPart
struct E2eP07Header
struct Ars548Msg
struct SomeIPPackage
struct Ars548SensorStatusOlder
struct Ars548SensorStatus
struct Ars548FilterStatusEntry
struct Ars548FilterStatus
struct Ars548Detection
struct Ars548DetectionList
struct Ars548Object
struct Ars548ObjectList
struct Ars548SensorConfiguration
struct Ars548FilterConfigEntry
struct Ars548FilterConfiguration
struct Target
struct TargetList
Macros
#define ARS548DLL_API
#define WINAPI
#define CALLBACK
#define METHOD_ID_DETECTION_LIST 336
#define METHOD_ID_OBJECT_LIST 329
#define METHOD_ID_SENSOR_STATUS 380
#define METHOD_ID_FILTER_STATUS 396
#define METHOD_ID_SENSOR_CONFIG 390
#define METHOD_ID_FILTER_CONFIG 395
#define MSG_ID_DETECTION_LIST METHOD_ID_DETECTION_LIST
#define MSG_ID_OBJECT_LIST METHOD_ID_OBJECT_LIST
#define MSG_ID_SENSOR_STATUS METHOD_ID_SENSOR_STATUS
#define MSG_ID_FILTER_STATUS METHOD_ID_FILTER_STATUS
#define TARGET_TYPE_DETECTION 0
#define TARGET_TYPE_OBJECT 1
Typedefs
typedef uint8_t BYTE
typedef int8_t INT8
typedef uint8_t UINT8
typedef uint16_t UINT16
typedef uint32_t UINT32
typedef uint32_t DWORD
typedef uint64_t UINT64
typedef float FLOAT32
typedef int BOOL
typedef void * HINSTANCE
typedef void * LPVOID
typedef int SOCKET
typedef const char * LPCTSTR
typedef void(CALLBACK * RadarMessageCallback) (int nMsgId, const Ars548Msg *pMsg)
Used to define a callback function to be invoked when the radar raw message structure is received.
typedef void(CALLBACK * TargetListCallback) (const TargetList *pTargetList)
Used to define a callback function to be invoked when the parsed target list is ready.
Functions
ARS548DLL_API HINSTANCE WINAPI Ars548_Init ()
ARS548DLL_API int WINAPI Ars548_StartReceive (HINSTANCE hInst, LPCTSTR lpszBindIP, LPCTSTR lpszRadarIP)
ARS548DLL_API int WINAPI Ars548_StopReceive (HINSTANCE hInst)
ARS548DLL_API void WINAPI Ars548_SetRadarMessageCallback (HINSTANCE hInst, const RadarMessageCallback &pCallback)
ARS548DLL_API void WINAPI Ars548_SetTargetListCallback (HINSTANCE hInst, const TargetListCallback &pCallback)
ARS548DLL_API int WINAPI Ars548_SetSensorConfig (HINSTANCE hInst, const Ars548SensorConfiguration &cfg)
ARS548DLL_API int WINAPI Ars548_SetFilterConfig (HINSTANCE hInst, const Ars548FilterConfiguration &cfg)
ARS548DLL_API int WINAPI Ars548_ResetFilterConfig (HINSTANCE hInst)
ARS548DLL_API void WINAPI Ars548_UnInit (HINSTANCE hInst)
Variables
const int ARS548_OK = 0
Success.
const int ARS548_ERROR_STATE = 40001
Status errors, e.g. duplicate start of receiving.
const int ARS548_ERROR_RESOURCE_CREATION = 40002
Failed to create resources, e.g. failed to create threads.
const int ARS548_ERROR_NETWORK_INIT_FAILED = 40003
Network initialization failed.
const int ARS548_ERROR_NETWORK_BIND_FAILED = 40004
Failed to bind address or port.
const int ARS548_ERROR_NETWORK_MULTICAST_INIT_FAILED = 40005
Multicast initialization failed.
const int ARS548_ERROR_NETWORK_INVALID_MULTICAST_IP = 40006
Invalid multicast IP.
const int ARS548_ERROR_NOT_IMPLEMENTED = 40007
This feature is not yet implemented.
const int ARS548_SEND_FAILED = 40008
Send failed.
Detailed Description
ARS548 radar communication SDK.
Author
Jun jun.chen@adas-engineering.de
Version
1.0
Copyright
ADAS engineering © 2023
Function Documentation
◆ Ars548_Init()
ARS548DLL_API HINSTANCE WINAPI Ars548_Init ( )
Initialization
Returns
Returns an instance ID which should be passed as the first parameter in subsequent calls to other SDK functions.
See also
Ars548_UnInit
◆ Ars548_ResetFilterConfig()
ARS548DLL_API int WINAPI Ars548_ResetFilterConfig ( HINSTANCE hInst )
Reset radar filter configuration I.e. clear and disable all filters
Parameters
hInst Instance ID
Returns
Returns ARS548_OK for success, other values for failure.
◆ Ars548_SetFilterConfig()
ARS548DLL_API int WINAPI Ars548_SetFilterConfig ( HINSTANCE hInst,
const Ars548FilterConfiguration & cfg
)
Set radar filter configuration
Parameters
hInst Instance ID
cfg filter configuration
Returns
Returns ARS548_OK for success, other values for failure.
◆ Ars548_SetRadarMessageCallback()
ARS548DLL_API void WINAPI Ars548_SetRadarMessageCallback ( HINSTANCE hInst,
const RadarMessageCallback & pCallback
)
Set callback function for raw radar message data
Parameters
hInst Instance ID
pCallback Pointer to callback function
◆ Ars548_SetSensorConfig()
ARS548DLL_API int WINAPI Ars548_SetSensorConfig ( HINSTANCE hInst,
const Ars548SensorConfiguration & cfg
)
Set radar sensor configuration
Parameters
hInst Instance ID
cfg sensor configuration
Returns
Returns ARS548_OK for success, other values for failure.
◆ Ars548_SetTargetListCallback()
ARS548DLL_API void WINAPI Ars548_SetTargetListCallback ( HINSTANCE hInst,
const TargetListCallback & pCallback
)
Set callback function for radar target info
Parameters
hInst Instance ID
pCallback Pointer to callback function
◆ Ars548_StartReceive()
ARS548DLL_API int WINAPI Ars548_StartReceive ( HINSTANCE hInst,
LPCTSTR lpszBindIP,
LPCTSTR lpszRadarIP
)
Start receiving radar data
Parameters
hInst Instance ID
lpszBindIP Network interface IP connected to radar
lpszRadarIP Radar IP
Returns
Returns ARS548_OK for success, other values for failure.
See also
Ars548_StopReceive
◆ Ars548_StopReceive()
ARS548DLL_API int WINAPI Ars548_StopReceive ( HINSTANCE hInst )
Stop receiving radar data
Parameters
hInst Instance ID
Returns
Returns ARS548_OK for success, other values for failure.
See also
Ars548_StartReceive
◆ Ars548_UnInit()
ARS548DLL_API void WINAPI Ars548_UnInit ( HINSTANCE hInst )
Deinitialization
Parameters
hInst Instance ID returned by Ars548_Init.
See also
Ars548_Init
MSG_ID_DETECTION_LIST : Ars548Dll.h
Message IDs
Macros
#define METHOD_ID_DETECTION_LIST 336
#define METHOD_ID_OBJECT_LIST 329
#define METHOD_ID_SENSOR_STATUS 380
#define METHOD_ID_FILTER_STATUS 396
#define METHOD_ID_SENSOR_CONFIG 390
#define METHOD_ID_FILTER_CONFIG 395
#define MSG_ID_DETECTION_LIST METHOD_ID_DETECTION_LIST
#define MSG_ID_OBJECT_LIST METHOD_ID_OBJECT_LIST
#define MSG_ID_SENSOR_STATUS METHOD_ID_SENSOR_STATUS
#define MSG_ID_FILTER_STATUS METHOD_ID_FILTER_STATUS
Detailed Description
Struct definitions for ARS548 radar series communication protocol
TARGET_TYPE_DETECTION : Ars548Dll.h
Parsed Data Structures
Data Structures
struct Target
struct TargetList
Macros
#define TARGET_TYPE_DETECTION 0
#define TARGET_TYPE_OBJECT 1
Detailed Description
Radar information structure after parsing processing
Data Structure Documentation
◆ Target
struct Target
Data Fields
UINT32 ID
Unique ID.
FLOAT32 Distance
Vertical distance (m)
FLOAT32 Position
Horizontal distance (m)
FLOAT32 Height
Height (m)
FLOAT32 Degrees
Angle, reserved, currently 0.
FLOAT32 Kmph
Speed (km/h)
FLOAT32 RCS
Radar cross section (dBm²)
◆ TargetList
struct TargetList
Data Fields
BYTE TargetType
TARGET_TYPE_DETECTION | TARGET_TYPE_OBJECT
Target Targets [800]
Array of targets.
UINT32 NumOfTargets
Number of targets, this indicates how many of the targets in the preceding Targets array are valid.
Functions
Here is a list of all documented functions with links to the documentation:
Ars548_Init() : Ars548Dll.h
Ars548_ResetFilterConfig() : Ars548Dll.h
Ars548_SetFilterConfig() : Ars548Dll.h
Ars548_SetRadarMessageCallback() : Ars548Dll.h
Ars548_SetSensorConfig() : Ars548Dll.h
Ars548_SetTargetListCallback() : Ars548Dll.h
Ars548_StartReceive() : Ars548Dll.h
Ars548_StopReceive() : Ars548Dll.h
Ars548_UnInit() : Ars548Dll.h
Variables
Here is a list of all documented typedefs with links to the documentation:
RadarMessageCallback : Ars548Dll.h
TargetListCallback : Ars548Dll.h
Typedefs
Here is a list of all documented typedefs with links to the documentation:
RadarMessageCallback : Ars548Dll.h
TargetListCallback : Ars548Dll.h
Macros
Here is a list of all documented macros with links to the documentation:
MSG_ID_DETECTION_LIST : Ars548Dll.h
MSG_ID_FILTER_STATUS : Ars548Dll.h
MSG_ID_OBJECT_LIST : Ars548Dll.h
MSG_ID_SENSOR_STATUS : Ars548Dll.h
TARGET_TYPE_DETECTION : Ars548Dll.h
TARGET_TYPE_OBJECT : Ars548Dll.h