Question

I am using SIM908 (it includes a GPS and GSM modem in one module) to call someone. I issued the ATD command along with the phone number to call. Sometimes it will call, and in sometimes it wont.

I will get a "NO CARRIER" reply when the other end cuts the call after conversation or the device is not reachable/switched off.

I will get "BUSY" reply when the other end cuts the call while ringing.

My problem is, I want to distinguish whether the call is actually made or not. Since I am getting "NO CARRIER" for both, I can't use that as an indicator.

Anybody have an efficient way to detect whether the call is actually made or not.

Thanks in advance...

Était-ce utile?

La solution

In my experience with AT, there's no way to do that 'in runtime'. But you can check the 'response' RING from the console.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top