Skip to content
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

[OTHER] Extra \" characters in connectorName, connectorVersion and connectorDownloadUrl #69

Open
2 tasks done
attkat opened this issue Mar 15, 2024 · 0 comments
Open
2 tasks done
Labels
help wanted Extra attention is needed needs investigation Further investigation is required

Comments

@attkat
Copy link

attkat commented Mar 15, 2024

Do I have a custom or modified version of the application?

  • Yes

Ewon Firmware Version

14.8s0

Application Version

1.4.1

Description

Hi,

this is not a real issue. However, I am just wondering, if there is a special reason, why some extra " character are added to the connectorName, connectorVersion and connectorDownloadUrl in the following code snippet?

/** Sends basic information about the connector and hardware to Cumulocity. */
public void sendInformationToCumulocity() {
// Get connector information for adding software/agent information
String connectorName =
""" + CConnectorMqttMgr.class.getPackage().getImplementationTitle() + """;
String connectorVersion =
""" + CConnectorMqttMgr.class.getPackage().getImplementationVersion() + """;
String connectorDownloadUrl = """ + CONNECTOR_DOWNLOAD_URL + """;

As a result, the c8y_Agent fragment of the device`s managed object will contain these extra " characters.

Thank you!
Best regards,
Attila

Additional Information

No response

Code of Conduct

  • I agree to abide by the Code of Conduct.
@attkat attkat added help wanted Extra attention is needed needs investigation Further investigation is required labels Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed needs investigation Further investigation is required
Projects
None yet
Development

No branches or pull requests

1 participant