You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking for driver for new ESP32 devices. Yours is one alternative, but its use differs the way designed for N2k library.
In constructor you have queue sizes. Library calls InitCANFrameBuffers(); before opening driver. User can set frame buffers with SetN2kCANSendFrameBufSize and SetN2kCANReceiveFrameBufSize. Different drivers then should initialize frame buffers on InitCANFrameBuffers. If driver supports interrupted queues, it is best that driver initiates driver queues by using defined sizes (leave 4 frames for driver tx buffer). Also if driver supports multiple mailboxes (like Teensies), it should split given Tx framebuffer to priority buffers.
The text was updated successfully, but these errors were encountered:
Well, I written this driver when I knew nothing about N2K and even less about ESP32 :-) Once I finished the https://github.com/sergei/sci2000 my focus has shifted, so I don't plan to make any further changes in foreseeable future. I still would keep an eye on your NMEA2000 project. Thanks a lot for great contribution to the sailing community!
I was looking for driver for new ESP32 devices. Yours is one alternative, but its use differs the way designed for N2k library.
In constructor you have queue sizes. Library calls InitCANFrameBuffers(); before opening driver. User can set frame buffers with SetN2kCANSendFrameBufSize and SetN2kCANReceiveFrameBufSize. Different drivers then should initialize frame buffers on InitCANFrameBuffers. If driver supports interrupted queues, it is best that driver initiates driver queues by using defined sizes (leave 4 frames for driver tx buffer). Also if driver supports multiple mailboxes (like Teensies), it should split given Tx framebuffer to priority buffers.
The text was updated successfully, but these errors were encountered: