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

Cannot connect my SI box #47

Open
lauderdice opened this issue Apr 26, 2018 · 5 comments
Open

Cannot connect my SI box #47

lauderdice opened this issue Apr 26, 2018 · 5 comments

Comments

@lauderdice
Copy link

Hi, I am currently doing a project at school and building a similar program for orienteering events. I have trouble installing the drivers on Mac OS according to your tutorial on the web. Do you I could PM you and ask a couple of questions? Cheers, Jan

@sdenier
Copy link
Owner

sdenier commented Apr 26, 2018

Sure, I am not really active anymore on this topic but I can see what I can do

@lauderdice
Copy link
Author

So basically what I am trying to achieve is to implement a feature in our app that if I click a button, the data will be read from the SI device to our app. Therefore I am trying to connect it with the GecoSI library, but I can’t figure out how it works because when I try the java net.gecosi.SiHandler (on Windows I try with COM3 and on Mac I am not able to install the drivers according to the steps) I get NoSuchPortException, even though that in Sportident Config I see that it is mapped to the port COM3

I dont know why on Mac OS the driver doesnt work.... I follow all the steps but the device still remains as /dev/tty.usbmodem-xxxxxxx.

@sdenier
Copy link
Owner

sdenier commented Apr 27, 2018

Can you write a little program which list the ports as seen from the lib? Just use the gnu.io.CommPortIdentifier#getPortIdentifiers from the gnu.io package

https://stackoverflow.com/questions/16059825/cant-list-com-ports-on-my-computer-with-java

As for Mac OS, as there was never some official support, the process may change and I didn't replay it for a long time. It's trial and error. Altough it seems to me some people succeeded to plug the station without modifying the driver.

@lauderdice
Copy link
Author

So I eventually managed to get it going, it work very good, but my only problem is when I want to stop the communication. I call the SiHandler.stop() but I get the following error.
screen shot 2018-05-12 at 13 56 18

@sdenier
Copy link
Owner

sdenier commented May 13, 2018

There is not much information in this crash report. Did you try the given instructions for further debug? Where is your code?

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

2 participants