2.0 KiB
2.0 KiB
Change Log
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
Added
di_hash_murmur2functiondi_can_set_nodeidfunctiondi_can_msg_enable_timesyncfunctiondi_can_msg_recvsubsystemdi_can_msg_recv_set_blockingnow controlsdi_can_recvdi_can_msg_recv_set_timeoutnow controlsdi_can_recv
di_can_msg_read_*functionsdi_can_msg_write_*functionsdi_can_netsubsystem (datatypes, structures)di_can_msgtype_strfunctiondi_can_ptype_strfunction- Macro
DI_CAN_MSGTYPE_ANYfordi_can_recv - Macro
DI_CAN_TRANSFERTYPE_REPLY_ERR - Constants
DI_CAN_NODEID_*(enum di_can_nodeids)DI_CAN_PTYPE_*(enum di_can_ptype)DI_CAN_RAW_DTYPE_*(enum di_can_raw_ptypes)DI_CAN_NET_DTYPE_*(enum di_can_net_ptypes)
Changed
di_can_initnodeid parameter is now removed,di_can_set_nodeidis the replacementdi_can_callback_executehas a extra parameterstruct di_can_msg **msg.di_can_recvis now able to block when no messages are ready (assembled)di_can_callback_executeis now able to block with a mutex (with timeout)enum di_can_raw_typerenamed toenum di_can_raw_dtypesenum di_rpc_typerenamed toenum di_rpc_typesenum di_can_transfertypedefinitions are now written in full length:REPLY_ERR, REPLY, REQUEST, PUBLISHenum di_can_raw_sendnow needs a extradst_idparameterdi_rpc_type_to_strrenamed todi_rpc_types_to_str- macro
DI_RPC_TYPErenamed toDI_RPC_TYPE_CLASS_METHODdue to conflict - split can msg reassemble into seperate file instead of
can.c - cleanup and simplify
can/framing.c - replace all occurences of
di_bsem_wait|post(&ctx->msg.lock)withdi_can_msg_lock|unlock(ctx)
Fixed
- More can stack tests