RUTOS SDK Usage Examples: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
Line 10: Line 10:


To change the default configuration and/or parameters of the services and features related to the '''/etc/config/network''' file, it is required to make direct appends to the script itself that generates the '''/etc/config/network''' file. The script that generates the '''/etc/config/network''' file is located in the '''/package/base-files/files/bin/config_generate''' directory.
To change the default configuration and/or parameters of the services and features related to the '''/etc/config/network''' file, it is required to make direct appends to the script itself that generates the '''/etc/config/network''' file. The script that generates the '''/etc/config/network''' file is located in the '''/package/base-files/files/bin/config_generate''' directory.
==Changing the default Mobile configuration==
The “Mobile” parameters that we will be pre-configuring in the SDK:
* Custom APN
* PAP authentication method

Revision as of 09:36, 9 January 2023

The information in this page is updated in accordance with firmware version 00.07.03.1.

Introduction

A software development kit (SDK) is a set of software development tools that provides the possibility to create applications for a certain software package, software framework, computer system or similar development platform.

This article will show you how to use the SDK to modify the default configuration of Teltonika devices, using the RUT955 as an example. These guidelines also apply to other Teltonika Networks devices running RUTOS firmware.

Changing the default Network settings

Network related settings are generally saved in the /etc/config/network .config file which is generated during the first-boot of the device by the config_generate script.

To change the default configuration and/or parameters of the services and features related to the /etc/config/network file, it is required to make direct appends to the script itself that generates the /etc/config/network file. The script that generates the /etc/config/network file is located in the /package/base-files/files/bin/config_generate directory.

Changing the default Mobile configuration

The “Mobile” parameters that we will be pre-configuring in the SDK:

  • Custom APN
  • PAP authentication method