Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
MDM.send('AT+CSCA='+csca+'\r',2)
MDM.send('AT+CMGF=1\r',2)
# New Message Indications: Buffer unsolicited result codes in the TA in case the DTE is busy and flush them to the TE after reservation. Otherwise forward them directly to the TE.
MDM.send('AT+CNMI=2,1\r',2)
# Set Text Mode Parameters: outgoing message with 24 hours of validity period and default properties
MDM.send('AT+CSMP=17,167,0,0\r',2)
a = MDM.send('AT+CMGS="' + number + '"\r', 2)
res = MDM.receive(10)
a = MDM.send(smstext, 2)
a = MDM.sendbyte(0x1A, 2)
a=''
Пишем первую простую прошивку для Telit