I get no answer from the sending ESP in the terminal like descripted in the tutorial.
Have anyone some experience with ESP32 with CANBUS?
I have also a MCP2515 wich i can use, but i have not found a solution to run this with the esp32.
So, i found the solution. My ESP32 works woth an MCP2515.
Now i have the next problem.
How can i transfer a array of 3 HEX strings to a time in Format hh:mm:ss ?
Here the code from the arduino sketch for the array
datatype of the array:
unsigned char rxBuf[8];
the data:
rxBuf[1] -> HEX-string of hours for example 0x9 -> 9 hour
rxBuf[1] -> HEX-string of minutes for example 0x23 -> 23 minutes
rxBuf[1] -> HEX-string of seconds for example 0x56 -> 56 seconds
But if the hours, minutes and seconads < 10 then its only as 1 char sendet(for example see hour “0x9”).
Looking at this topic - can you outline basic frame structures you have? I did work on generic purpose CAN driver () and binding last year (). Point where I stopped was mapping of received data.
I know very little of CAN protocols other than CANopen so my work was going into direction of mapping frame id and individual payload parts, without any support for filtering or matching of payloads themselves.
Can you describe at least several frames you have?