Skip to content

v2 user specified TxID / RxID possible ? #67

@Feezex

Description

@Feezex

Hi @jglim, im trying to send single frame over user specified txID but its just uses cbf specified channel to transmission.
I have specified rxID and txID in combobox, some code below show my implementation.
Due lack of knowledge i cant handle that.
Is it possible to make this happen?

   string selectedTxId = cbTransmitId.SelectedItem.ToString();
   string selectedRxId = cbReceiveId.SelectedItem.ToString();

   if (!int.TryParse(selectedTxId, System.Globalization.NumberStyles.HexNumber, CultureInfo.InvariantCulture, out int txId) ||
       !int.TryParse(selectedRxId, System.Globalization.NumberStyles.HexNumber, CultureInfo.InvariantCulture, out int rxId))
            
      byte[] response = DiogenesSharedContext.Singleton.Channel.Send(request, true);
                Console.WriteLine($"Send over {selectedTxId} : {BitUtility.BytesToHex(request, true)}");
                Console.WriteLine($"Response over {selectedRxId} : {BitUtility.BytesToHex(response, true)}");

it gaves result of sending data with cbf opened channel eg:
7E1 8 10 10 + request part 1
7E1 8 03 + request part 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions