Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COHDA - Test wrapping / calling cohda C functions from Python #4

Open
rsyvarth opened this issue Feb 9, 2016 · 1 comment
Open
Assignees

Comments

@rsyvarth
Copy link
Owner

rsyvarth commented Feb 9, 2016

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

@rsyvarth
Copy link
Owner Author

rsyvarth commented Feb 9, 2016

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.

@rsyvarth rsyvarth self-assigned this Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant