Skip to content

Instantly share code, notes, and snippets.

"" Custom vim settings
"No need to be vi compatible.
:set nocompatible
"Searching
:set incsearch "Turn on incremental searching
:set ignorecase "Ignore case when searching
:set smartcase "Ignore case when typing lowercase,
"otherwise match case
/**
* This sketch is the BLE GATT client for a halloween costume.
* For more information on the project, check this post:
* https://jcjc-dev.com/2019/11/11/esp32-arduino-bluetooth-halloween-costume/
*
* Author: Juan Carlos Jimenez Caballero
*
* License: Fully Open Source. Use at your own peril
* This firmware uses code found in Aruino's ESP32 BLE GATT example, and some
* snippets from other unlicensed open source projects
/*
* This sketch is the BLE GATT server for a halloween costume.
* For more information on the project, check this post:
* https://jcjc-dev.com/2019/11/11/esp32-arduino-bluetooth-halloween-costume/
*
* Create a BLE server that, once we receive a connection, will poll a button and
* an accelerometer. If the button is pressed or the device is moved abruptly,
* the device will send a notification to the BLE clients.
*
* The service advertises itself as $BLE_STORM_SERVICE_UUID