A sample app that has some basic functionalities for BT Classic and BLE. Peripheral functionalities are in progress.
The location permissions are needed for the BLE scanning operations. Not sure if this is a bug or if Google actually wanted to force having this permission enabled to do a BLE scan.
The following links might be useful for this issue: -> https://code.google.com/p/android/issues/detail?id=189090 and this -> https://code.google.com/p/android/issues/detail?id=196485