My query is the same as issue #232., however I couldn't quite implement the solution.
I am using the library to actuate a CANBUS integrated motor. the motor responds with a simple CAN protocol and 8 byte data as :
I need to read the response/ reply of the motor and store it in a buffer: something like/ equivalent to:
network.receive_message( CAN_ID, buf_rx )
or
buf_rx = network.receive_message(CAN_ID)
I'm unsure on how to implement network.notify() and network.subscriber(). Can you share a snippet on how to implement it ?
In general, I would like to know how to read or receive the 8 byte buffer/ messages on the bus.
I would appreciate some help.
Thanks in advance
Michael.
Hi Folks !
@christian: Thanks for the great Library !
My query is the same as issue #232., however I couldn't quite implement the solution. I am using the library to actuate a CANBUS integrated motor. the motor responds with a simple CAN protocol and 8 byte data as :
the motor moves with those lines of code.
I need to read the response/ reply of the motor and store it in a buffer: something like/ equivalent to: network.receive_message( CAN_ID, buf_rx ) or buf_rx = network.receive_message(CAN_ID)
I'm unsure on how to implement network.notify() and network.subscriber(). Can you share a snippet on how to implement it ?
In general, I would like to know how to read or receive the 8 byte buffer/ messages on the bus.
I would appreciate some help. Thanks in advance Michael.