Finished the pairing, with a function to get the MAC address automatically