Skip to content

Conversation

@julispace
Copy link

SPINE nodeManagementDetailedDiscoveryData messages may contain fields such as "description" or "label" with spaces in them e.g. https://github.com/enbility/devices/blob/main/elli/charger-connect-pro/discovery-data.json#L242

The devices-app can receive these messages perfectly fine but fails to forward them to the frontend due to this:

func (c *Cem) filterSpineLogs(msg string) {
	parts := strings.Split(msg, " ")
	if len(parts) != 3 {
		return
	}
        ....

The frontend throws an error when attempting to parse the incomplete messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant