Buffer for bluetooth now working