rsyvarth/dsrc-radar-collision-avoidance

COHDA - Test wrapping / calling cohda C functions from Python

Opened this issue · 1 comments

I believe we will want to use ctypes for this, but it is essential that we confirm that we are able to retrieve information from the Cohda C SDK asap. If we cannot achieve this our current approach will not work.

Here are some potentially helpful resources:
http://stackoverflow.com/questions/145270/calling-c-c-from-python
https://docs.python.org/2/library/ctypes.html

As an alternative it looks like we might be able to simply run this application on the device https://support.cohdawireless.com/hc/en-us/articles/202932270-BSM-Shell-An-application-shell-that-transmits-and-receives-BSMs

It is already written and it looks like it logs out it state to XML, we might be able to modify how it logs slightly and just read directly from those logs as opposed to calling into C functions directly.