First version of the code with BT recponding OK to AT