UART socket conneciton

General discussion on mikroC.
Post Reply
Author
Message
coskunkazma
Posts: 34
Joined: 30 Aug 2011 07:03

UART socket conneciton

#1 Post by coskunkazma » 21 Feb 2012 15:13

Dear Friends

I am connecting (socket connection) to an away server with Telit GSM module via UART. By this connection, PIC18F46K22 SENDS data to server via GSM module. Therefore, UART RECEIVE interrupt does not work during socket connection. The question is How can I do.

Best Regards

User avatar
janko.kaljevic
Posts: 3565
Joined: 16 Jun 2011 13:48

Re: UART socket conneciton

#2 Post by janko.kaljevic » 22 Feb 2012 10:45

Hello,

Please notice that UART can transmit and receive simultaneously. All incoming data will be stored in appropriate register and flag will be set. This data will be available until user reads it from code.

Please notice that if you fill FIFO register no additional data will be received until you clear/read FIFO register. Please check device documentation regarding this.

Best regards.

Post Reply

Return to “mikroC General”