To get Espruino(ESP32) compiled with USE_BLUETOOTH=1 changed this
added includes to bluetooth.h #include "jsutils.h" #include "jsvar.h"
added variables in bluetooth.c, I'm pretty sure there's a better way, but to avoid side conflicts, ...
volatile BLEStatus bleStatus;
uint16_t bleAdvertisingInterval;
volatile uint16_t m_conn_handle;
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
To get Espruino(ESP32) compiled with USE_BLUETOOTH=1 changed this
added includes to bluetooth.h
#include "jsutils.h"
#include "jsvar.h"
added variables in bluetooth.c, I'm pretty sure there's a better way, but to avoid side conflicts, ...
volatile BLEStatus bleStatus;
uint16_t bleAdvertisingInterval;
volatile uint16_t m_conn_handle;