Skip to content

Releases: EatonEM/emcb-udp-coordinator

v1.0.0

17 Jan 17:59
Compare
Choose a tag to compare

[1.0.0] - 2024-01-17

Changed

  • BREAKING Changed project name to EMCB UDP Coordinator to align with Eaton policies. Updated file names: emcbUDPbroadcastCoordinator and emcbUDPdeviceCoordinator

v0.12.0

07 Dec 19:27
e4118ef
Compare
Choose a tag to compare

[0.12.0] - 2023-11-30

Added

  • Support for the following EV-SB commands: getEvseDeviceState, getEvseAppliedControlSettings, getEvseConfigSettingsAndMode, and patchEvseConfigSettingsAndMode
  • Example files for each SB and EV-SB command using unicast

Changed

  • Updated the message queuing system to allow every command to have it's own timeout instead of a single, static timeout for each batch of messages
  • Updated several dependencies and removed unused ones

Removed

  • Support for getDeviceDebugData and setCloudLogging (these were removed from the device in EM firmware release v1.16.0)

v0.11.1

08 Apr 01:20
88f4ad8
Compare
Choose a tag to compare

[0.11.1] - 2021-04-07

Fixed

  • Update all documentation for EMLCP Node.JS SDK

v0.11.0

08 Apr 01:19
5f79be4
Compare
Choose a tag to compare

[0.11.0] - 2021-02-17

Added

  • UDP latency tests. New file Examples/cli/discoverAndTestUDPLatency.js

Changed

  • Updated Examples/README.md to include new UDP latency tests information.

v0.10.0

26 Jun 17:48
411ecad
Compare
Choose a tag to compare

[0.10.0] - 2019-06-26

Added

  • Average Power Calculation / Logging (in Watts) to Examples/cli/writeDeviceDataToCSV.js
  • getMasterIPAddress()
  • createDevice(idDevice, ipAddress, unicastGetNextSequenceNumber = true)
  • Undocumented EmcbUDPbroadcastMaster functionality:
    • setCloudLogging and EMCB_UDP_MESSAGE_CODE_SET_CLOUD_LOGGING constant
    • setMeterMode and EMCB_UDP_MESSAGE_CODE_SET_METER_MODE constant
  • EmcbUDPbroadcastMaster now accepts a broadcastIPaddress or a ifaceName argument to allow specifying which network interface/broadcast address a user want to use.

Changed

  • Allow .send() to be called by outside code with a generic messageCode and messageData, passing the response back as a raw buffer. This allows sending of arbitrary data to a device, without needing to implement a parser, etc. held by the library. Currently this is Undocumented behavior.
  • The default behavior for network interface and broadcast IP address discovery is now more intelligent in selecting the appropriate network interface (no longer simply the first one with a valid local IP address)
  • Improve handling of no unicast udpKey being provided for a particular device ID that was found during the discovery process.

Fixed

  • Parsing issues for Int64 numbers (was only parsing 7 bytes instead of all 8 due to the fact that Buffer.slice(start,end) is not inclusive on the end)
  • The device property was not present in EMCB_UDP_EVENT_DEVICE_REMOVED events
  • Issue with using an undefined device in .on(EMCB_UDP_ERROR_TIMEOUT, ...) in examples
  • Documentation error in getMeterData data.responses[${IP_ADDRESS}].period
  • Formatting issues in Examples/cli/writeDeviceDataToCSV.js
  • Improved initialization code to handle devices discovered with a good Broadcast key but without a provided unicast key

Removed

  • EMCB_UDP_BROADCAST_ADDRESS is no longer a constant as we are now using some async code to determine the broadcast address. This value can still be accessed through the EmcbUDPbroadcastMaster.ipAddress property (although it may not be available immediately in sync code after instantiation).

v0.8.1

03 Apr 12:34
512f20b
Compare
Choose a tag to compare
Merge pull request #2 from EatonEM/develop

v0.8.1

Initial Public Release

02 Apr 19:11
9b72660
Compare
Choose a tag to compare
Merge pull request #1 from EatonEM/develop

v0.8.0