-
Notifications
You must be signed in to change notification settings - Fork 6
Debugging
corytodd edited this page Sep 9, 2015
·
1 revision
Debugging serial comms can be tough so we thought we'd include some tools to make it a little less painful. There is an event that you can subscribe to that will forward neatly packaged summary of every byte stream sent and received through the API.
To use it, simply add a handler to the OnSerialData EventHandler and process the arguments accordingly. The data includes the raw byte array, the translated RS-232 message, the direction of the message, and some timing information.
Notice! All of these topics are pulled from our sample app. Refer to the source code if you just want to skip the why and how of things.
Pyramid Technologies C# .NET RS-232 API See our developers page for the latest news - http://developers.pyramidacceptors.com/