Core bluetooth demo code.