Function sends AT command and return answer