Skip to content

Freematics Build won't deploy the code #203

@EduardoV-V

Description

@EduardoV-V

Hello. I'm trying to deploy the "datalogger" code into my freematics one+, but I receive the error message "Uploading not successful (Error code: -4)" in the freematics builder, and the error below in the console:

C:\Users\Eduardo\AppData\Local\Temp/FreematicsBuilder/datalogger.ino.cpp: In function 'void loop()':
C:\Users\Eduardo\AppData\Local\Temp/FreematicsBuilder/datalogger.ino.cpp:1849:47: error: 'OBD_RETRY_INTERVAL' was not declared in this scope
C:\Users\Eduardo\AppData\Local\Temp/FreematicsBuilder/datalogger.ino.cpp:1849:47: note: suggested alternative: 'TCP_TMR_INTERVAL'
C:\Users\Eduardo\AppData\Local\Temp/FreematicsBuilder/datalogger.ino.cpp:1927:37: error: 'STATS_INTERVAL' was not declared in this scope
C:\Users\Eduardo\AppData\Local\Temp/FreematicsBuilder/datalogger.ino.cpp:1927:37: note: suggested alternative: 'STATS_INC_USED'

I've looked around, but didn't found anyone with this same error, so I'm really confused on what to do now. Also, opening the datalogger.ino file in vscode shows me that most of the headers are missing.

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