Repository navigation
Tags
Tags
v0.10.0: lookups, Stringers, controller state, and ISO-TP Reset Adds dbc.Database.MessageByID, Capture.LatestControllerState, isotp.Link.Reset, and String methods for Frame (candump form), FrameFlags, Direction, EventKind, ControllerState, and drivers.Channel. Fixes SocketCAN remote frames with DLC 9-15, which Linux rejected with EINVAL. Compatibility: those types now print their names (or candump text) under %v, %s, %x, and %q instead of numbers or struct dumps. conformance.Capabilities gains ClassicalDLCAboveEight, so positional struct literals need updating; keyed literals are unaffected.
v0.9.0: NI-XNET concurrent I/O and UDS response recovery Breaking: added fields in drivers.Config and uds.Config require callers using positional struct literals to update them. Keyed literals retain defaults; NI-XNET remains serialized unless NIXNETConcurrentIO is enabled.
gocan v0.8.0 Add NI-XNET CAN/CAN FD support on Windows x64, typed inactive DBC signal errors, and bounded cyclic missed-send recovery with preserved expiry causes. Compatibility: drivers.Config gains Termination and cyclic.Config gains MaxConsecutiveMisses. Convert positional config literals to keyed literals. Zero-value options preserve existing defaults. Use errors.Is to inspect wrapped cancellation, occurrence-expiry and inactive-signal errors.
v0.7.0 ISO-TP: separate minimum padding from maximum frame length. Breaking change: Config and FunctionalConfig replace PadFrames with TransmitMinDataLength. Use 8 for eight-byte minimum padding, or the resolved TransmitDataLength to preserve full padding. Zero disables optional padding; CAN FD length rounding remains mandatory.
`Client.SendAwaitNRC(ctx, request) error` is replaced by `Client.DoSu… …ppressed(ctx, request) (*Response, error)`. Migrate calls to `response, err := client.DoSuppressed(ctx, request)`, or `_, err := client.DoSuppressed(ctx, request)` when the response is not needed. Initial P2 silence returns `(nil, nil)`; a positive reply returns the response, including an empty payload. Final negative replies, P2* timeouts, cancellation and transport failures remain errors. Callers still supply the suppression bit. Silence does not confirm completion of the requested action. [#89](#89) DBC and CDD floating-point fields accept native integers with normal rounding, consistently with JSON numbers. Unscaled float32 fields convert directly to float32 precision, avoiding double rounding through float64. Exact unscaled integer conversion and scaled-integer safeguards are preserved; scaled conversions retain float64 arithmetic. [#90](#90) **Full changelog:** v0.5.0...v0.6.0
PreviousNext