- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I need some help with the Position2Go C Comlib. I want to read the data from Target_Info_t for example the radius.
I included EndpointTargetDetection.h in extract_raw_data.c.
I registered the callback with ep_targetdetect_set_callback_target_processing() and called ep_targetdetect_get_targets() to get the targets.
May somebody help me with this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @user19 ,
The code you developed is giving a endpoint compatibility error, so while modifying the Commlib files you will need to do appropriate updates in the firmware as well to make it compatible. Please refer to the Radar Host Communication Library document from /IFX_D2GL-HW-SW_V1.0.0/Firmware_Software/Communication%20Library/ComLib_C_Interface/documentation/html/index.html for more detailed explanation.
Also the information you want to display will only be possible after making some appropriate changes in the endpoint files.
In case to execute the given Commlib file we would suggest you to refer the following threads on the similar topic: https://community.infineon.com/t5/Radar-sensor/Position2Go-Compile-extract-raw-data-c-example/td-p/2... .
Build and run the C Commlib Interface example code for Position2Go Demo board using the Cmake List file provided in the above thread.
Hope this make things clear!
Best Regards
Honey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @user19 ,
Can you please share the code you have build and also the error log you are getting?
Meanwhile please refer to the code documentation from Position2Go kit : /IFX_P2G-HW-SW_V1.0.4/Documentation/FW_API/html/index.html
Best Regards
Honey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure I can share my code. I don't get any errors when I run extract_raw_data.c. I use Visual Studio Code and the ComLib C interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @user19 ,
The code you developed is giving a endpoint compatibility error, so while modifying the Commlib files you will need to do appropriate updates in the firmware as well to make it compatible. Please refer to the Radar Host Communication Library document from /IFX_D2GL-HW-SW_V1.0.0/Firmware_Software/Communication%20Library/ComLib_C_Interface/documentation/html/index.html for more detailed explanation.
Also the information you want to display will only be possible after making some appropriate changes in the endpoint files.
In case to execute the given Commlib file we would suggest you to refer the following threads on the similar topic: https://community.infineon.com/t5/Radar-sensor/Position2Go-Compile-extract-raw-data-c-example/td-p/2... .
Build and run the C Commlib Interface example code for Position2Go Demo board using the Cmake List file provided in the above thread.
Hope this make things clear!
Best Regards
Honey