Move code for random tag to Bluetooth Thread