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

re-activate open/close entries for Winkey device #173

Closed
wants to merge 3 commits into from
Closed

re-activate open/close entries for Winkey device #173

wants to merge 3 commits into from

Conversation

dl1ycf
Copy link
Contributor

@dl1ycf dl1ycf commented Jan 13, 2020

This is the part of hamlib working with microHam "multiplexed" devices such as the microKeyer and DigiKeyer familiy. If hamlib "hogs" on the device for CAT and PTT, it was intended to leave a back door open for getting a file descriptor to write to the Winkeyer built into the microham device. Since hamlib has no API for morse keyers, please leave these open/close calls. They are needed e.g. if a contest logger uses hamlib and also wants to access the Winkey device.

So uh_open_wkey returns a file descriptor which is a FIFO that is treated by hamlib and the winkey data is then immersed in the mulitplexed data stream to/from the microHam device. uh_close_wkey usually is a no-op but closes the connection to the microham device if it is the last connection to be closed.

I know this is not overly well documented, but I ask for leaving this in although probably cppcheck complained about this.

@@ -111,6 +112,7 @@
t.tv_nsec = 0;\
nanosleep(&t,NULL);\
} while(0)
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change may not be needed with the most recent updates to master as Mike pulled all of this out of rig.h into a separate file in src.

@dl1ycf
Copy link
Contributor Author

dl1ycf commented Jan 13, 2020 via email

@N0NB
Copy link
Contributor

N0NB commented Jan 13, 2020 via email

@dl1ycf
Copy link
Contributor Author

dl1ycf commented Jan 13, 2020 via email

@N0NB
Copy link
Contributor

N0NB commented Jan 13, 2020 via email

@N0NB
Copy link
Contributor

N0NB commented Jan 17, 2020

I am going to close this request without merging as both changes have been made by Mike, W9MDB, and are now in the master branch. If you find another issue, feel free to open a new PR.

@N0NB N0NB closed this Jan 17, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants