src/withNuimo.js
function discoverServicesAndCharacteristics(error) {
      if (error) { return reject(error); }
      peripheral.discoverSomeServicesAndCharacteristics(
        ALL_SERVICES,
        ALL_CHARACTERISTICS,
        setupEmitter
      );
    }
function discoverServicesAndCharacteristics(error) {
      if (error) { return reject(error); }
      peripheral.discoverSomeServicesAndCharacteristics(
        ALL_SERVICES,
        ALL_CHARACTERISTICS,
        setupEmitter
      );
    }
function discoverServicesAndCharacteristics ( error ) { if ( error ) { return reject ( error ) ; } peripheral . discoverSomeServicesAndCharacteristics ( ALL_SERVICES , ALL_CHARACTERISTICS , setupEmitter ) ; }
discovers the sensor service and it's characteristics
@param {error}
discovers the sensor service and it s characteristics