PetervdPerk-NXP opened a new pull request #350: [WIP] SocketCAN working PoC 
sending/receiving CAN frame's
URL: https://github.com/apache/incubator-nuttx/pull/350
 
 
   Continuation of #271, send and receive CAN frame's through sockets on a 
S32K148EVB board is working.
   
   Please not that this is WIP (work-in-progres) logic as the beginning of the 
SocketCAN implementation. This show NOT go to master but should, instead, be 
merged into the SocketCAN feature branch.
   
   Note a modified 
[apps](https://github.com/PetervdPerk-NXP/incubator-nuttx-apps/tree/SocketCAN) 
is needed to be able to compile and test socket connections.
   
   I've ported the [can-utils](https://github.com/linux-can/can-utils) candump 
tool to NuttX and created a basic CAN driver for the S32K to test the SocketCAN 
implementation. (only printing is working, advanced filtering is not)
   
   This SocketCAN implementation is not feature complete and still needs 
further development, currently on my TODO list is
   
   - Full sockopts implementation
   - S32K CAN (FD) driver implementation
   - CAN FD support
   - Filter/Error mask support
   - Multi CAN device support
   - Multi client support
   
   If @gregory-nutt would be able to review the networks bits in /net that 
would be great, because some things are based on guesses due to lack of 
documentation (e.g. poll() implementation, correct socket implemention)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to