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.
- Bug fix: Connecting to local router failed with ECONNREFUSED error on Node.js version 17 and newer
- See nodejs/node#40702
- Fixed by using
127.0.0.1
instead oflocalhost
- New
StandAloneServer
class- A new ADS server for systems without TwinCAT installation / AMS router
- AdsRouterConsole or similar no more needed
- Example: Raspberry Pi, Linux, etc..
- Listens for incoming connections at TCP port (default 48898) so no router needed
- Can listen and respond to requests to any ADS port
- A new ADS server for systems without TwinCAT installation / AMS router
- Old code divided into
Server
andServerCore
(internal) classes Server
class connecting, disconnecting and reconnecting redesignedServer
class reconnecting after connection loss redesigned- All request callbacks (like
onReadReq
) now have 4th parameter:adsPort
- Contains the ADS port where the command was sent to
- Required with
StandAloneServer
as it listens to all ADS ports
- Better typings for
onAddNotification
- Lots of small improvements
- Bugfix:
_registerAdsPort
caused unhandled exception if using manually given AmsNetID. - NOTE: Updated version to 1.0.0 but everything is backwards compatible
- Minor changes to console warning messages
- Updated README
- Updated
sendDeviceNotification()
- Small fixes
- Added ./example
- First public release
- Everything should work somehow
sendDeviceNotification()
is not ready, but should work for testing