main/config.h

Mon, 17 Apr 2023 14:54:35 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 17 Apr 2023 14:54:35 +0200
changeset 31
ec5c7794dcd6
parent 30
7448b8dd4288
child 32
84e54b14e7db
permissions
-rw-r--r--

Added basic BLE code.

/**
 * @file config.h
 * @brief The 'iotbalkon' configuration data.
 */

#ifndef _CONFIG_H
#define _CONFIG_H

// Global includes for the project

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#include <errno.h>
#include <sys/unistd.h>
#include <sys/fcntl.h>
#include <sys/time.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "freertos/event_groups.h"
#include "freertos/queue.h"
#include "driver/gpio.h"
#include "driver/i2c.h"
#include "driver/ledc.h"
#include "esp_log.h"
#include "esp_system.h"
#include "esp_sleep.h"
#include "esp_timer.h"
#include "esp_app_desc.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_netif.h"
#ifdef CONFIG_ENABLE_BLE_GATT
#include "esp_bt.h"
#include "esp_gap_ble_api.h"
#include "esp_gatts_api.h"
#include "esp_bt_defs.h"
#include "esp_bt_main.h"
#include "esp_gatt_common_api.h"
#endif
#include "nvs_flash.h"
#include "lwip/err.h"
#include "lwip/sys.h"
#include "mqtt_client.h"

/*
 * esp-idf-lib
 */
#include <i2cdev.h>
#include <bmp280.h>
#include <ina219.h>
#include <apds9930.h>

/*
 * Application sources
 */
#include "task_bmp280.h"
#include "task_ina219.h"
#include "task_apds9930.h"
#ifdef CONFIG_ENABLE_BLE_GATT
#include "task_ble.h"
#include "ble_adv.h"
#include "ble_gap.h"
#include "ble_gatts.h"
#endif
#include "task_wifi.h"
#include "task_mqtt.h"
#include "task_out.h"
#include "xutil.h"
#include "nvsio.h"


#endif

mercurial