LoRa-BLE-Sensor
Loading...
Searching...
No Matches
Functions | Variables
main.c File Reference

This is the main file for the LoRa-BLE-Sensor project. It initializes the sensor app and starts the BLE thread. More...

#include <stdio.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/adc.h>
#include <zephyr/linker/linker-defs.h>
#include "sensor_app.h"
Include dependency graph for main.c:

Functions

 LOG_MODULE_REGISTER (MAIN)
 
int main (void)
 

Variables

sensor_app_config_t sensor_app_config
 

Detailed Description

This is the main file for the LoRa-BLE-Sensor project. It initializes the sensor app and starts the BLE thread.

Author
Tyler Garcia
Version
0.1
Date
2025-04-28

Variable Documentation

◆ sensor_app_config

sensor_app_config_t sensor_app_config
Initial value:
= {
.state = SENSOR_APP_STATE_CONFIGURATION,
.connect_network_during_configuration = 1,
.is_sensor_1_enabled = 0,
.sensor_1_voltage = SENSOR_VOLTAGE_OFF,
.sensor_1_type = NULL_SENSOR,
.sensor_1_type_name = "NULL_SENSOR",
.sensor_1_frequency = 0,
.is_sensor_2_enabled = 0,
.sensor_2_voltage = SENSOR_VOLTAGE_OFF,
.sensor_2_type = NULL_SENSOR,
.sensor_2_type_name = "NULL_SENSOR",
.sensor_2_frequency = 0,
}