Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In C#, how do you communicate via Kermit over a serial port?

I am about to start on a project where I have to communicate with (extract data from) a medical device via serial port. The documentation for the device says that it communicates via the Kermit protocol. It's been 10 years since I even thought about Kermit. 20 Years since I've used it. Are there any libraries for this? If I roll my own, what's involved?

I am developing in .NET 4.0 C#.

like image 374
Byron Sommardahl Avatar asked Nov 04 '22 20:11

Byron Sommardahl


1 Answers

I found a similar question

I found no traces of a C# Kermit binding, and I believe there are none since the language is pretty young

A good option is may be to choose your favourite C++ implementation and wrap it with P/Invoke

[Update] Probably somebody ungraved Kermit: https://www.adontec.com/super_net_faq.htm

like image 119
usr-local-ΕΨΗΕΛΩΝ Avatar answered Nov 14 '22 22:11

usr-local-ΕΨΗΕΛΩΝ