import struct import time from bluetooth import * import _bluetooth as bt # check voice settings. switch to S16 LE mono 8kHz CVSD if needed hci_sock=bt.hci_open_dev() response = bt.hci_send_req(hci_sock, bt.OGF_HOST_CTL, bt.OCF_READ_VOICE_SETTING, bt.EVT_CMD_COMPLETE, 3) status, voice_setting = struct.unpack("