Skip to content

TinyG reported an error reading '{"clr":null}' #8

@brettdaman

Description

@brettdaman

When I open tinyG in node on my rpi3 I immediately get 2 errors thrown from the tinyG.

error { [TinyGResponseError: TinyG reported an error reading '{"clr":null}': 100 (based on 13 bytes read)] name: 'TinyGResponseError', message: 'TinyG reported an error reading \'{"clr":null}\': 100 (based on 13 bytes read)', data: { r: { clr: null }, f: [ 1, 100, 13, 4451 ] } } error { [TinyGResponseError: TinyG reported an error reading '{"clr":null}': 100 (based on 13 bytes read)] name: 'TinyGResponseError', message: 'TinyG reported an error reading \'{"clr":null}\': 100 (based on 13 bytes read)', data: { r: { clr: null }, f: [ 1, 100, 13, 4451 ] } }

my code looks like this

` g.removeAllListeners();
g.on('error', function (error) {
console.log('error ');
console.log(error);

});
 g.open('/dev/ttyUSB0');`

So it is already from the first connection and after pressing the RESET button. I dont have the idea that it is doing something wrong but i would like to know what causes this and how to resolve

Kind regards and thx for this awesome project.

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