This PR puts the broad brushstrokes in place as far as...
Separation of Device (PD side) and DeviceProxy (ACU side) classes and their responsibilities
Introduces the use of PdMessageSecureChannel channel as the an actual channel class (i.e. ALL commands are received from this class and all replies are sent to this class, while underlying IOsdpConnection is maintained internally to the channel)
Introduces SecureChannel negotiation
HEADS UP: THESE CHANGES ARE UNTESTED.
My next step with these changes would be to spin up the sample card reader with IOsdpTcpServerConnection, point the Console at it and get the two sides of OSDP protocol to talk to each other. Haven't gotten there.
This PR puts the broad brushstrokes in place as far as...
PdMessageSecureChannel
channel as the an actual channel class (i.e. ALL commands are received from this class and all replies are sent to this class, while underlying IOsdpConnection is maintained internally to the channel)HEADS UP: THESE CHANGES ARE UNTESTED.
My next step with these changes would be to spin up the sample card reader with IOsdpTcpServerConnection, point the Console at it and get the two sides of OSDP protocol to talk to each other. Haven't gotten there.