Due_can library

In due_can library how can i undrestand that a pack of data has been received by reciever device?

Assuming that you mean after you have transmitted the data packet? In that case, you cannot. The CAN protocoldoes allow you to know that SOME receiver successully acknowledged the message if your CAN message transmitted successfully, which means that all active receivers on the bus received, or had the opportunity to receive it, but you cannot directly know that a particular module is actively listening.

Most of the time we infer this though - if a module is transmitting its messages periodically, then it is also listening to the messages that it is looking for.

As a final note, once your message has been transmitted successfully, it has also been received by the listening notes, as their participation in the message process is part of what makes up a successful transmission.