i'm working on an embedded application on a µc infineon XE167.
I have to develop a layer wich will be able to manage the communication between the µc and a GSM modem using the RTS/CTS flow control. (the object is to send and receive SMS).
In my logic the µc must be the DTE, isn't it ??
i almost understand the one way of controlling the flow :
when the µc want to send :
1- set RTS
2- wait for CTS
3- If CTS = 1 ==> send Data (byte by byte) until data is totaly sent. (sending bytes is already functional)
4- If the CTS = 0 at the middle of transmitting ==> stop sending
5- at the end : Clear RTS.
Is it true ??
for reception i didn't find the logic steps to follow.
have u an idea ??
thx
)