|
atf("ate1\r\n",2,100); //echo on
atf("atq0\r\n",2,100); //return op.result code
atf("ats0=0\r\n",2,100); //no autoanswering
atf("ats7=060\r\n",2,100); //"no answer timeout" = 60 s
atf("ats18=1\r\n",2,100); //detailed error rep after data call
atf("at+cbst=7\r\n",2,100); //9600 baud V32 data call
atf("at+clip=1\r\n",2,100); //caller line identification presentation
atf("at+crlp=61,61,100,20\r\n",2,100); //radio link protocol params (interworking wind size,mobile w.s., ack timer in 10 ms, retransmission attempts)
atf("at+csns=4\r\n",2,100); //default data call
atf("atx4\r\n",2,100); //return if CONNECT,NO DIALTONE,BUSY
atf("at+vtd=2\r\n",2,100); //dtmf duration = 0.2 s
atf("at+cmgf=0\r\n",2,100); //PDU mode in SMS receiving
atf("at+cnmi=3,1,0,0,1\r\n",4,100); //incoming sms notification
atf("at&w\r\n",2,100); //save parameters
E-mail: info@telesys.ru