I want to send raw data with CANopen. Which COB-ID should I use then?
My goal is to transmit for example an array of X bytes and when the receiver got that array, it going to understand how to intepret that array of X bytes.
For example when I use SAE J1939, to send raw data, i need to use DM16
message combinding with Transport Protocol Data Transfer(TP.DT) and Transport Protocol Connection Management (TP.CM)
- I first create my array of X bytes.
- Then I begin to send a TP.CM mesage how many bytes (total bytes of the array), in how many packages(8 bytes = 1 package), and what type of message(PGN number of DM16).
- Then I send my bytes, package after package by using TP.DT
- When the receiver got all packages, it look what kind of message it is, then the receiver re-construct the message and bring the array of X bytes to the user.
That's how raw data transfer is done with SAE J1939. Here is an example how DM16 works
Question:
How is that done in CANopen?