   blePeripheral.addAttribute(whistlepunkService);
   blePeripheral.addAttribute(valueCharacteristic);
   blePeripheral.addAttribute(configCharacteristic);
+  blePeripheral.addAttribute(versionCharacteristic);
+  versionCharacteristic.setValue(version);
 
   // assign event handlers for connected, disconnected to peripheral
   blePeripheral.setEventHandler(BLEConnected, blePeripheralConnectHandler);

#include "heartbeat.h"
#include "internal/ble_client.h"
#include "services/ble/ble_service_gap_api.h"
   
BLEPeripheral blePeripheral; // create peripheral instance
BLEService whistlepunkService("555a0001-0aaa-467a-9538-01f0652c74e8"); // create service
// Must be 20 char long to accomodate full-size messages.

const char *config = "                     ";
BLECharacteristic valueCharacteristic( "555a0003-0aaa-467a-9538-01f0652c74e8", BLENotify, value);
BLECharacteristic configCharacteristic("555a0010-0aaa-467a-9538-01f0652c74e8", BLEWrite, config);
const unsigned int version = goosci_Version_Version_LATEST;

BLEUnsignedIntCharacteristic versionCharacteristic("555a0011-0aaa-467a-9538-01f0652c74e8", BLERead);

String BleLongName = "Sci";
bool serialConnected = false;
