Skip to content

How to call CCLK function #9

@JimKruk

Description

@JimKruk

I bought this board SparkFun LTE GNSS Breakout - SARA-R5 GPS-18031, and I am trying to get the clock information (CCLK). In this file: SparkFun_u-blox_SARA-R5_Arduino_Library.h line 82 I found this line under Supported AT Commands:
const char SARA_R5_COMMAND_CLOCK[] = "+CCLK"; // Real-time clock

In this file: SparkFun_u-blox_SARA-R5_Arduino_Library.cpp around line 748 I see a clock function, "String SARA_R5::clock(void)" but cannot figure how to make the call using Arduino code and was wondering if someone could provide some sample code how to call the clock function and get the time back ?
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions