title: Scanning BLE peripheral and connecting to it
body: <p>Fairly new to BLE and coding mobile apps in general. I've tried several demos and came across this <a href="https://github.com/RickRedSix/BLE4.0-iOS-Swift-Demo" rel="nofollow noreferrer">https://github.com/RickRedSix/BLE4.0-iOS-Swift-Demo</a> 
  Problem is that it doesn't connect to my BLE device, so I assume it only scans for the BLE device creator had at the time so I always get the error "can only accept this command while in the powered on state". Is there any part in the code I need to change to make it scan another peripheral? Do I need to specify my device's UUID, MAC address, or other unique information somewhere?</p>
  
  <p>Appreciate any help on this problem</p>