Using the DeviceOS built-in BLE service for setup

Another option for configuring using WebBLE is this. It also works with the P2/Photon 2.