Skip to content

ethercrab-v0.5.0

Latest
Compare
Choose a tag to compare
@jamwaffles jamwaffles released this 28 Jul 09:53
· 14 commits to master since this release

Changed

  • #216 PDU retries now use the same PDU index
    instead of allocating a new frame for every resend.

  • #217 EEPROM strings must now be valid ASCII
    as per the EtherCAT specification. UTF-8 strings will return an error when read.

  • (breaking) #218 Removed expected and
    got fields from Error::Wire(WireError::{Read,Write}BufferTooShort).

  • (breaking) #218 Increase MSRV from 1.75
    to 1.77.

  • (breaking) #227 Renamed many public
    items to use the newer EtherCAT terminology MainDevice and SubDevice for master/slave
    respectively.

    Type Old New
    enum SlaveState SubDeviceState
    fn Client::num_slaves() MainDevice::num_subdevices()
    fn Ds402::slave() Ds402::subdevice()
    fn SlaveGroup::slave() SubDeviceGroup::subdevice()
    mod ethercrab::slave_group ethercrab::subdevice_group
    struct Client MainDevice
    struct ClientConfig MainDeviceConfig
    struct GroupSlaveIterator GroupSubDeviceIterator
    struct Slave SubDevice
    struct SlaveGroup SubDeviceGroup
    struct SlaveGroupRef SubDeviceGroupRef
    struct SlaveIdentity SubDeviceIdentity
    struct SlavePdi SubDevicePdi
    struct SlaveRef SubDeviceRef
    variant AlStatusCode::SlaveNeedsColdStart AlStatusCode::SubDeviceNeedsColdStart
    variant AlStatusCode::SlaveNeedsInit AlStatusCode::SubDeviceNeedsInit
    variant AlStatusCode::SlaveNeedsPreop AlStatusCode::SubDeviceNeedsPreop
    variant AlStatusCode::SlaveNeedsRestartedLocally AlStatusCode::SubDeviceNeedsRestartedLocally
    variant AlStatusCode::SlaveNeedsSafeop AlStatusCode::SubDeviceNeedsSafeop
    variant Error::UnknownSlave Error::UnknownSubDevice

Added

  • #162 Add support for FreeBSD and NetBSD
    using BPF.