Intermec CN50 WWAN Toolkit Programmer's Reference Manual - Page 28

SMS Related Features, Set the SMS Service Center Number on the SIM Card, Send an SMS Message

Page 28 highlights

SMS Related Features This section describes all SMS related functions. Set the SMS Service Center Number on the SIM Card Description: This function sets the SMS service center number, which is commonly predefined on the SIM card. Note: The functions below are not supported on CDMA networks. Method: Return Value: BOOL SetSMSCentre( LPCTSTR SMSCentreNumber ) The function returns a Boolean TRUE if successful or a Boolean FALSE if not. Parameter Descriptions Parameter SMSCentreNumber Description String containing the telephone number of the SMS Center. It must be in the full international number format, such as +441189876543. Get the SMS Service Center Number From the SIM Card Description: This function gets the SMS service center number from the SIM card. Note: The functions below are not supported on CDMA networks. Method: Return Value: LPCTSTR GetSMSCentre() The function returns a string value of the SMS service center number set on the SIM card. Send an SMS Message Description: Method: This function sends an SMS message to another mobile device. BOOL SendSMS(LPCTSTR SmsCentre, LPCTSTR PhoneNumber, LPCTSTR SmsData ) Return Value: The function returns a Boolean TRUE if successful or a Boolean FALSE if not. Parameter Descriptions Parameter SMSCentre PhoneNumber Description String containing the telephone number of the SMS Center. It must be in the full international number format, such as +441189876543. String containing the number of the GSM mobile device to receive the message. The number can be a normal phone number or an international format number. 28 WWAN Toolkit Programmer's Reference Manual

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56

28
WWAN Toolkit Programmer’s Reference Manual
SMS Related Features
This section describes all SMS related functions.
Set the SMS Service Center Number on the SIM Card
Description:
This function sets the SMS service center number, which is commonly predefined on
the SIM card.
Method:
BOOL SetSMSCentre( LPCTSTR
SMSCentreNumber
)
Return Value:
The function returns a Boolean TRUE if successful or a Boolean FALSE if not.
Get the SMS Service Center Number From the SIM Card
Description:
This function gets the SMS service center number from the SIM card.
Method:
LPCTSTR
GetSMSCentre()
Return Value:
The function returns a string value of the SMS service center number set on the SIM
card.
Send an SMS Message
Description:
This function sends an SMS message to another mobile device.
Method:
BOOL SendSMS(LPCTSTR
SmsCentre
,
LPCTSTR
PhoneNumber
, LPCTSTR
SmsData
)
Return Value:
The function returns a Boolean TRUE if successful or a Boolean FALSE if not.
Note
: The functions below are not supported on CDMA networks.
Parameter Descriptions
Parameter
Description
SMSCentreNumber
String containing the telephone number of the SMS Center. It
must be in the full international number format, such as
+441189876543
.
Note
: The functions below are not supported on CDMA networks.
Parameter Descriptions
Parameter
Description
SMSCentre
String containing the telephone number of the SMS Center. It
must be in the full international number format, such as
+441189876543
.
PhoneNumber
String containing the number of the GSM mobile device to
receive the message. The number can be a normal phone number
or an international format number.