Skip to content

File Configuracion.h

FileList > firmware > Configuracion.h

Go to the source code of this file

Global configuration file for the Airlink project. More...

Macros

Type Name
define APN_NBIOT "iot.1nce.net"
Internet provider APN.
define HABILITAR_NBIOT 1
Uncomment to enable data transmission via NB-IoT.
define ID_USUARIO "AIRLINK\_01"
Device identification.
define SERVIDOR_API "/aqindoor"
API location for HTTP transmissions.
define SERVIDOR_IP "http://direccion.servidor.com"
Server IP where data will be sent.
define SERVIDOR_PUERTO "64340"
Server port.

Detailed Description

This file centralizes all options that can be adjusted to change the firmware behavior without modifying the source code.

Author:

[ALD-DSL/ATARI_RESEARCH_LAB]

Date:

[2024-07-22/2025-10-15]

Version:

2.0

Copyright:

GNU General Public License version 3 or later

Note:

Modify this file to change the program behavior without altering the main code.

Macro Definition Documentation

define APN_NBIOT

Internet provider APN.

#define APN_NBIOT `"iot.1nce.net"`

Enter the internet provider APN. Some providers do not require an APN to be entered.

Examples:

#define APN_NBIOT ""             // No APN
#define APN_NBIOT "iot.1nce.net" // 1NCE APN
#define APN_NBIOT "TM"           // ThingMobile APN

define HABILITAR_NBIOT

Uncomment to enable data transmission via NB-IoT.

#define HABILITAR_NBIOT `1`

Comment or uncomment these lines to include or exclude functionalities from the final program. This is useful to save memory and power if not all modules are used.


define ID_USUARIO

Device identification.

#define ID_USUARIO `"AIRLINK_01"`

Defines a unique ID for this device.


define SERVIDOR_API

API location for HTTP transmissions.

#define SERVIDOR_API `"/aqindoor"`


define SERVIDOR_IP

Server IP where data will be sent.

#define SERVIDOR_IP `"http://direccion.servidor.com"`


define SERVIDOR_PUERTO

Server port.

#define SERVIDOR_PUERTO `"64340"`



The documentation for this class was generated from the following file firmware/Configuracion.h