working bluetooth pairing and message passing