Refactoring Arm BT send function