Skip to content

_time or _timestamp in InfluxData.h #13

@EcceRobot

Description

@EcceRobot

There is a little mismatch between the variables name here:

void setTimestamp(long int seconds)
{
_timestamp = " " + String(seconds) + "000000000";
}`

String toString() const { return _measurement + _tags + _values + _time; }

private:
String _measurement;
String _tags;
String _values;
String _timestamp;
};

I solved changing from _time to _timestamp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions