How to identify incoming call number in OpenAT appliction


#1

How to check incoming call phone number (CLIP) while running in opeanAT application.
I have enabled modem with at+clip=1;&w before starting the application.
I am receiving incoming number when i work data call through at commands but while running openat application i am not getting incoming number.
Which function is related to this in ADL user guide for Q24plus.

I want to answer to some specified phone numbers only in my application

Any suggestion Please


#2

See: viewtopic.php?f=23&t=3570&p=13618&hilit=caller’s+numberI#p13618


#3

Thankyou awneil i got the related information from the link given by you.

I will try with AT+CLCC from my application to track the incoming phone numbers.

Thankyou


#4

Can i use “+CLIP” unsolicited command string for adl_UnSoSubscribe()


#5

Is there anything in the ADL User Guide to suggest that you can’t…?


#6

i check in the document +CMTI is not in the list of unsolicited cmd string of adl_UnSoSubscribe().

Please see the list below

  typedef enum
  {
  ADL_STR_NO_STRING, // Unknown string
  ADL_STR_OK, // "OK"
  ADL_STR_BUSY, // "BUSY"
  ADL_STR_NO_ANSWER, // "NO ANSWER"
  ADL_STR_NO_CARRIER, // "NO CARRIER"
  ADL_STR_CONNECT, // "CONNECT"
  ADL_STR_ERROR, // "ERROR"
  ADL_STR_CME_ERROR, // "+CME ERROR:"
  ADL_STR_CMS_ERROR, // "+CMS ERROR:"
  ADL_STR_CPIN, // "+CPIN:"
  ADL_STR_LAST_TERMINAL, // Terminal resp. are before this line
  ADL_STR_RING = ADL_STR_LAST_TERMINAL, // "RING"
  ADL_STR_WIND, // "+WIND:"
  ADL_STR_CRING, // "+CRING:"
  ADL_STR_CPINC, // "+CPINC:"
  ADL_STR_WSTR, // "+WSTR:"
  ADL_STR_CMEE, // "+CMEE:"
  ADL_STR_CREG, // "+CREG:"
  ADL_STR_CGREG, // "+CGREG:"
  ADL_STR_CRC, // "+CRC:"
  ADL_STR_CGEREP, // "+CGEREP:"
  // Last string ID
  ADL_STR_LAST
  } adl_strID_e;

So i asked?


#7

Do you see any reason why you cant just use “+CLIP” as the argument for the string mentioned above?


#8

But the document doesn’t say that those are the only responses that can be used, does it?
Read it again, carefully:

In other words, you can use an item from adl_rspID_e, if you wish, but you do not have to!


#9

I dn’t find this topic in my doc my doc is “ADL USER GUIDE FOR OPEN AT OS V3.13” MAY-3-2007 REV 011 YOURS? I am in traveling and browsing thro phone so plz donot mind for mistype & late reply


#10

In my documentation it just points to the adl_strID enumeration

ok, my doc is “ADL User Guide for Open AT® OS v6.30”
so i was referring to newer documentation.

please make sure your documentation says something along the same lines.


#11

But if you look at the description in your document for adl_atUnSoSubscribe in your document, it will contain the correct cross reference for your document.

But, as already noted, it is just a cross-reference to the section about adl_strID - and you don’t want that, do you?

What you want is the string version


#12

I understood finally the function what the parameter it wants actually just a unsolicited command strings like “+WIND: 4”,"+CLIP" etc. right?

Thank you Awneil


#13

Yes; a string - just like it says!


#14

Note that they are Unsolicited Responses - not commands! 8)

  • Commands are what you send to the modem;
  • Responses are what you receive from the modem.