Bluetooth Scan and Pairing Sample

Looking for sample code to show scanning BT barcode and pairing with BT device.  This is for the MC40/ET1.