Code that has not changed now gets lots (27) compile errors.
I went back and tried the original example code (SimpleChat) I used as a starting point for my code and now it also fails.
What was changed last night?
Here are samples of the new errors from the SimpleChat example code for the RedBear Duo.
Link to example code: https://github.com/redbear/STM32-Arduino/tree/master/arduino/libraries/RedBear_Duo/examples/03.BLE/SimpleChat
You will need to comment out these lines as the Particle pre-processor does not like them.
//#if defined(ARDUINO)
//SYSTEM_MODE(SEMI_AUTOMATIC);
//#endif
simplechat.cpp:77:30: error: variable or field ‘deviceConnectedCallback’ declared void
void deviceConnectedCallback(BLEStatus_t status, uint16_t handle);
simplechat.cpp:77:59: error: expected primary-expression before 'handle’
void deviceConnectedCallback(BLEStatus_t status, uint16_t handle);
simplechat.cpp:80:37: error: variable or field ‘characteristic2_notify’ declared void
static void characteristic2_notify(btstack_timer_source_t *ts);