cllunlu
Member level 4
helping sms
hi friends
I am trying send sms with siemens c55 by pic 16f876.And I already sent sms with hyperterminal,ı know at command.My schematic link is below.plz help me.And can you edit my mistake.That is so emergency.thnks everbody
https://obrazki.elektroda.pl/15_1185282984.jpg
/////////////////////////////////////////////////////////////////////////////////
#include<iostream>
using namespace std;
#include <stdio.h>
#include<conio.h>
int main ( )
{
unsigned char no []="AT";
unsigned char mno []="+905429800033";
unsigned char mesaj_gonder[] = "AT+CMGS=19";
unsigned char mesaj[] = "0011000C910945447198660000FF05E8329BFD06";
Outp(no);
putchar(0x0D);
puts(mno);
putchar(0x0D);
puts(mesaj_gonder); //AT+CMGS=25
putchar(0x0D); // Enter tuşuna basılıyo
puts(mesaj); //Message in PDU format
putchar(0x1A); //Control-z tuşu
putchar(0x0D); // Enter tuşuna basılıyor
system("pause");
}
/////////////////////////////////////////////////////////////////////////////////////
hi friends
I am trying send sms with siemens c55 by pic 16f876.And I already sent sms with hyperterminal,ı know at command.My schematic link is below.plz help me.And can you edit my mistake.That is so emergency.thnks everbody
https://obrazki.elektroda.pl/15_1185282984.jpg
/////////////////////////////////////////////////////////////////////////////////
#include<iostream>
using namespace std;
#include <stdio.h>
#include<conio.h>
int main ( )
{
unsigned char no []="AT";
unsigned char mno []="+905429800033";
unsigned char mesaj_gonder[] = "AT+CMGS=19";
unsigned char mesaj[] = "0011000C910945447198660000FF05E8329BFD06";
Outp(no);
putchar(0x0D);
puts(mno);
putchar(0x0D);
puts(mesaj_gonder); //AT+CMGS=25
putchar(0x0D); // Enter tuşuna basılıyo
puts(mesaj); //Message in PDU format
putchar(0x1A); //Control-z tuşu
putchar(0x0D); // Enter tuşuna basılıyor
system("pause");
}
/////////////////////////////////////////////////////////////////////////////////////