There is a vast list of error command response codes. The awaitData function should be enhanced to return a Result object to its completion closure and in the case of a bad response code should error. The command response code can be ignored if an end data packet is received as some cameras don’t send it in this case, but otherwise should be heeded
There is a vast list of error command response codes. The awaitData function should be enhanced to return a
Result
object to its completion closure and in the case of a bad response code should error. The command response code can be ignored if an end data packet is received as some cameras don’t send it in this case, but otherwise should be heeded