akilleuz
Junior Member level 1
ericsson t10 rs232
Hi
I have a really strange problem controling my T10s with a MCU.
I seems like i cant delete any messages on the phone.
I have connected the phons Pin 11 and 9 directly to Pin D0 an D1 on my Mega16.
Here is my little test program for deleting an sms:
Here is the function parameters for my UART:
i have tried different BaudRates and Paritets, but nothing seems to work.
Hi
I have a really strange problem controling my T10s with a MCU.
I seems like i cant delete any messages on the phone.
I have connected the phons Pin 11 and 9 directly to Pin D0 an D1 on my Mega16.
Here is my little test program for deleting an sms:
Code:
#define PORT PORTC
#define DDR DDRC
unsigned char ATEO[] = "ATEO";
unsigned char Delete[] = "AT+CMGD=1"; //Deleteing SMS in index 1
unsigned char Memory[] = "AT+CPMS=\"SM\"";
void main()
{
delay_ms(1000);
DDR = 0b1;
InitUART(9600, 4000000, 8, 0);
delay_ms(1000);
DDR = 0b0;
puts(ATEO);
putchar(0x0d);
delay_ms(1000);
DDR = 0b1;
delay_ms(1000);
DDR = 0b0;
puts(Memory);
putchar(0x0d);
delay_ms(1000);
DDR = 0b1;
puts(Delete);
putchar(0x0d);
delay_ms(1000);
DDR = 0b0;
delay_ms(1000);
DDR = 0b1;
}
Here is the function parameters for my UART:
Code:
void InitUART( unsigned long BaudRate, unsigned long XTALFrekvens, unsigned char DataBit, unsigned char Paritet )
i have tried different BaudRates and Paritets, but nothing seems to work.