RUI3 (RAK Unified Interface 3) - RAK4631

Functions

String get ()
 
bool set (String version)
 

Detailed Description

Function Documentation

◆ get()

String get ( )
Description
This api allow user to get the cli version
Syntax
api.system.cliVersion.get() api.system.cliVer.get()
Returns
cli version(Type: String)
Example
    void setup()
    {
      Serial.begin(115200);
    }

    void loop()
    {
      Serial.printf("AT Command Version: %s\r\n", api.system.cliVersion.get().c_str());
      Serial.printf("AT Command Version: %s\r\n", api.system.cliVer.get().c_str());
      delay(1000);
    }

◆ set()

bool set ( String  version)
Description
This api allow user to set the cli version
Syntax
api.system.cliVer.set(version)
Parameters
versioncli version for user to be set(Type: String)
Returns
bool
Return values
TRUEfor successfully set cli version
FALSEfor set cli version fail
Example
    void setup()
    {
      Serial.begin(115200);
    }

    void loop()
    {
      String version = "your version"
      api.system.cliVer.set(version);
      delay(1000);
    }