Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

SMSSend


Dams Jan 14, 2021 06:02 PM

Hi, 

I trying to use SMSSend function but the datalogger complilator refuse to process.
In CrBasic Editor, it is ok but when i send program in datalogger . I have some troubles like

"

line 13: SMSSend is not defined.
line 13: Dimensions not declared: Result= SMSSend( phone_number, Message )

"
My program is very simple :

Public phone_number As String * 30 = {""}
Public Message As String *100 = {""}
Public rec_time_stamp As String * 40 ={""}
Public Result As Long

'Main Program
BeginProg
phone_number ="+336xxxxxxxx"
Message = "Hello world"

Scan (1,Min,0,0)
Result= SMSSend( phone_number, Message )
Delay(0,10,Sec)
SMSRecv (phone_number, Message, rec_time_stamp)
NextScan
EndProg

I used CR310-CELL215 Datalogger and the last OS CR310-CELL215.Std.10.03

Thks, 

Damien


JDavis Jan 14, 2021 08:38 PM

Check the compiler version it shows at the bottom of CRBasic Editor when you compile.


Dams Jan 14, 2021 09:00 PM

Thks for your respons, I will check tomorrow, but the problem doesn't appear  when i compile with Crbasic editor but when i put the program inside my datalogger and he tries to compile.


Dams Jan 15, 2021 06:16 AM

this is compiler version VERSION:CR300.Std.10.00 DATE:03/04/2020
.


Dams Jan 15, 2021 02:03 PM

Hi,

Ok i find, i send the new OS from my datalogger not from .exe now all is OK.

Log in or register to post/reply in the forum.