This file contains 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 <CayenneLPP.h> | |
/** Buffer for Cayenne LPP formatter */ | |
CayenneLPP g_solution_data(255); | |
/** LoRaWAN application data buffer. */ | |
static uint8_t m_lora_app_data_buffer[256]; | |
/** Lora application data structure. */ | |
static lmh_app_data_t m_lora_app_data = {m_lora_app_data_buffer, 0, 0, 0, 0}; |
This file contains 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
// Define digital output UUID | |
#define OUTPUT_UUID 0x2A57 | |
/** Characteristic for digital output */ | |
BLECharacteristic *pCharacteristicOutput; | |
/** | |
* MyServerCallbacks | |
* Callbacks for client write requests | |
*/ |
This file contains 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
/** Patch for adding multi client subscriptions to NOTIFY and INDICATE | |
* All functions adapted to support data for up to 10 clients | |
* Check lines 23, 24, 25, 34, 35, 43, 44, 52, 53, 55, 57, 66, 67, 69, 71 | |
* for changes | |
*/ | |
/* | |
* BLE2902.cpp | |
* | |
* Created on: Jun 25, 2017 | |
* Author: kolban |