enque and deque functions for bluetooth queues