This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include "freertos/FreeRTOS.h" | |
#include "freertos/task.h" | |
#include "esp_log.h" | |
#include "usb/usb_host.h" | |
usb_host_client_handle_t client_hdl; | |
uint8_t dev_addr = 2; | |
usb_device_handle_t dev_hdl; | |
TaskHandle_t async_task_handle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file iot_demo_afr.c | |
* @brief Generic demo runner for C SDK libraries on Amazon FreeRTOS. | |
*/ | |
/* The config header is always included first. */ | |
#include "iot_config.h" | |
#include <string.h> | |
#include "aws_clientcredential.h" |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 6 columns, instead of 2 in line 1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Name, Type, SubType, Offset, Size, Flags | |
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild | |
nvs, data, nvs, 0x9000, 0x6000, | |
phy_init, data, phy, 0xf000, 0x1000, | |
factory, app, factory, 0x10000, 3M |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* BLEScan.cpp | |
* | |
* Created on: Jul 1, 2017 | |
* Author: kolban | |
*/ | |
#include "sdkconfig.h" | |
#if defined(CONFIG_BT_ENABLED) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A BLE client example that is rich in capabilities. | |
*/ | |
#include "BLEDevice.h" | |
//#include "BLEScan.h" | |
// The remote service we wish to connect to. | |
static BLEUUID serviceUUID("91bad492-b950-4226-aa2b-4ede9fa42f59"); | |
// The characteristic of the remote service we are interested in. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* OTA example | |
This example code is in the Public Domain (or CC0 licensed, at your option.) | |
Unless required by applicable law or agreed to in writing, this | |
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | |
CONDITIONS OF ANY KIND, either express or implied. | |
*/ | |
#include <string.h> | |
#include <sys/socket.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <BLEDevice.h> | |
#include <BLEUtils.h> | |
#include <BLEServer.h> | |
#include "BLE2902.h" | |
#include "BLEHIDDevice.h" | |
#include "HIDTypes.h" | |
#include <driver/adc.h> | |
static BLEHIDDevice* hid; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Espressif IoT Development Framework Configuration | |
# | |
# | |
# SDK tool configuration | |
# | |
CONFIG_TOOLPREFIX="xtensa-esp32-elf-" | |
CONFIG_PYTHON="python" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Espressif IoT Development Framework Configuration | |
# | |
# | |
# SDK tool configuration | |
# | |
CONFIG_TOOLPREFIX="xtensa-esp32-elf-" | |
CONFIG_PYTHON="python" |