Hello All,
I am new to the OAT. your help will be much appreciated.
Aim:
FXT009 Modem should receive a text message : +447412334056 (phone number)
I want to save that number into the memory, how to do that?
I tried flashwrite and flashread API’s but didnt work it.
I want to save that contact number into the phonebook using AT+CPBW=1, +447412334056
Read the saved contact number at location , perform different tasks on that phone number like smssend etc
I want to write and read upto 10 number, is it possible?
To write into the phonebook, I am using following command,
phonehandle1 = adl_atCmdSend((“AT+CPBW=55, +447412334056”),
( adl_atRspHandler_t ) phonewrite_handler1, “*”, NULL );
I want to make “55” and “+447412334056” as a variable, is it possible, what is the correct way to do that?
to read the phonebook, I am using following command,
phonehandle2 = adl_atCmdSend((“AT+CPBR=1”),
( adl_atRspHandler_t ) phoneread_handler1, “*”, NULL );
I want to make “1” as a variable, is it possible, what is the correct way to do that?
ca you please give more information, how it can be done using C string handlings.?
I tried to use “substr(rsp1, rsp, 9, 11);” this string function but in Dev Studio, gives error- Link error: undefined reference to `substr’ (I have included srting.h)