Updated for new Bluetooth compatible SDK (added GC prefix where needed and added CoreBluetooth framework).