Bluetooth example provide by professor Pedro Paulo from BEPiD Senac-SP.