added error callback to report when CBCentralManagerState is not PoweredOn when calling scanForPeripherals