Skip to content

Negative integer set value #96

@petrosinoE80

Description

@petrosinoE80

Hey there, while testing the NuGet 1.3.8 update, I noticed that I'm no longer receiving messages with negative integers in the MQTT broker side.

Here's an example:

Metric metric = new()
{
	Name = "Test",
	Timestamp = timestamp_var
};

Int32 negativeInt = -1;

metric.SetValue(DataType.Int32, negativeInt);

In previous versions of the NuGet, I had a workaround where I casted the data to Float, but now I'm still not getting anything. Is this a known issue? Any possible solutions?

Thanks in advance for all the efforts you put into improving this fantastic NuGet.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions