-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
* uuid command handling in agent not as expected #419
Comments
Can you send me the updated device XML file. It should have been rewritten.
Thanks
W
|
I observed that Device XML file is not rewritten instead i saw changes only in REST output. |
Set |
if When I refer to agent logs, looks like it is not able to identify data items but it is already defined in XML file. device XML :
Why agent is not able to identify SHDR data items when UUID changes ? |
Please attach or upload the Device xml. I want to see if the original ids are being serialized. |
Can you also attach or paste the shdr from the adapter. I want to see or check what's happening in the two. |
Attached a devices XML file : adapter SHDR : Thanks |
I'll test this, not sure what is going wrong. |
Few of the observation I found:
2.Adding
If above Thank you |
I'll check in the protocol comment for * uuid. I think I have enough to reproduce the issue. Thanks
|
@wsobel Based on my observation, it seems that the Agent is not handling the SHDR data properly when a new UUID is sent.
Should the agent ignore the UUID command, or should it consider it as a new device? |
It should ignore it. I’ll check to make sure that the new fix did not break something.
|
@wsobel
Thanks |
Reopening this issue to find problem. |
Made some final changes to support preserve uuid. was not setting preserve in the adapter config for associated device. |
@wsobel When I refer to agent logs, looks like it is not able to identify data items but it is already defined in XML file |
I was not getting that behavior. Can you upload them device xml, the log file, the cfg, and the adapter data. I tried with the previous data and it worked. |
@wsobel Attached xml file, cfg and adapter data for your reference
|
Checking this again with preserve uuid false. |
I want to change UUID in agent by sending
* uuid
command from the adapter as a part of SHDR stream.PreserveUUID
is set to false.I observed in REST output that
UUID
is changing, but none of the data items for the device is not getting recognized as belowI also observed that
UUID
is changed for first* uuid
command. Any repeated command with differentUUID
did not reflect in REST output.Agent configuration as below
I expected to change
UUID
based on the machine connected to. Adapter streams the uuid command whenever there is change in machine and UUID of that machine is reflected in REST output of agent.Is this a issue or expected behaviour?
Thanks
The text was updated successfully, but these errors were encountered: