BlairAllegroTech / CBus4Net

A C# .NET CBus Protocol Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example code

roxaskeyheart opened this issue · comments

Could you please post some example code on how you would use this library?

The Test library you included in your code isn't that clear on how to implement your protocol into our own code, in particular - how to send or receive lighting/trigger commands and how to specify a port/interface to send the commands to (eg. Serial).

You should provide an implementation of ICommunicationsChannel

I have some sample implementations of Tcp and Serial communications channels that i can add

Sorry i should also add that i typically use an IOC container to provide/wireup implementations of these interfaces.

@roxaskeyheart I have now added some sample communications channel implementations