nbCcTalkCoinAcceptor/nbCcTalkCoinAcceptor_VsProject/cctalkLib/Devices/GenericCctalkDevice.cs
method on line 304 respondRawData will always be of length 255.
MinMessageLength is set to 5 by default. A valid message can be of size 4. The if check should be removed as it doesn't protect from anything and (when constructing from a list List.ToArray() can cause exceptions to be thrown in error.
nbCcTalkCoinAcceptor/nbCcTalkCoinAcceptor_VsProject/cctalkLib/Devices/GenericCctalkDevice.cs method on line 304
respondRawData
will always be of length 255.MinMessageLength
is set to 5 by default. A valid message can be of size 4. The if check should be removed as it doesn't protect from anything and (when constructing from a listList.ToArray()
can cause exceptions to be thrown in error.