Opened 7 years ago

Last modified 12 months ago

#12184 assigned Bug Report - General

CI/CAM: Connection establishment for not spec compliant CAMs broken

Reported by: ast@… Owned by: Klaas de Waal
Priority: minor Milestone: needs_triage
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no


This is for MythTV 0.27.1.

I do have a CAM that unconditionally sends T_SB for tcid 2 on connection open which is not spec compliant. MythTV basically provisions for such cases in cCiTransportConnection::CreateConnection?().

However, cCiTransportConnection::RecvTPDU() breaks this as it unconditionally calls Init() on any "error", thus resetting the processing state from CREATION to IDLE.

The attached patch fixes this for my case and should be seen as a sample workaround. Actually some interworking between CreateConnection?() and RecvTPDU() is required to handle the retry cases in state CREATION properly.

Attachments (1)

cam-init-workaround.patch (448 bytes) - added by ast@… 7 years ago.
CAM connection establishment workaround

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by ast@…

Attachment: cam-init-workaround.patch added

CAM connection establishment workaround

comment:1 Changed 16 months ago by Klaas de Waal

Owner: set to Klaas de Waal
Status: newassigned

comment:2 Changed 12 months ago by Stuart Auchterlonie

Milestone: unknownneeds_triage
Note: See TracTickets for help on using tickets.