10-12-2023 16:13:37 BACnetClientExample info: BACnet Client Example NodeJS https://github.com/chipkin/BACnetClientExampleNodeJS 10-12-2023 16:13:37 BACnetClientExample info: GetLibaryPath: ./bin/CASBACnetStack_x64_Debug.dll 10-12-2023 16:13:37 BACnetClientExample info: Application Version: 0.0.4, BACnetStack_Version: 4.1.19.2330, BACnetStackAdapter_Version: 1.1.2 10-12-2023 16:13:37 BACnetClientExample info: Setting up callback functions... ::CASBACnetStack::BACnetInterface::RegisterCallbackLogDebugMessage() in file: C:\dev\gitlab-runner\builds\b1afdc2b\2\chipkin\cas-bacnet-stack\source\BACnetInterface.cpp(1631) - FYI: This feature was not compiled. To enable, re-compile the CAS BACnet Stack in debug mode 10-12-2023 16:13:37 BACnetClientExample info: Setting up BACnet device... 10-12-2023 16:13:37 BACnetClientExample info: BACnet device instance: 389005 10-12-2023 16:13:37 BACnetClientExample info: Enabling IAm... 10-12-2023 16:13:37 BACnetClientExample info: Enabling ReadPropertyMultiple... 10-12-2023 16:13:37 BACnetClientExample info: Setting up BACnet UDP port. Port: 47808 10-12-2023 16:13:37 BACnetClientExample info: Found the following networks: { "Ethernet": [ { "address": "fe80::abc:d9ff:65b1:5e1e", "netmask": "ffff:ffff:ffff:ffff::", "family": "IPv6", "mac": "40:16:7e:af:4a:03", "internal": false, "cidr": "fe80::abc:d9ff:65b1:5e1e/64", "scopeid": 16 }, { "address": "192.168.68.109", "netmask": "255.255.255.0", "family": "IPv4", "mac": "40:16:7e:af:4a:03", "internal": false, "cidr": "192.168.68.109/24" } ], "Loopback Pseudo-Interface 1": [ { "address": "::1", "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "family": "IPv6", "mac": "00:00:00:00:00:00", "internal": true, "cidr": "::1/128", "scopeid": 0 }, { "address": "127.0.0.1", "netmask": "255.0.0.0", "family": "IPv4", "mac": "00:00:00:00:00:00", "internal": true, "cidr": "127.0.0.1/8" } ] } 10-12-2023 16:13:37 BACnetClientExample info: IP Address: 192,168,68,109, SubnetMask: 255,255,255,0 10-12-2023 16:13:37 BACnetClientExample info: Starting main program loop... 10-12-2023 16:13:37 BACnetClientExample info: UDP.Server listening 192.168.68.109:47808 10-12-2023 16:13:37 BACnetClientExample info: Sending WhoIs... 10-12-2023 16:13:37 BACnetClientExample debug: >> CallbackSendMessage. messageLength: 20, broadcast: true, networkType: 0, ipAddress: 192.168.68.255, port: 47808, message: 810b00140120ffff 10-12-2023 16:13:37 BACnetClientExample debug: << CallbackRecvMessage Got message. Length: 20, From:192.168.68.109:47808, Message: 810b00140120ffff00ff10080b05f3661b05f370 10-12-2023 16:13:37 BACnetClientExample info: {"BACnetPacket":{"_networkType":"IP","BVLL":{"_function":"originalBroadcastNPDU"},"NPDU":{"_control":"0x20","_version":"1","DestinationNetwork":"65535","DestinationAddress":{"_length":"0"},"HopCount":"255"},"UnconfirmedRequestPDU":{"_serviceChoice":"whoIs","WhoIsRequest":{"DeviceInstanceRangeLowLimit":{"_text":"389990","_context":"0","_datatype":"2","_value":"389990"},"DeviceInstanceRangeHighLimit":{"_text":"390000","_context":"1","_datatype":"2","_value":"390000"}}}}} 10-12-2023 16:13:37 BACnetClientExample error: ::CASBACnetStack::BACnetDataLinkSC::Loop() in file: C:\dev\gitlab-runner\builds\b1afdc2b\2\chipkin\cas-bacnet-stack\source\BACnetDataLinkSC.cpp(250) - Error: UUID has not been set. A UUID must be set for the BACnetSC device to start 10-12-2023 16:13:37 BACnetClientExample debug: << CallbackRecvMessage Got message. Length: 25, From:192.168.68.105:47808, Message: 810b00190120ffff00ff1000c40205f36f2205c49103220185 10-12-2023 16:13:37 BACnetClientExample info: {"BACnetPacket":{"_networkType":"IP","BVLL":{"_function":"originalBroadcastNPDU"},"NPDU":{"_control":"0x20","_version":"1","DestinationNetwork":"65535","DestinationAddress":{"_length":"0"},"HopCount":"255"},"UnconfirmedRequestPDU":{"_serviceChoice":"iAm","IAmRequest":{"IAmDeviceIdentifier":{"_text":"device, 389999","_datatype":"12","_objectInstance":"389999","_objectType":"8"},"MaxAPDULengthAccepted":{"_text":"1476","_datatype":"2","_value":"1476"},"SegmentationSupported":{"_text":"noSegmentation","_datatype":"9","_value":"3"},"VendorId":{"_text":"389","_datatype":"2","_value":"389"}}}}} 10-12-2023 16:13:37 BACnetClientExample info: I-Am message. Device Instance: 389999, VendorId: 389, sourceNetwork: undefined, sourceAddress: 10-12-2023 16:13:52 BACnetClientExample debug: >> CallbackSendMessage. messageLength: 33, broadcast: false, networkType: 0, ipAddress: 192.168.68.105, port: 47808, message: 810a002101040005 10-12-2023 16:13:52 BACnetClientExample info: Sent ReadPropertyMultiple to device: 389999, connectionString: 192.168.68.105:47808, sentInvokeId: 42 10-12-2023 16:13:52 BACnetClientExample debug: << CallbackRecvMessage Got message. Length: 146, From:192.168.68.105:47808, Message: 810a00920100302a0e0c0205f36f1e294d4e750f00446576696365205261696e626f774f29794e751b00436869706b696e204175746f6d6174696f6e2053797374656d734f29784e2201854f29464e751100434153204241436e657420537461636b4f292c4e750800342e322e322e304f290c4e750700302e302e32304f298b4e21134f29614e850704043bd821fa004f1f 10-12-2023 16:13:52 BACnetClientExample error: ::CASBACnetStack::BACnetPrimitiveBase::DecodeWithContext() in file: C:\dev\gitlab-runner\builds\b1afdc2b\2\chipkin\cas-bacnet-stack\source\BACnetPrimitiveBase.cpp(163) - Error: Invalid Tag Number 10-12-2023 16:13:52 BACnetClientExample error: ::CASBACnetStack::BACnetReadAccessResult::Decode() in file: C:\dev\gitlab-runner\builds\b1afdc2b\2\chipkin\cas-bacnet-stack\source\BACnetReadAccessResult.cpp(189) - Error: Failed to decode objectIdentifier 10-12-2023 16:13:52 BACnetClientExample info: {"BACnetPacket":{"_networkType":"IP","BVLL":{"_function":"originalUnicastNPDU"},"NPDU":{"_control":"0x00","_version":"1"},"ComplexACKPDU":{"_moreFollows":"0","_originalInvokeId":"42","_segmentedMessage":"0","_serviceChoice":"readPropertyMultiple","ReadPropertyMultipleACK":{"ListOfReadAccessResults":{"_count":"1","ReadAccessResult":{"ObjectIdentifier":{"_text":"device, 389999","_context":"0","_datatype":"12","_objectInstance":"389999","_objectType":"8"},"ListOfResults":{"_context":"1","_count":"8","ReadResult":[{"PropertyIdentifier":{"_text":"objectName","_context":"2","_datatype":"9","_value":"77"},"PropertyValue":{"_context":"4","CharacterString":{"_text":"Device Rainbow","_datatype":"7","_encoding":"0","_length":"14"}}},{"PropertyIdentifier":{"_text":"vendorName","_context":"2","_datatype":"9","_value":"121"},"PropertyValue":{"_context":"4","CharacterString":{"_text":"Chipkin Automation Systems","_datatype":"7","_encoding":"0","_length":"26"}}},{"PropertyIdentifier":{"_text":"vendorIdentifier","_context":"2","_datatype":"9","_value":"120"},"PropertyValue":{"_context":"4","UnsignedInteger":{"_text":"389","_datatype":"2","_value":"389"}}},{"PropertyIdentifier":{"_text":"modelName","_context":"2","_datatype":"9","_value":"70"},"PropertyValue":{"_context":"4","CharacterString":{"_text":"CAS BACnet Stack","_datatype":"7","_encoding":"0","_length":"16"}}},{"PropertyIdentifier":{"_text":"firmwareRevision","_context":"2","_datatype":"9","_value":"44"},"PropertyValue":{"_context":"4","CharacterString":{"_text":"4.2.2.0","_datatype":"7","_encoding":"0","_length":"7"}}},{"PropertyIdentifier":{"_text":"applicationSoftwareVersion","_context":"2","_datatype":"9","_value":"12"},"PropertyValue":{"_context":"4","CharacterString":{"_text":"0.0.20","_datatype":"7","_encoding":"0","_length":"6"}}},{"PropertyIdentifier":{"_text":"protocolRevision","_context":"2","_datatype":"9","_value":"139"},"PropertyValue":{"_context":"4","UnsignedInteger":{"_text":"19","_datatype":"2","_value":"19"}}},{"PropertyIdentifier":{"_text":"protocolServicesSupported","_context":"2","_datatype":"9","_value":"97"},"PropertyValue":{"_context":"4","BitString":{"_text":"b00000100001110111101100000100001111110100000","_datatype":"8","_length":"44","_unusedBits":"4"}}}]}}}}}}} 10-12-2023 16:13:52 BACnetClientExample info: originalInvokeId: 42, originalRequest: {"connectionString":"192.168.68.105:47808","originalInvokeId":42,"sourceNetwork":0,"sourceAddress":0,"deviceInstance":"389999","objectType":8,"objectInstance":"389999"} 10-12-2023 16:13:52 BACnetClientExample info: Found ReadAccessResults: 8 10-12-2023 16:13:52 BACnetClientExample info: ReadPropertyMultiple message. originalInvokeId: 42, Device Instance: 389999, PropertyIdentifier: objectName, PropertyValue: Device Rainbow 10-12-2023 16:13:52 BACnetClientExample info: ReadPropertyMultiple message. originalInvokeId: 42, Device Instance: 389999, PropertyIdentifier: vendorName, PropertyValue: Chipkin Automation Systems 10-12-2023 16:13:52 BACnetClientExample info: ReadPropertyMultiple message. originalInvokeId: 42, Device Instance: 389999, PropertyIdentifier: vendorIdentifier, PropertyValue: 389 10-12-2023 16:13:52 BACnetClientExample info: ReadPropertyMultiple message. originalInvokeId: 42, Device Instance: 389999, PropertyIdentifier: modelName, PropertyValue: CAS BACnet Stack 10-12-2023 16:13:52 BACnetClientExample info: ReadPropertyMultiple message. originalInvokeId: 42, Device Instance: 389999, PropertyIdentifier: firmwareRevision, PropertyValue: 4.2.2.0 10-12-2023 16:13:52 BACnetClientExample info: ReadPropertyMultiple message. originalInvokeId: 42, Device Instance: 389999, PropertyIdentifier: applicationSoftwareVersion, PropertyValue: 0.0.20 10-12-2023 16:13:52 BACnetClientExample info: ReadPropertyMultiple message. originalInvokeId: 42, Device Instance: 389999, PropertyIdentifier: protocolRevision, PropertyValue: 19 10-12-2023 16:13:52 BACnetClientExample info: ReadPropertyMultiple message. originalInvokeId: 42, Device Instance: 389999, PropertyIdentifier: protocolServicesSupported, PropertyValue: b00000100001110111101100000100001111110100000