Tags: glassboard-dev/CANopenNode
Tags
Multiple updates related to newOD branch, commit 9e9fce7 Testing and multiple fixes were made in newOD branch. This commit includes relevant code from newOD branch, synchronized to this branch. Following modules were updated: - SDO client, CO_gateway_ascii, CO_fifo - socketCAN : CO_epoll_interface, CO_main_basic SDO client (with gateway and fifo) which was rewritten after v1.3 is now tested and works the same as in newOD branch. Same is socketCAN. Works as here: https://github.com/CANopenNode/CANopenSocket/tree/master/examples/basicDevice SDO server is quite the same as in v1.3. I made no additional testing at this point. There are some other updates: - CO_driver.h, CO_config.h: additional CO_CONFIG_DEBUG macro. - CO_driver.h: fixed some typos, added optional CO_errinfo() macro. - CO_NMT_Heartbeat: added CO_NMT_setInternalState(). - documentation synchronized. - example/_project.xml updated, can be used as template with libedssharp.
fix SDO block download process continuity after sequence breaks (CANo… …penNode#171) Now additional state CO_SDO_ST_DOWNLOAD_BL_SUB_RESP_2 is used to send response without resetting SDO sequence. Refactoring timeout halding logic in sub-block transfer. Also add missed unsigned indicators for several constants. issue CANopenNode#170
CO_trace: remove compiler warnings (CANopenNode#49) snprintf() calls will raise warnings when using %u/%d format strings with uint32_t/int32_t arguments. Use %lu/%ld instead.
Fresh, cleaned repository of CANopenNode. For further project history see http://sourceforge.net/projects/canopennode/ This initial commit contains relevant files, which are the same as in the following git repository on this date (25.7.2015): http://sourceforge.net/p/canopennode/code_complete/