DGI.Framework.Communications.Crestron.ComPort 1.0.0-rc1

Crestron Comport for DGI AV Framework

A wrapper around Crestron Comport that implements DGI AV Framework IDgiCommunication interface.

By implementing IDgiCommunication, devices drivers that can receive IDgiCommunication as an injected dependency can switch easily between Serial Ports, UDP Clients, TCP Clients, etc.

Structured Logging

This driver accepts a Property of type ILogger to add Serilog as a Dependency Injection. If no property is assigned, the class will log to the Global Logger. If no Global Logger is created, no logging will take place.

This class takes advantage of Serilog's SourceContext, which will Enrich the log with the Class Name. To display it, make sure to add the SouceContext property to your message template.

Logs generated in this class are Verbose, and Debug and Warning. All exceptions have been caught.

A typical Global Logger assigned in the ControlSystem main block will look like this

Log.Logger = new LoggerConfiguration()
    .WriteTo.CrestronConsole(outputTemplate:"[{SourceContext} - {Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}" )
    .WriteTo.CrestronErrorLog(outputTemplate:"[{SourceContext} - {Level:u3}] {Message:lj}{NewLine}{Exception}")
    .CreateLogger();

Showing the top 20 packages that depend on DGI.Framework.Communications.Crestron.ComPort.

Packages Downloads
DGI.Framework.Core.RemoteDeviceFactory
Creates Remote Drivers for Remote Devices
6

Initial Release. Based off of the ARE Project

.NET Framework 4.7

Version Downloads Last updated
2.0.1 3 6/19/2026
2.0.0 2 6/18/2026
1.0.0-rc1 5 11/4/2023