src.dualinventive.com/dinet/libdi-php/CHANGELOG.md

2.0 KiB

Change Log

All notable changes to libdi-php will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.7.0] - 2019-04-09

Added

  • CAN fakedevice php tool returns project 666 (DINET-82)
  • CAN raw PROJECT_ID message (DINET-82)
  • Test script for requesting CAN NET node device:uid (DINET-68)
  • Support for DI-CAN Realtime messages (TWS-192)

Fixed

  • di_can_reqrep was not consistent with di_can_reqrep_with_retry (DINET-68)
  • Return null instead of false when there is a reply error
  • Return the actual reply message instead of true
  • Fix integration build after introduction of feature TWS-91
  • Fix build because the old constant of DUU is removed (TWS-176)

Changed

  • Update libdi dependency to the latest version (DINET-68)

[0.6.0] - 2017-07-10

Added

  • bin/di-can-fakedevice tool to read DI_LOG_* messages over CAN
  • DI_LOG constants
  • DI_RPC_UID_SENSOR_(GPS,RSSI,BER) constants
  • DI_RPC_UID_CONFIG_DEVICE_SERVICE constant
  • DI_RPC_*_DEVICE_TYPE_LABEL constants
  • CAN RAW datatype constants for DNCM_GPS_SENSOR_TRIGGER, DNCM_COMMUNICATION_STATUS

[0.5.0] - 2017-06-09

Added

  • bin/di-can-setbaudrate tool to set CAN-bus baudrate using ip tool
  • Added canid and src_id property in the msg for send and receive function for request-reply matching which extracts the Transaction ID
  • PHP functions
    • di_can_send_empty_reply
    • di_can_reqrep
    • di_can_reqrep_with_retry
  • PHP constants
    • CHARGER1_VOLTAGE, CHARGER1_STATE
    • CHARGER2_VOLTAGE, CHARGER2_STATE
    • Multiple DI_RPC_UID_ZKL_SENSOR_*
    • Multiple DI_RPC_ZKLRC_KEYSWITCH_STATE_

Fixed

  • Sending payload with a incorrect null termination PHP zval == IS_STRING and ptype != DI_CAN_PTYPE_STRING, e.g raw structs
  • Bug in request-reply matching by not masking the Linux SocketCAN can_id with CAN_EFF_MASK

[0.4.1] - 2017-02-08