Skip to content
This repository was archived by the owner on Dec 24, 2024. It is now read-only.
This repository was archived by the owner on Dec 24, 2024. It is now read-only.

eda: setup a recovery protocol when sync is lost #55

@sbinet

Description

@sbinet

it may happen that the eda/rfm <=> sdhcal-daq link loses synchronization.

currently, the happy path is:

RFM -> [HDR\0 <size-u32>] -> DimEDA
RFM <- [ACK\0]            <- DimEDA
RFM -> [payload]          -> DimEDA
RFM <- [ACK\0]            <- DimEDA

we need to devise a protocol for when RFM receives a NAK\0 message: it should try to recover and re-send data (probably n-times).

ideas:

  • drop the whole connection and create one anew
  • rely on ZeroMQ or NanoMSG

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions