Manual Smsc Sdk

116
*HWWLQJ6WDUWHG 606& &RQQHFWLYLW\ 6'. getting started &RS\ULJKW'HUGDFN*PE+$OOULJKWVUHVHUYHG

Transcript of Manual Smsc Sdk

Page 1: Manual Smsc Sdk

�������������

���� ����������� �����

getting started

����������� �� �����������������������������

Page 2: Manual Smsc Sdk

���������

������������������� � ��

����������������������������� ����������������������������������������������������������������������������

������������������ ��������������������������������������������������������������� !

����������������� ������������������������������������������������������������������������������� !

"������� ����������������������������������������������������������������������������������������� !

���������������������� ��������������������������������������������������������������� !

����������#���������������������������������������������������������������������� $

������������������������������������������������������������������������������������ %

&����������������������'(� ������������������������������������������������������������ %

&����������������������)(� ������������������������������������������������������������ %

*������������������������������������������������������������������������������������������������ +

������������� ���������� ����� ����������������������� '��������� ����� �������������������������������������������������������������������������������������� '�

,�-����������������������������������������������������������������������������������������� '�

����#�������������������������������������������������������������������������������������������� '.

��/���#����� ���������������������������������������������������������������������������������� '.

������� ������ ������������������������������������������������������������������������������������ '0

*����������/������������������������������������������������������������������������������������ '0

,���������������"����������������������������������������������������������������� '0

1�� ������������� �������������������������������������������������������������������������� '0

2��������//��������� ��������������������������������������������������������������������� '

3�������������������������������������������������������������������������������������������� '!

3������������������������������������������������������������������������������������������������ '!

����������!������� ������ ������������������������������������� '%

"���#���� $�������� ��� ��������������������������������������������������������������������� '%

4�5����/��������/��� ��������������������������������������������������������������� '%

Page 3: Manual Smsc Sdk

���������

������������������� � �.

��55����/��������/��� ������������������������������������������������������������ �$

�6������/��������/��� ������������������������������������������������������������ .!

�7� �����/��������/��� ����������������������������������������������������������� 0

"���%�&���� ������������������������������������������������������������������������������������� .

4�5���5���/����������������������������������������������������������������������������� .

��55���5���/��� �����������������������������������������������������������������������

�6�����5���/��� ����������������������������������������������������������������������� $

�7� ����5���/��� ���������������������������������������������������������������������� +

�������#�������'���������'���������������� ���������������������������������������������������������������������������������������� !�

���������������������� ����������������������������������������������������������������� !�

4�5��������8�����������/�/������ ������������������������������������������� !�

��55��������8�����������/�/����������������������������������������������� !+

�6����������8�����������/�/����������������������������������������������� $%

�7� ���������8�����������/�/���������������������������������������������� %!

����������� ��������������������������������������������������������������������������������������� +�

������������/������ ������������������������������������������������������������������ +�

���������/��� ��������������������������������������������������������������������������������� +.

�"����(������������ ������������������������������������������������������������������������� +.

� �&����� ����������� ����������������������������������������������������������������������� +0

4�5���������� ��������������������������������������������������������������������������� +0

��55����������������������������������������������������������������������������������� +0

�7� ����������������������������������������������������������������������������������� +

�6������������9���������#�������������������������������������������� +%

������#�����)����(� �������������������������������������������������������� ++

������#�������)���������*������� ������������ ')'

+�������������������������������������������������������������������������������������������������� ')'

+���%,��������(� ����������������������������������������������������������������������������� ')'

Page 4: Manual Smsc Sdk

���������

������������������� � �0

+�"�&��������*� ��� ��������������������������������������������������������������������������� ')�

- ������ ����������������������������������������������������������������������������������������������� ')0

����. ����������������������������������������������������������������������������������������������������� �''�

Page 5: Manual Smsc Sdk

���������������� ���

������� ���������� ��

����������� �������,� ����/��� ����:������������������#������������������������������;

���,� �

� :�����������������/������������5�����#����������������������������������#���

��:������������������������������������#�����#��������

� :�����������#����������������/�����

/��� ����

$� �� 2������/������������������<����8�����������������

Page 6: Manual Smsc Sdk

��� ��������

������� ���������� � �

������������� �������

1. 1. SMS messaging�������������

Overview

SMS messaging is experiencing an increasing popularity and usa-ge all over the planet and is certainly the most successful form ofmobile data communication. ������������������������ �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� ���������

1. Sending SMS messages using modem/ISDN dial-up facilities

2. Sending and receiving SMS using GSM hardware

3. Sending and receiving SMS using direct SMSC links

The SMSC Connectivity SDK supports the third option which is themost powerful as it provides the highest delivery speed and thehighest transfer rate for bulk SMS messaging.

Direct SMSC connections�����������������������

Due to the growing importance of SMS messaging and the de-mand for mobile availability of data more and more companies re-quest high volume messaging solutions. That requires specialconnections to the network operators. A growing number of GSMnetwork carriers provide ����������������� (sometimes referredto as ‘Large customer accounts’) and also so-called virtual SMSC(VSMSC). A direct or dedicated SMSC connection has several bigadvantages over using public dial-up facilities or SMS messagingbased on GSM devices. Above all: speed. A �����or ��� ��SMSClink (either over the Internet or a leased or dial-up line to the SM-

Page 7: Manual Smsc Sdk

��� ��������

������� ���������� � �

SC) can handle up to �����!"�"""�messages per hour. The limitis only set by the capabilities of the network carrier’s internal SMSinfrastructure and the capacity the operator assigned to the custo-mer. The connection type (X.25, X.31, TCP/IP) depends on theused SMSC infrastructure, i.e. the GSM network operator. TheSMSC infrastructure also determines the communication protocol,i.e. #��$�����$������%�����&��������.

When getting a direct SMSC link a GSM network operator will as-sign a so-called �������� to you. This short id can be used to recei-ve SMS messages within this particular network. Any messagesent to this short id within the same GSM network will be deliveredto your application. However, access to the short id is limited to theconnected GSM network. Thus, you require a single SMSC link toevery GSM network you wish to receive SMS messages in. Sen-ding messages however to foreign network is usually possible, butsometimes limited due to missing or cancelled roaming agree-ments between operators.

Advantages of direct SMSC links'�(���������)������������������

A direct SMSC link for SMS messaging offers a wide range of ad-vantages. It is basically the best way for doing SMS messaging.Here is a list of the major advantages:

1. High reliability

2. Highest performance possible

3. Two-way messaging possible

4. All SMS messaging options available

5. None-text SMS messages are possible

6. Sender address for SMS messages can be manipulated

7. Full support of delivery notifications

8. Usually low cost per SMS

Page 8: Manual Smsc Sdk

��� ��������

������� ���������� � �

1. 2. The SMSC Connectivity SDK

�������� �����(��*���+

What is new in version 2.1?

,���-����.����(���������!/

Version 2.1 of the SMSC Connectivity SDK provides a small butuseful set of new features:

- Support for fully automated keep alive command submission for UCP, SMPP and CIMD2

- Message length validation (important for Escape sequences, i.e. special characters)

- Special character support (Escape sequences) in UCP, SMPP and CIMD2

- Setting a specific property for enabling escape sequences for special characters is obsolete, escape sequences are enab-led by default

Version 2.1 also comes with a new licensing model. Now, eachprotocol can be licensed separately at a convenient price. Thus,pricing adapts to your actual requirements.

What is new in version 2.0?,���������.����(���������"/

Version 2.0 of the SMSC Connectivity SDK comes now with addi-tional connectivity protocols: ���� and �����%�.

With version 2.0 it is possible to send EMS over all four protocols:

- UCP SMPP CIMD2 Sema OIS.

EMS allows the user to send very long messages, formatted text,pictures, melodies etc.

- The validity period for SMPP is already adjustable.- The SMPP component can connect as "receiver only" using

the new interface method "SMSCBindEx" .- The realization of the UCP protocol is compatible also with

version 4.0. - It is possible to send UNICODE (option 64) blinking (option 4)

messages by using option 68.

Page 9: Manual Smsc Sdk

��� ��������

������� ���������� � �

Features

0�������The SMSC Connectivity SDK is a powerful tool enabling rapid de-velopment of SMS messaging applications. It saves a lot of timewhen developing messaging applications as it completely encap-sulates the socket connection and the SMSC protocol connectionstack. The SMSC Connectivity SDK combines four COM compon-ents into one single file. All components (for UCP, SMPP, SEMAand CIMD2 SMSC connections) offer a COM developer interface.

Supported connection types

����������������������* ���

The SDK supports both X.25 and TCP/IP connections. The wayyou establish the TCP/IP connection does not matter (e.g. if youhave a direct leased line to the operator or using the public Inter-net).

Supported SMSC protocols

������������������������

The SDK currently supports UCP version 4 or lower (protocol forLogicaCMG SMSCs), SMPP version 3.4 or lower (protocol for Lo-gicaCMG, Comverse and other SMSCs), Sema OIS version 8.1and CIMD2 1.2 (Nokia SMSCs).

General messaging features

1���������� �������)�� �����

The SDK provides the following functionality for SMPP, UCP,SEMA and CIMD2-based SMSC connections:

1. COM compliant, single-file SMSC Connectivity SDK

2. High-speed sending and receiving of SMS messages

3. Support for 7bit text messages

4. Support for 8bit binary messages

5. Support for 16bit Unicode (UCS2) character SMS

6. Support for EMS, logos, graphics and ringing tones

7. Messages containing User Data Header

8. Delivery notifications

8. Direct display/flash SMS

10. Deferred/scheduled delivery of SMS

11. Validity of SMS can be configured

12. Alphanumeric sender ids

Page 10: Manual Smsc Sdk

��� ��������

������� ���������� � �

13. Automated keep alive functionality

14. .NET compliance (can be used within .NET projects)

15. Can be used within Active Server Pages (ASP)

16. Server sockets for UCP (e.g. required for Swisscom and otheroperators)

17. Transmitter/receiver only and pair SMSC links supported forSMPP

18. Customizable character translation tables

19. Unicode support (Chinese, Arabic, etc.)

Supported UCP operations

����������#���������� ���

The SDK supports EMI UCP implementations of version 4 or lo-wer. It supports the following UCP operations:

1. Operation 60 for SMSC authentication

2. Operation 51 for submitting messages

3. Operation 52 and 01 for receiving messages

4. Operation 53 for delivery notifications

5. Operation 31 for enquire link (keep alive) used for SMSC linkmaintenance

Supported SMPP operations

�������������������������

The SDK supports Logica’s SMPP version 3.4 or lower. It supportsthe following SMPP commands:

1. BIND_TRANSMITTER for SMSC authentication

2. BIND_RECEIVER for SMSC authentication

3. BIND_TRANSCEIVER for SMSC authentication

4. UNBIND for disconnecting from the SMSC

5. SUBMIT_SM for submitting SMS and notifications

6. DELIVER_SM for receiving SMS and receiving delivery notifica-tions

7. QUERY_SM for querying the status of SMS

8. ENQUIRE_LINK for maintaining the SMSC link

9. GENERIC_NACK for refused SMPP commands

Page 11: Manual Smsc Sdk

��� ��������

������� ���������� � ��

Supported SEMA operations

�����������2�'�����������

1. Login: Login to the SMSC

2. Submit: Sending messages

3. Receive: Receiving short messages, status reports and statusnotifications

� The Sema Protocol is only implemented for connectionsover X.25 using IA5 encoding.

Supported CIMD2 operations

�������������������������

1. Operation 01 and 02 for SMSC authentication

2. Operation 03 for submitting messages

3. Operation 20 and 01 for receiving messages

4. Operation 04 and 23 for delivery notifications

5. Operation 40 and 90 for enquire link (keep alive) functionality

� The SDK has been developed in C++ and guarantees avery high performance. However, the actual performance (messa-ge transfer rate) you can achieve will always depend on your localGSM network operator and the implementation of your custom ap-plication.

Page 12: Manual Smsc Sdk

���� �������� �� ����!����� �

������� ���������� � �"

�������������������������������� ���

���������������

�����������

����������� ���������� ������� ���� ����������� �����������!��!��������#��$��� %�� ������������� ����#��������&����� ����!!��'

(��������' (� �������!��������)!���� %�������' * �����+,�-. �/�(�0����" 1�" 2����3(������' �-��4�56��������7' ���4��#������8���������7��!�������' ��$5)������9�$5)������

:����� ��� %�������������#���;��� �����7��!��������������������$�����������% ����� ���������� ��!������.�,���!�����������!������������ #������ �� ��������� ���������������.�(�����1���7������ ��� ����� �!������� !������� ��##�� �� #������ � ���� %!���������� ����������� ����� � #������ .�(�����1���7���������#����� %�!����&�������!!��'

�� ���� ' ,�(<�(������!�8���� ��� ���)5,�(<�(���������������������� ��)5,�(<�(��������56�����$�!��� ���� �)53."���� ����

�����!�������' ��((������ �2.-����������)5=���>�(������ �-����������=�6�)�������� ��.�����"������ ��."

� :����� ��� %�����������������!�8��� � ��� ����� ��$�� �������!������������������&������#?���� ��� ����(���������#�����$

Page 13: Manual Smsc Sdk

���� �������� �� ����!����� �

������� ���������� � �2

��� ��� �������.� (�����1� 7��!� � � �� ���� ���� ���� ��� ���� �!���� � ��� ��� ����� ���� �#�����#?���� ��� ����(��������.

:���������!�� ���#��!!����� ��������������� �������������� �������)�$���!�� ��������!�� ��� ��� �� �1��.%.�9�����4���19������@@1�9������ ������1�4���� ���@@�4�����1�4���� ��(����8��$���1����!1����.

��������

���� ����,�� �������� �!��%������!�����#���#���������������!����'

�.���������.����/����� �����#����� �� %�������!� � ��0

".������� ���������.���/��� ���#���������!�� �#��0

2.������� ���������.��8�/�����!���8�����#��0

-.��� ���.!�#�/����� ���� �(�:�#�����0

�.���#����.��1������.���/���!��������������8���0

� (������ ��������������&����6��8��6���8���5����������!� � ������������ ���.�A�������# ����#��������� ��#������#������� �����$5)�� ����6��8����8��������.

���������

������ ������������������!�����!���#���������������!����� ���� %����!����#���� %�����������

�.�9�����4����/���!����#�����((1�>�(1��=�6�� ������"0

".�9������@@�/���!����#�����((1�>�(1��=�6�� ������"0

2.��������/���!����#�����((1�>�(1��=�6�� ������"0.�

A�������# ����������!���� �������!������8��������.

Page 14: Manual Smsc Sdk

���� �������� �� ����!����� �

������� ���������� � �-

����������������

������������

���� � �����#�������������!�������������%��������������!!����� �� ������$��������� ��� ���������!��� ��� %���#���$������������.����#��.�,��8������� �� �������������!� � ���� �������!���� �������������������&����������������!���8����8�����#�����#�����!���� %�������/� ������!� �� ���0.�,��1������������7�� �� ��#���� �������$� ��#�* ����.�(�����1�����8���������������8���� �����# ��B������!����� �.

������������������������

��������� �� ��� �������

�������1���!� %������������.����#����� �����##�� �.�,������� �������#���������!.�A��� ���������%���������)���8������ �������%�����!����� ������� ��� ���� ����!���� %��������7 ����8���� ��� �����!� � �.�,�������������� �����* �����+,�� ��" ���� ������$������%���2".�?�.�4���� %����!��%���������������8����������!�$�������������� ���%������.��������� ��?��!��'

�regsvr32 c:\program files \SMSCSDK \SMSCCSDK.dll

6������%��8�?�����!������ #������ �� ����������#�����%������ ��#����)���8����.

�� �#����������� %���!��#���� ��� �������� �!��%����/�.%.*��� � �����4������ ��� � ���������0� ����� �� �� ���� ��� ���� ����%���2"���������!��%������������!������#�������������%���������)���8������������������.

��!������������

���� ���������

6��,�(<�(��� ���� ������&��������� � ������C���,������1�3."����������7 �� .������;��� �����7��!��������������������&��������� $ �������������������3."�.�

3."�� ����!�������� ��� ����� #��� ����� ���� � �!��7��$���� % �����7���!!������ ������8��������,,.����������������������� ,�(<�(�!��������3."�� �� �� ���� ����� ��� �� ������������!��7���

Page 15: Manual Smsc Sdk

���� �������� �� ����!����� �

������� ���������� � ��

#����� �����!��������� ����.�,��3."��!��������������8����������$����� �����������8��.�,����!��!��������7�����������%����*6+�!��$������� ��� �8���������%��#����� %����� ���.����!������ ���3."� �����7��� �8���������������������$�������3.�"���������1������������������(��������� ���,�(<�(� �����7.�,��������#�3."����!������������� ����������������#���� �����7��!���������!� ���� ��������!� ��.�

,�� ������7� ����� �� ������� ���� ��&����� � � =�� � /��!'<<���.��� .���0������ ��������������8�����3."���� ���� .�,��=$�� �����������8���� #%�����!��!�����#������3."�� �����7.�,��������� %������$��������������� ���#���.�,���#�������� ����������� ���������* ���7�������#������=�� �����.�6#���� ����� %��������� ��#�������� #%����� ��� ��������.

) ��� ���=�� ���������� �����������������1� ���3."���� ���� � ����7 %�� ���������� �����$�!�8�� ����!�������� ����� %� #��� $8�� ��3."���� ���� ����������� �8������.�,������8�����3."��� ���� �������7�����!�� ��������8���������3."��/��#�������,�(<�(0.,��#����� %�������������� �8������������������'

�SMPP.SetSocketType(2) or UCP.SetSocketType(2) or CIMD2.SetSocketType(2) or SEMA.SetSocketType(2)

:��� �������������������� ���� ���� ���� ��� �!��#�� ��� 3.�"����������#���� �����7��!������C������1���������� ���$�%�� ��8��/�������� %0.�,��!����!����������� �8����#�� �������� �����&�����#��3."���� ���� �.�) �������� ���� ���������������8�� �����$8����� �������#����� ��� ����� � �� �����% %� #� ��� ����� �#� ������/�.%.�8 ������� � %�� ������� %����0��� �8��!��#��������$��������� �����#����3."��!�������.

��,�����%��8�������3."�������������7 %����������.�������1���7������� ����������������!!���� ���* ���7� ���#���� �������!!��������* ���7������.�(�����1���7���������������� $����#���#������ #������ .

"��#�������������

���� ��� ����������

,��������� ������������� ����� �$��� ���!!����� .����������$����!�������7������� �8�����������8�����!!����� ������������� %

Page 16: Manual Smsc Sdk

���� �������� �� ����!����� �

������� ���������� � ��

�8���� ��� ������� ����� !�������� � �� �� ���� � �!���� ���� .,��1���������������� �������8����� ��!!����� �� ���!��#�������.(�����1���������������$�%�����������������%�#���#������ #����$�� �� �������������!������% %��!!����� �.

&���������#�

!����� �� ��,��������� ���������������� ����8������ ���� %��$���!������$�� ��������1�.�.����� �������� �� ���� %���������!�� �����!������&������ ����� ��.�A����������������� �������������� ������!����#���������!�� ��!��!����.������ %������!�������� �����������$�� ����� ������� ����� ���#�����!��� %������������.����#���/��5=���,5�4>,64D=0�� �� ��!����������������������� ��� E� ��� ��������������!�����������!!����� .�,����8����������� �$�������8��� ���� ��.��#����� �� ���������8���������������.������%�$������������������!�����������!!����� �������� �� ���/��!���$�� �� � � ����� �� � � �� � $������!�� �� ���!����0� ���� ���� ��!������������ ��� ��� ���.�(�������� �����#���#������ #������ ���������������/�����F������7.���0.

'�(����������#�����)����������

"�# ������ ��$ �� �� %����� ��&

4������� �".�������� � ��� ������������!����������!�������1��.%.��((�� ��1�>�(�� ������E����>�(�� ������".�

�#� ���� �� �� �������8���� �����������.���� ��%���������������$����!��� ������� �!!����� ������ �� � � ��� /��!����� �� � ������� �� �� � $������!�� �����!����0������������!���������!��#��$�� ������ ���.�(�������� �����#���#������ #������ ���������������/�����F������7.���0.

&��������

!�������� ������������� ���������!� � ����#�������1�.�.� ��������������#������������#��������1������������ ��%�������������������������������� ����� ��������������.�,������� ��� ������������ %����!�$ � �� ��� �� ���.� (�����1���7�� ����� ���� ����� ��� ��� � %������8�#�������� %�� ������������.����������9�����4�������!��'

�lLicense = SMPP. SetLicenseKey("1234-5678-1234-5678-1234")orlLicense = UCP. SetLicenseKey("1234-5678-1234-5678-1234")or

Page 17: Manual Smsc Sdk

���� �������� �� ����!����� �

������� ���������� � ��

lLicense = SEMA. SetLicenseKey("1234-5678-1234-5678-1234")orlLicense = CIMD2. SetLicenseKey("1234-5678-1234-5678-1234")

� �#������� C����� ���������!� � ������� $������������ �����#�����#� ��� ������������� �#���2 �����.�(������ ���1�������1������ � %�� ������� %��#������%��������������� ����� ��� ��!���� $������� %������������ �!����.�6#������������!�������������������������� ����������������!�������8������� ���8���8�������� ������������ �����������%��.

Page 18: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

������������������������� �����

*������+����"���������

,�-���������������

'�(�������� �����

,��������� ��������������!!��������9�����4�������!����?$!�� %�������!�����#� ��� ������#����>�(����!� � �.�

.�(����������������������##�#�������������������

)�# �� �����$��� � ���� $ � ��� �� ����������

,��9�����4�������!����!!����� �8���������� ������#�� ��� %��#����/�� 0.�6 � ��� ����#� ���>�(����!� � �� ��!���� � ��������#���.�,������������������������� � ��� ����#����>�(����!� � ������ ���.�

,���������>�(����!� � ������ ��9�����4����!��E���������������!� �� �������!��E����#����.�,� ��������������� �#����������������� ���#�9�����4���.�� ����#����� %�����%1��������G������ $ ����������". G�#������������ ��!������/.�,����������������((1>�(1��=�6�� ������"����!� � �����8���� ��� ����� ����8�?� /������������������������� ������#�������!������ �������!!����� �#����0.�,��������>�(����!� � ����������#����/.�.������������ �������!!���$�� 0� �������������>�(����8���#�����������8�?�� �������������� %��� ������#���.�,�����������>�(����!� � ����������!��E����.,� ������ ��� %����� ����!��!������#���� ��������������� ���������

Page 19: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

����������������#����������������� ��!��!�������#����>�(����!�$ � �.

�����������������

���� ������������

,������� ���� ������������ ������������ ��� �����������������%�����������#����������!��#����&�� ��'

�.�=���8��������7����� ����

".�D�%� �����������/6��� ����� 0

2.��� �<������������%��

-.�������������7����� ����

������!���� �����#������������&�� ������� ��������!!�����������$���#�������%����� ��������������� ������������������������#���� ��#�����������!�������%� .

��,������ ����%�����#��������������� ������((�!��������!��#���� .�H����E����������������7����� ���� .������������!�$���������� ���� �����&��������%� ���������� ����� ������������!$!����� �8������ ��� ����(����3."���������.�(�����1���7�����������!�������#���#������������.

0��������������1�������������

*�������� � ��+� ������$���

� ����������8���8��������8������������%��������������������������� #���� �� ���� ���� ���� ��� ����8��� �� ���7��� �� ���� � ��� ������� ������1� ����� ��� ,�(<�(� /!�8��� � ��� ��1� ���$�!� ��� ������������� �0�������3."�.�,������8��������7����� ���� ����� ������7 ������,�(<�(����3."�� �����7����������#�����������!�����/����������0�� ����!����/,�(<�(�� ��0�� ����������������������� ������.D��C�����������7�������9�����4�������!������������� ���� '

�Dim lResultlResult = UCP.SocketConnect(Address.Text,

Port.Text)If (lResult <> 0) Then

MsgBox lResult, vbOKOnly, "SocketConnect"Else

MsgBox "Connected!", vbOKOnly, "SocketConnect"End If

,��������#�������8�� %������7����� ���� ��������������������������� ����7��������!���������.�,�����7������������ ����

Page 20: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "

!����/ �����&�����#���3."���� ���� �0.�>�(������������7�������� $%������7����� ���� �#���8�������� %�� ���� � %����������%��.

,��9�����4�������!��������������������#��������� �#�����#������!����!!����� .� ,���������������������� ����� �� � #� ���� ���� �������8������8��������� �4��7����$���!�� ������������ ��������!��8�����������.�,�����!������������������%��8�?��������������#��������������.

������������!���������7����������������'

�Dim lResultlResult = UCP.SocketConnect("192.168.1.1,

5001)If (lResult <> 0) Then

MsgBox lResult, vbOKOnly, "SocketConnect"Else

MsgBox "Connected!", vbOKOnly, "SocketConnect"End If

,�� ���!��� ����� ������ �� ���� ��� ��� ������� ��� ��� ���������".���.�.��������!����� �.

0��������������������������

*�������� � ���� ���������

) ������������������#������� ��������������������� ���������$�������8 ��������������� %�����!!��!�����>�(������ ����������� �������������������.�,��#� ��� �������� ��!���������� �������4 �������'

�Dim lResultUCP.SMSCResponseTime = 10000lResult = UCP.SMSCBind(SMSCAccount.Text,

Ton.Text, Npi.Text, SubType.Text, SMSCPassword.Text)

If (lResult <> 0) Then MsgBox "Authentication (UCP60 operation)

failed (" & lResult & ").", vbOKOnly, "SMSCBind"

Else MsgBox "Session opened", vbOKOnly, "SMSCBind"End If

,�����!������������������������!� ����������� . �������� $���#���.�,������ �����>�(����!� � ������������� ����� ���#�������!� ���#������������8�#��������� %����� �������/��������

Page 21: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "�

8��$��#�����������0.�,�� �?�����!������������������4 �������� ����������� �����>�(�8 ������� ��/>�(��!����� �� 0�� ������#�����������.�,��������#���!����������#����������4 �����������������������8��!�������8�������������!������.�(�����1��������2�����+$�%�����#�3�����������3�����������#�������%�#���#������ #��$���� �� �!���8���������.�������������!������G����G�������'

�lResult = UCP.SMSCBind("12345", 1, 1, 1, "pwd")If (lResult <> 0) Then

MsgBox "Authentication (UCP60 operation) failed (" & lResult & ").", vbOKOnly, "SMSCBind"

ElseMsgBox "Session opened", vbOKOnly, "SMSCBind"

End If

,����8,�!������������ ���!�������8��������!������.������;����!�$����������7��������������1�8��������������� .

�� �#�������������� ������!� �� ��������#� ��� ������ ����$�.�:���� �������������������� ����>�($���!�� ������������.

������������������

�������� ��$���

) ������������� ������������������ ������8���������� �� ���!�������������������� ������������� �������������%��.�

�Dim lResultlResult = UCP.SMSCSubmitMessage(Destination.Text,

Originator.Text, SMSCAccount.Text, MsgOption.Text, MessageTxt.Text, Now(), Validity.Text)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox UCP.SMSCMessageID, vbOKOnly, "Message ID"

End If

,�����!�����������������&����������#�������#����� ���������#����� ������8�������%�� ������ ��� ��8���� ��� !��!��� >�(����� ��/>�(��!����� ���0����������7���� 7�����������.�,����$������&��������� �!����������������������6���� ��!��������

Page 22: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ""

/8���6�0�����������!�������8�������������!������.��������������!�$���������������� ����������������� �.�

��(�����1���7������������ ������������#������6��!��������/���������� �0� #� �������� ���� %� ���>�(� ���!����!!����� �� ������������!������������ ����&����� ����� ����� ��� %������$��4 �������.�)�����������������%�������#������>�(������������.

,�������� ���� ���� #��� ��� ����� ������� � �� ����� � ��� �����.� ��������8�� �#����������#������ ����� �����������.�� �������#�#���$������� �� ����>�($�!��#������������.�) ����������%������8�����������������������#������������ ��� ������������� ������������$��������������8���!� �.�A����� ���&�������������������!�����#������������!�� ����������".��������� ��?��!��'

�Dim lResultlResult = UCP.SMSCSubmitMessage("+491711234567",

"MyCompany", "12345",2, "Hello, world."Now(), 48)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox UCP.SMSCMessageID, vbOKOnly, "Message ID"

End If

,���%�����!�� ��������"�������������%� ���������������� ��#��$�� 1� ����� � � �������#��������%�� �������� ��� � � �?!���� � �#� ������#������8������� ��������8����� �������� ����.�,���?!��$�� �!������������� �������%���������!�������������� �� ������?������������#���������%�� �����.�6��������#�-������������� .�(�����1�����8�����#��� #������ �� �������� ���������$%���������� ��#���� ��/.�#����#��)����������������0.�,����?$���������%���� %������ ����������.�

� (�����1� ��������������� ��� �!�������������� ����� $�� �� ����!� ���������������1��?��!����C@C��% .�)����������������%�� ���� #��.� :��� ��� ��� ��� ���!� ��� ����� G I��� �����$

Page 23: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "2

��JI �����7�!��#?JI ��8��JG� ��� GI��� �������JI �����7�!��#?JI ��$8��JG�������.�6����� %�C@C��% �����8����� ������� ���G G.

������������������������

�������� ����$�� �����

,������������ ���������� �� ��� � ��� �� �� ��� ����� �8�6�������?�������%���8����� �8������������8���8 ���������%���������?������ %���#��- �������.�,���������������� ��������������$�%���?����������� %1��.%.�G-6G���������!���� ����8������������$�����������#��-.�,��1������?������ %���#����8��������%��!���$������ ������ 8�� "� � ���������� /�- � ������� ����� "0.� � � ������ ����8���8 ���������%����������������������)!�� �!�������������.�����������!����?��!��'

�Dim lResultlResult = UCP.SMSCSubmitMessage("+491711234567",

"MyCompany", "12345", 8, "4A3F40A8", Now(), 48)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox UCP.SMSCMessageID, vbOKOnly, "Message ID"

End If

���������������3��������������3�����

�������� ��$��, ������� �$�� ���

)!���������%��1�� % %��� ��1�%���!�%��!���� ��!�����������%��������!�������� ������8 ���������%����������$�������>��������������.�,��>��������������������&�����8�������8���!� ����#�$����� ������������ �#������������������%��� ��!���������!��!����.,��>�(����!� � �����8��������8�������������%��.�6�����������������������������)!�� �!���������������� �����!�������������$��$�� ������%���� �� %���>���������������.��������� ��?��!��'

�Dim lResult, LogoLogo="0605041582158262F21001480E010000000000000003E0000000000000000E18000000000000001DF4000000000000003B7AFCFEFCFC7C7CC776FFFEFEFEFEFEFECE76FFC6C0C6C6C6C6DC0000C6C0C6C6C6C0F80000C6FEFEC6FEC0F05FB7C6FEFEC6FEC0F05FB7C6C0CCC6C6C0F82F6EC6C0C6C6C6C6DC13DCFEFEC6FEC6FECE0C38FCFEC6FCC67CC703

Page 24: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "-

E0"lResult = UCP.SMSCSubmitMessage("+491711234567",

"MyCompany", "12345", 16, Logo, Now(), 48)

6%� 1������?���������%���� %����"� �����������/�- �8 ���������0.�� ������������8�����%��1�� % %��� ��1����.��������������������!�������#������������8������������������&�����8 ����#�����/ ��������5,,D� ����������#�����0.

�����������,����#��4,���5��������

�������� '��$�� � �����

,�� ��� ����� �8�� 6����� #������ ����� � ��� ������ ��� � ���������.�������1� #��� ��� ��� ����!!����� ������#�� � ���� ���8���8��� ��� ���� ��� ��� ������������1��.%.�� �������6��8� ����������.6��#����$�����> ����������� ����.�� �> ����������������������� $����������%���-$�%���?������������1��.%.� G- 2:6� G.���1�������������������������8������?��������> �������� %�� ������������)!�� �#��������-.��������� ��?��!��'

�Dim lResult, UCS2MessageUCS2Message="403fA100"lResult = UCP.SMSCSubmitMessage("4491711234567",

"MyCompany", "12345", 64, UC2Message, Now(), 48)

�����������0��

�������� *��>� %�=��������� ��������� ���� �������%������� ������!?���!�$������� ��� ���� �1�� %��� ��1���� ���##����1�#�����������?���� ������8 ��� ��#���������� %���������� �� �=��$��!�8�����8���!�$ �.�,����?������ %���#�������� %��������%�����- �8������ ��18������=��$��� ���%����!!������!��� %.���������� ��� ��� ������$����� %��������%��.�,��=����� �� ����>����������������/>��0�� �!��8�8���������������.�A����� ��� ��=������������������8����! %

Page 25: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "�

�������������� ���� ���#����� �����/�.�%.� � 6 2 � 2,�?�0�� ��� %�����!�� ��"�.��������� ��?��!��'

Dim lResult, EMSMessageEMSMessage="050A03000210Text "

lResult =UCP.SMSCSubmitMessage("00491711234567","1234",128,1,1,1,1,EMSMessage,Now(),48)

.�#����#��)����������������

)�� ���� ���%�$�� ����������

���� %�����!�� �#����������� ��#���� ���� ���8��� %��������$%��������������������������%� ���������� ��#���� �������������.,����� ��!!� ����� �����.�� ���������� #���������8���� ��� %�������� ��#���� �����>�(����!� � ���������$����������� .�������� ��?��!��'

�Private Sub UCP_SMSCMessageNotification(ByVal bstrMessageID As String, ByVal bstrMessageTimeStamp As String, ByVal lDeliveryStatus As Long, ByVal lError As Long, ByVal DeliveryTimeStamp As Date, ByVal bstrSMSCMessage As String)

MsgBox "Notification for a message to" & bstrDestination, vbOKOnly, "Notification"

End Sub

,�����!�������������8��G���8G����������� �� %�������� ������!����������%��8�?�����������������%�����#���������%����� ��#$���� �����#��� %���.������� �������% ���� ��#���� �����������%������������������ �K�*���1����8��������%����!����������?��������$#�����������������#��������� ������!��!��������%����� ���������8����������%�.�,��1��� ���������������������#����������8��$�����������%�������� �����������������������%������������� ��$#���� ��������.��������� ��?��!���#����������!��'

�lpszLastSMSCID = UCP.SMSCMessageID

Page 26: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "�

>� %���������%������������������ &����?����������� %�#�����������%������ ���� ���� ���� ��#���� ��8����� ��#����������$��������&����������������#��������%�.

�����������������#��)��������������������

�������� ���$%��� �� �����$�����

> �7�������((����!� � �����>�(����!� � ������� ����##���� ���$�����������&�������������%����������#��� �����.�� ��!!������������((�������!���� ���� �1�>�(�����������������8��������%��������� ��#���� �� ���!�������������������� #� ���� ���� ���)!�� !������������"��� ���8��� %��������%�.

����)�����������

�����%��� �����

5���� %������%������ �����������!������.�,�������������8�������%������������!!����� 1�.�.����>�(����!� � �1���� ��� ���$��.�,������ ��������������������&����� 8�� �������%��.�,�������$��%�������8������������������������!���� ����.�,������������� ��� 8�� �������%�������� ������%� ����� ���� �.�,�������� ��������������� ������!����������������������� �� #������ �#�� � 8�� �������%�.����������!�� ��?��!������������������ �������� ����������������#��������������%�������� ������#����� ���� #������ �� ����������%����?�'

�Private Sub UCP_SMSCMessageReceived(ByVal bstrDestination As String, ByVal bstrOriginator As String, ByVal bstrMessage As String, ByVal lOption As Long, ByVal SMSCTimeStamp As Date, ByVal Validity As Date)

Received.AddItem (bstrOriginator & ": " & bstrMessage)

End Sub

������#������������������������������� 8�� �����������%���� ��� ����������� �������8���1���� ���������� ����$��������!������������ �������!!����� .

�� (�����1� �������� 8�� �������%����� �8��� ������ ���?����������� %��������� ������������ �� �8 ������������ ��� �$

Page 27: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "�

�� ���> ��������������.�� ��������������)!�� �!�������������8����������� %��.

��--���������������

��(( �������� �����

,��������� �������������������!!��������9�����4�������!$����?!�� %�������!�����#� ��� ������#������((����!� � �.�

.�(����������������������##�#�������������������

)�# �� �����$��� � ���� $ � ��� �� ����������

,��9�����4�������!����!!����� �8���������� ������#�� ��� %��#����/�� 0.�6 � ��� ����#������((����!� � ����!���� ����#���.,���������������� ��������� � ��� ����#� �����((� ���!� � �� ���� ���.�

,�����������(((����!� � ������ ��9�����4����!��E���������������!� �� �������!��E����#����.�,� ��������������� �#����������������� ���#�9�����4���.�� ����#����� %�����%1��������G������ $ ����������". G�#������������ ��!������/.�,�����������8�������((�� �� ���>�(����!� � �����8���� �������� ����8�?� /������������������������� ������#�������!������ �������!!����� �#����0.�,����������((����!� � ����������#����/.�.������������ �������!!����$� 0� ���������������((����8���#�����������8�?�� �������������� %$���� ������#���.�,�������������((����!� � ����������!��E����,� ������ ��� %����� ����!��!������#���� ��������������� �������������������������#����������������� ��!��!�������#������((����$!� � �.

�����������������

���� ������������

,������� ���� ������������ ������������ ��� �����������������%�����������#����������!��#����&�� ��'

�.�=���8��������7����� ����

".�D�%� �����������/6��� ����� 0

2.��� �<������������%��

-.�D�%������#��������

�.�������������7����� ����

������!���� �����#������������&�� ������� ��������!!�����������$���#�������%����� ��������������� ������������������������#���� ��#�����������!�������%� .

Page 28: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "�

0��������������1�������������

*�������� � ��+� ������$���

� ����������8���8��������8������������%��������������������������� #���� �� ���� ���� ���� ��� ����8��� �� ���7��� �� ���� � ��� ������� ������1� ����� ��� ,�(<�(� /!�8��� � ��� ��1� ���$�!� ��� ������������� �0�������3."�.�,������8��������7����� ���� ����� ������7 ������,�(<�(����3."�� �����7����������#�����������!�����/����������0�� ����!����/,�(<�(�� ��0�� ����������������������� ������.D��C�����������7�������9�����4�������!������������� ���� '

�Dim lResultlResult = SMPP.SocketConnect(Address.Text,

Port.Text, SinglePort.Value)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "SocketConnect"

ElseMsgBox "Connected!", vbOKOnly, "SocketConnect"

End If

,��������#�������8�� %������7����� ���� ��������������������������� ����7��������!���������.�,�����7����������1����!���� ��������!������������������ ���#������((����!� � ����������8������ %���!������ ���� .�

�� >������1���((�� 7���������7 %��������!�����������7���� ���� ��/� 7�0�����������.�) ��#����� � %�� ��� ��#�������� %�����%��.�,����((����!� � ���#������������8�����8���� 7��������������8����� �8�� ����� �������8���� ���� ��� %��� � 7.�,��%��8����&�����#����������!�������� ��������������� �������%��.

,��9�����4�������!��������������������#��������� �#�����#������!����!!����� .� ,���������������������� ����� �� � #� ���� ���� �������8������8��������� �4��7����$���!�� ������������ ��������!��8�����������.�,�����!������������������%��8�?��������������#��������������.

������������!���������7����������������'

Page 29: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � "�

�Dim lResultlResult = SMPP.SocketConnect("192.168.1.1,

5001, 0)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "SocketConnect"

ElseMsgBox "Connected!", vbOKOnly, "SocketConnect"

End If

,�� ���!��� ����� ������ �� ���� ��� ��� ������� ��� ��� ���������".���.�.��������!����� ��� �������������������� ��������$� 7�� ���� �����������.

0��������������������������

*�������� � ���� ������$���

) ������������������#������� ��������������������� ���������$�������8 ��������������� %�����!!��!�������((������ ����������� �������������������.�,��#� ��� �������� ��!���������� �������4 �������'

�Dim lResultSMPP.SMSCResponseTime = 10000lResult = SMPP.SMSCBind(SystemID.Text, SystemType.Text,

Ton.Text, Npi.Text, Version.Text, Password.Text, "", Transceiver.Value)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "SMSCBind"

ElseMsgBox "Session opened", vbOKOnly, "SMSCBind"

End If

,�����!������������������������!� ����������� . �������� $���#���.�,������ �������((����!� � ������������� ����� ���#�������!� ���#������������8�#��������� %����� �������/��������8��$��#�����������0.�,�� �?�����!������������������4 �������� ����������� �������((�8 ������� ��� ������#������������.�,��������%��!����������#����������4 �����������������������8�� !������� 8�� ����� ����� �!������.� (�����1� ����������� �+$� %��2

Page 30: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2

���#�3�����������3�����������#�������%� #��� #������ #������ �� !���8���������.�������������!������G����G�������'

�lResult = SMPP.SMSCBind("ESME", "SMS", 1, 1, 3, "pwd", "", 0)If (lResult <> 0) Then

MsgBox lResult, vbOKOnly, "SMSCBind"Else

MsgBox "Session opened", vbOKOnly, "SMSCBind"End If

,�������!��������������� ����##���������������%��������������.,�������������� ���������8 ������� ������ ����!� � %�� ��������������������7����� ���� .� �#�������������#����������� ���� ��������� �������� ������������� 7��������������������������� �������������8������8 ������� ��� �8���� 7�.��#����� ��� �� ������ � �� !���� /8� %��(���� !��������� �#� �����������������������������0����������������8,�� �����������������.�,���������� ����� %���8 ������� �������������8������������ ��������������!��#����8��������� � %�� ������� %�� ����� %��� 7.��#��������������������� �� ��������� %��$!������ ���� �� ��� ��8 ������� ������8��������� %����������� �� ������ ������������%��.�(�����1���7�����������!�������#�������� ���� ���$!�.�,����������#��������������������!���� ��������%�����!�������%��8�?.

�� �#�������������� ������!� �� ��������#� ��� ������ ����$�.�:���� �������������������� ������(($���!�� ������������.

������������������

�������� ��$���

) ������������� ������������������ ������8���������� �� ���!�������������������� ������������� �������������%��.�

Page 31: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2�

�Dim lResultlResult = SMPP.SMSCSubmitMessage(Destination.Text,

Originator.Text, MsgOption.Text, SrcTON.Text, SrcNPI.Text, DestTON.Text, DestNPI.Text, MessageTxt.Text, Now(), Validity.Text)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox SMPP.SMSCMessageID, vbOKOnly, "Message ID"

End If

,�����!�����������������&����������#�������#����� ���������#�����������8�������%����������� ��8���� ���!��!�����((����� ����������� �������� 7�����������.�,����������&����� �!������������������,)+�� ��+(���������������������!�������8������������!������.��#���������� ����������������������������.�,����$������������#������������������� ������� ���������.����������8�� #����������#������ ����� �����������.�� �������#�#���������� �� ��� ��(($�!��#�� ������ ����.� ) ��� �� �����%�� �� ��8������ ��� ��������������#������������ ��� ������������� �������������������������8���!� �.�A����� ���&�������������������!�����#������������!�� ����������".��������� ��?��!��'

�Dim lResultlResult = SMPP.SMSCSubmitMessage("00491711234567",

"1234", 2, 1, 1, 1, 1, "Hello", Now(), 48)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox SMPP.SMSCMessageID, vbOKOnly, "Message ID"

End If

,���%�����!�� ��������"�������������%� ���������������� ��#��$�� 1� ����� � � �������#��������%�� �������� ��� � � �?!���� � �#� ��

Page 32: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2"

����#������8������� ��������8����� �������� ����.�,���?!��$�� �!������������� �������%���������!�������������� �� ������?������������#���������%�� �����.�6��������#�-������������� .�(�����1�����8�����#��� #������ �� �������� ���������$%���������� ��#���� ��/.�#����#��)����������������0.�,����?$���������%���� %������ ����������.�

� (�����1� ��������������� ��� �!�������������� ����� $�� �� ����!� ���������������1��?��!����C@C��% .�)����������������%�� ���� #��.� :��� ��� ��� ��� ���!� ��� ����� G I��� �����$��JI �����7�!��#?JI ��8��JG� ��� GI��� �������JI �����7�!��#?JI ��$8��JG�������.�6����� %�C@C��% �����8����� ������� ���G G.

������������������������

�������� ����$�� �����

,������������ ���������� �� ��� � ��� �� �� ��� ����� �8�6�������?�������%���8����� �8������������8���8 ���������%���������?������ %���#��- �������.�,���������������� ��������������$�%���?����������� %1��.%.�G-6G���������!���� ����8������������$�����������#��-.�,��1������?������ %���#����8��������%��!���$������ ������ 8�� "� � ���������� /�- � ������� ����� "0.� � � ������ ����8���8 ���������%����������������������)!�� �!�������������.�����������!����?��!��'

�Dim lResultlResult = SMPP.SMSCSubmitMessage("00491711234567",

"1234", 8, 1, 1, 1, 1, "4A3F40A8", Now(), 48)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox SMPP.SMSCMessageID, vbOKOnly, "Message ID"

End If

���������������3��������������3�����

�������� ��$��, ������� �$�� ���

)!���������%��1�� % %��� ��1�%���!�%��!���� ��!�����������%��������!�������� ������8 ���������%����������$�������>��������������.�,��>��������������������&�����8�������8���!� ����#�$

Page 33: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 22

����� ������������ �#������������������%��� ��!���������!��!����.,����((����!� � �����8��������8�������������%��.�6�����������������������������)!�� �!���������������� �����!�������������$��$�� �������%���� �� %���>���������������.��������� ��?��!��'

�Dim lResult, LogoLogo="0605041582158262F21001480E010000000000000003E0000000000000000E18000000000000001DF4000000000000003B7AFCFEFCFC7C7CC776FFFEFEFEFEFEFECE76FFC6C0C6C6C6C6DC0000C6C0C6C6C6C0F80000C6FEFEC6FEC0F05FB7C6FEFEC6FEC0F05FB7C6C0CCC6C6C0F82F6EC6C0C6C6C6C6DC13DCFEFEC6FEC6FECE0C38FCFEC6FCC67CC703E0"lResult = SMPP.SMSCSubmitMessage("00491711234567",

"1234", 16, 1, 1, 1, 1, Logo, Now(), 48)

6%� 1������?���������%���� %����"� �����������/�- �8 ���������0.�� ������������8�����%��1�� % %��� ��1����.��������������������!�������#������������8������������������&�����8 ����#�����/ ��������5,,D� ����������#�����0.

�����������,����#��4,���5��������

�������� '��$�� � �����

,�� ��� ����� �8�� 6����� #������ ����� � ��� ������ ��� � ���������.�������1� #��� ��� ��� ����!!����� ������#�� � ���� ���8���8��� ��� ���� ��� ��� ������������1��.%.�� �������6��8� ����������.6��#����$�����> ����������� ����.�� �> ����������������������� $����������%���-$�%���?������������1��.%.� G- 2:6� G.���1�������������������������8������?��������> �������� %�� ������������)!�� �#��������-.��������� ��?��!��'

�Dim lResult, UCS2MessageUCS2Message="403fA100"lResult = SMPP.SMSCSubmitMessage("00491711234567",

"1234", 64, 1, 1, 1, 1, UC2Message, Now(), 48)

Page 34: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2-

�����������0��

�������� *��>� %�=��������� ��������� ���� �������%������� ������!?���!�$������� ��� ���� �1�� %��� ��1���� ���##����1�#�����������?��� ������8 ��� ��#���������� %���������� �� �=��$��!�8�����8���!�$ �.�,����?������ %���#�������� %��������%�����- �8������ ��18������=��$��� ���%����!!������!��� %.���������� ��� ��� ������$����� %��������%��.�,��=����� �� ����>����������������/>��0�� �!��8�8���������������.�A����� ��� ��=������������������8����! %�������������� ���� ���#����� �����/�.�%.� � 6 2 � 2,�?�0�� ��� %�����!�� ��"�.��������� ��?��!��'

�Dim lResult, EMSMessageEMSMessage="050A03000210Text "

lResult =SMPP.SMSCSubmitMessage("00491711234567","1234",128,1,1,1,1,EMSMessage,Now(),48)

.�#����#��)����������������

)�� ���� ���%�$�� ����������

���� %�����!�� �#����������� ��#���� ���� ���8��� %��������$%��������������������������%� ���������� ��#���� �������������.,����� ��!!� ����� �����.�� ���������� #���������8���� ��� %�������� ��#���� �� ��� ��((� ���!� � �� ����� ��$������� ���� .�������� ��?��!��'

�Private Sub SMPP_SMSCMessageNotification(ByVal bstrMessageID As String, ByVal bstrMessageTimeStamp As String, ByVal lDeliveryStatus As Long, ByVal lError As Long, ByVal DeliveryTimeStamp As Date, ByVal bstrSMSCMessage As String)

MsgBox "Notification for a message to" & bstrDestination, vbOKOnly, "Notification"

End Sub

,�����!�������������8��G���8G����������� �� %�������� ������!����������%��8�?�����������������%�����#���������%����� ��#$���� �����#��� %���.������� �������% ���� ��#���� �����������%������������������ �K�*���1����8��������%����!����������?��������$#�����������������#��������� ������!��!��������%����� �������

Page 35: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2�

��8����������%�.�,��1��� ���������������������#����������8��$�����������%�������� �����������������������%������������� ��$#���� ��������.��������� ��?��!���#����������!��'

�lpszLastSMSCID = SMPP.SMSCMessageID

>� %���������%������������������ &����?����������� %�#�����������%������ ���� ���� ���� ��#���� ��8����� ��#����������$��������&����������������#��������%�.

���������������������������������

�������� ����� �� ����������

,����((����!� � ���##���������� ������� ������������8��������&������������������������#��������%����������#���������$��.

�Dim lResultlResult = SMPP.SMSCQueryStatus(MessageID, Originator, 1,1)

,����������������� �$��#��������������������������#���������%�����������#������%���.

�� 6��������#���������#���� ������� ��������������������� ������� ���!��"����������8��#�������!�������#������ $#������ �� ����&�����������%��� �����������.

����)�����������

�����%��� �����

5���� %������%������ �����������!������.�,�������������8�������%��� ��� ����� �!!����� 1� .�.� �����((� ���!� � �1� ��� ���$ �����.�,������ ��������������������&����� 8�� �������%��.�,��������%�������8������������������������!���� ����.�,����������$��� ���� 8�� �������%�������� ������%� ����� ���� �.�,�������� ������������ ��� �� ���� !������ ���� ��� ���� ������ � #������ ��#�� � 8�� �������%�.������ ����!�� ��?��!������������������ �������� ����������������#��������������%������� ������#������ ���� #������ �� ����������%����?�'

Page 36: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2�

�Private Sub SMPP_SMSCMessageReceived(ByVal bstrDestination As String, ByVal bstrOriginator As String, ByVal bstrMessage As String, ByVal lOption As Long, ByVal SMSCTimeStamp As Date, ByVal Validity As Date)

Received.AddItem (bstrOriginator & ": " & bstrMessage)

End Sub

������#������������������������������� 8�� �����������%���� ��� ����������� �������8���1���� ���������� ����$��������!������������ �������!!����� .

�� (�����1� �������� 8�� �������%���� �8��� ������ ���?����������� %��������� ������������ �� �8 ������������ ��� �$�� ���> ��������������.�� ��������������)!�� �!�������������8����������� %��.

�0�6���������������

�*�- �����$��� �����

,��������� ��������������!!��������9�����4�������!����?$!�� %�������!�����#� ��� ������#�����=�6����!� � �.

.�(����������������������##�#�������������������

)�# �� �����$��� � ���� $ � ��� �� ����������

,��9�����4�������!����!!����� �8���������� ������#�� ��� %��#����/�� 0.�6 � ��� ����#�����=�6����!� � ����!���� ���������#���.�,������������������������� � ��� ����#�����=�6����!� � ������ ���.

,����������=�6����!� � ������ ��9�����4����!��E���������������!� �� ���#������!��E����#����.�,� �����������!� � ���#�������(��$E������ ���#�9�����4���.�� ����#����� %�����%1��������G������ $ ����������". G�#������������ ��!�����)�.�,����������������((1���>�(1�����=�6�� ���������"����!� � �����8����������������8�?/�������������������������� ������#�������!������ �������!!����� #����0.�,����������=�6����!� � ����������#����/.�.������������ ������!!����� 0� ��������������=�6����8���#�����������8�?�� �������� ����� %���� � ����� #���.�,�������� ����=�6����!� � �� ��

Page 37: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2�

�����!��E���.� ,� ������� ��� %�� ��� ����!��!������#� ��� �������������� ��������������������������#����������������� ��!��!��$�����#�����=�6����!� � �.

�����������������

���� ������������

,������� ���� ������������ ������������ ��� �����������������%�����������#����������!��#����&�� ��'

�.�=���8��������7����� ����

".�D�%� �����������/6��� ����� 0

2.��� �<������������%��

-.�������������7����� ����

������!���� �����#������������&�� ������� ��������!!�����������$���#�������%����� ��������������� ������������������������#���� ��#�����������!�������%� .

��,������ ����%�����#��������������� �����=�6�!��������!��#���� .� H���������� ������7����� ���� .������������!���$�������� ���� �����&��������%� ���������� ����� ������������!!�$���� � 8�� ��� � ��� ��� �(� ��� 3."�� �������.� (�����1� ��7� ����� �����!�������#���#������������.

0��������������1�������������

*�������� � ��+� ������$���

� ����������8���8��������8������������%��������������������������� #���� �� ���� ���� ���� ��� ����8��� �� ���7��� �� ���� � ��� �����������������,�(<�(�/!�8���� ��� ��1����$�!������������������ �0.,������8��������7����� ���� ����� �������7 ������,�(<�(����3."� �����7����������#�����������!����

/�����������0�� ����!����/,�(<�(�� ��0�� ����������������������� $ ������.�D��L�����������7�������9�����4�������!������������� $ ���� '

�Dim lResultSEMA.SetSocketType(2)lResult = SEMA.SocketConnect(Address.Text, Port.Text)If (lResult <> 0) Then

MsgBox lResult, vbOKOnly, "SocketConnect"Else

MsgBox "Connected!", vbOKOnly, "SocketConnect"End If

Page 38: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2�

,��������#�������8�� %������7����� ���� ����������������7$7���� ����� ����7�������!���������.�,�����7������������ ����!����/ �����&�����#���3."���� ���� �0.��=�6������������7������� %������7����� ���� �#���8�������� %�� ���� � %����������$%��.

,��9�����4�������!��������������������#��������� �#�����#������!����!!����� .����7���� ���� ������������ �� � #� ����� $ ���� �������8������8��������� �4��7����$���!�� ������������� �������!��8�����������.�,�����!������������������%��8�?��������������#��������������.

������������!���������7����������������'

�Dim lResultSEMA.SetSocketType(2)lResult = SEMA.SocketConnect("493316, 0")If (lResult <> 0) Then

MsgBox lResult, vbOKOnly, "SocketConnect"Else

MsgBox "Connected!", vbOKOnly, "SocketConnect"End If

,�� ���!��� ����� ������ �� ���� ��� ��� ������� ��� ��� ���������".���.�.��������!����� �.

0��������������������������

*�������� � ���� ������$���

) ������������������#������� ��������������������� ������

��������� 8 �� ��� ��� ����� �� %� ��� �!!��!����� �=�6� ����� ����������� �������������������.�,��#� ��� �������� ��!��������� ��������4 �������'

�Dim lResultSEMA.SMSCResponseTime = 10000lResult = SEMA.SMSCBind(SMSCAccount.Text, Ton.Text,

Npi.Text,SubType.Text, SMSCPassword.Text)If (lResult <> 0) Then

MsgBox "Authentication failed (" & lResult & ").", vbOKOnly,"SMSCBind"

ElseMsgBox "Session opened", vbOKOnly, "SMSCBind"

End If

,�����!������������������������!� ����������� . �������� $���#���.�,������ ������=�6����!� � ������������� ����� ���#�������!� ���#������������8�#��������� %����� �������/��������

Page 39: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � 2�

8��$��#�����������0.�,�� �?�����!������������������4 �������� ����������� ������=�6�8 ������� ��� ������#������������.�,�������#���!����������#����������4 ������������������������8�!�������8�������������!������.�(�����1�������������+$�%�����#�3����������3�����������#�������%�#���#������ #������ �� �!���8��������.

������������!������G����G�������'

�lResult = SEMA.SMSCBind("12345", 1, 1, 1, "pwd")If (lResult <> 0) Then

MsgBox "Authentication failed (" & lResult & ").", vbOKOnly,"SMSCBind"

ElseMsgBox "Session opened", vbOKOnly, "SMSCBind"

End If

,����8,�!������������ ���!�������8��������!������.������;��

�!�����������7��������������1�8��������������� .

�� �#�������������� ������!� �� ��������#� ��� ������ ����$�.�:���� �������������������� �����=�6$���!�� ������������.

������������������

�������� ��$���

) ������������� ������������������ ������8���������� �� ���!�������������������� ������������� �������������%��.

�Dim lResultlResult = SEMA.SMSCSubmitMessage(Destination.Text,

Originator.Text, SMSCAccount.Text,MsgOption.Text,MessageTxt.Text,Now(), Validity.Text)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox SEMA.SMSCMessageID, vbOKOnly, "Message

ID"End If

,�����!�����������������&����������#�������#����� ���������#�����������8�������%����������� ��8���� ���!��!����=�6����� �����������7���� 7�����������.�,����������&���������

Page 40: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -

!���������� ����� ��� ����6���� �� !��������� /8���6�0� �� �������!�������8�������������!������.��������������!����������������� �������"��#������ �.�,����������������#������������������ ������� ���������.����������8�� �#����������#������ ����� ����������.�� �������#�#���������� �� �����=�6$�!��#������������.�) ���������%������8������������������������#������������ ��� ����$��������� ��������������������������8���!� �.�A����� ���&������������������!�����#�������������!�� ����������".��������� ��?��!$��'

�Dim lResultlResult = SEMA.SMSCSubmitMessage("+491711234567",

"MyCompany","12345",2,"Hello, world."Now(), 48)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox SEMA.SMSCMessageID, vbOKOnly, "Message ID"End If

,���%�����!�� ��������"�������������%� ���������������� ��#��$�� 1� ����� � � �������#��������%�� �������� ��� � � �?!���� � �#� ������#������8������� ��������8����� �������� ����.�,���?!��$�� �!������������� �������%���������!�������������� �� ������?������������#���������%�� �����.�6��������#

-������� �� ����� .�(�����1� ����8����� #��� #������ �� ���� ��� ���� �����%�� �������� ��#���� �� /�� �� %� �������� ��#���$� �0.�,����?���������%���� %������ ����������.

� (�����1� ��������������� ��� �!�������������� ����� $�� �� ����!� ���������������1��?��!���� L@L��% .�)����������������%�� ���� #��.� :��� ��� ��� ��� ���!� ��� ����� G I��� �����$��JI �����7�!��#?JI ��8��JG����GI��� �������JI �����7�!��$#?JI ��$8��JG�������.�6����� %�L@L��% �����8����� ������� ���G G.

Page 41: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -�

������������������������

�������� ����$�� �����

,��������������������������� ���� ����� ����� ������8�6�������?�������%���8����� �8������������8���8 ���������%���������?������ %���#��- �������.�,���������������� ��������������$�%���?����������� %1��.%.�G-6G���������!���� ����8������������$�����������#��-.�,��1������?������ %���#���

8��������%��!���������������8��"� �����������/�- ������������"0.�� ������������8���8 ���������%����������������������)!�� �!�$������������.������������!����?��!��'

�Dim lResultlResult = SEMA.SMSCSubmitMessage("+491711234567",

"MyCompany","12345",8,"4A3F40A8",Now(), 48)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox SEMA.SMSCMessageID, vbOKOnly, "Message ID"

End If

���������������3��������������3�����

�������� ��$��, ������� �$�� ���

)!���������%��1�� % %��� ��1�%���!�%��!���� ��!�����������%��������!�������� ������8 ���������%����������$�������>��������������.�,��>��������������������&�����8�������8���!� ����#�$����� ������������ �#������������������%��� ��!���������!��!����.,���=�6����!� � �����8��������8�������������%��.

6������������������������������)!�� �!���������������� �����!������������$��$�� �������%���� �� %���>���������������.

�������� ��?��!��'

�Dim lResult, LogoLogo="0605041582158262F21001480E010000000000000003E0000000000000000E18000000000000001DF4000000000000003B7AFCFEFCFC7C7CC776FFFEFEFEFEFEFECE76FFC6C0C6C6C6C6DC0000C6C0C6C6C6C0F80000C6FEFEC6FEC0F05FB7C6FEFEC6FEC0F05FB7C6C0CCC6C6C0F82F6EC6C0C6C6

Page 42: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -"

C6C6DC13CFEFEC6FEC6FECE0C38FCFEC6FCC67CC703E0"lResult =SEMA.SMSCSubmitMessage("+491711234567",

"MyCompany","12345",16,Logo,Now(), 48)

6%� 1������?���������%���� %����"� �����������/�- �8 ���������0.�� ������������8�����%��1�� % %��� ��1����.��������������������!�������#������������8������������������&�����8 ����#�����/ ��������5,,D� ����������#�����0.

�����������,����#��4,���5��������

�������� '��$�� � �����

,�� ��� ����� �8�� 6����� #������ ����� � ��� ������ ��� � ���������.�������1� #��� ��� ��� ����!!����� ������#�� � ���� ���8���8��� ��� ���� ��� ��� ������������1��.%.�� �������6��8� ����������.6��#����$�����> ����������� ����.�� �> ����������������������� $����������%���-$�%���?������������1��.%.� G- 2:6� G.���1�������������������������8������?��������> �������� %�� ������������)!�� �#��������-.��������� ��?��!��'

�Dim lResult, UCS2MessageUCS2Message="403fA100"lResult = SEMA.SMSCSubmitMessage("4491711234567",

"MyCompany","12345",64,UC2Message,Now(), 48)

�����������0��

�������� *��>� %�=��������� ��������� ���� �������%������� ������!?���!�$������� ��� ���� �1�� %��� ��1���� ���##����1�#�����������?���� ������8 ��� ��#���������� %���������� �� �=��$��!�8�����8���!�$ �.�,����?������ %���#�������� %��������%�����- �8������ ��18������=��$��� ���%����!!������!��� %.���������� ��� ��� ������$����� %��������%��.�,��=����� �� ����>����������������/>��0�� �!��8�8���������������.�A����� ��� ��=������������������8����! %�������������� ���� ���#����� �����/�.�%.� � 6 2 � 2,�?�0�� ��� %�����!�� ��"�.��������� ��?��!��'

Page 43: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -2

�Dim lResult, EMSMessageEMSMessage="050A03000210Text "

lResult =SEMA.SMSCSubmitMessage("00491711234567","1234",128,1,1,1,1,EMSMessage,Now(),48)

.�#����#��)����������������

)�� ���� ���%�$�� ����������

���� %�����!�� �#����������� ��#���� ���� ���8��� %��������$%��������������������������%� ���������� ��#���� �������������.,����� ��!!� ����� �����.�� ���������� #���������8���� ��� %�������� ��#���� �� ��� �=�6� ���!� � �� ����� ��$������� ��� ��.�������� ��?��!��'

�Private Sub SEMA_SMSCMessageNotification(ByVal bstrMessageID As String,ByVal bstrMessageTimeStamp As String,ByVal lDeliveryStatus As Long,ByVal lError As Long,ByVal DeliveryTimeStamp As Date,ByVal bstrSMSCMessage As String)

MsgBox "Notification for a message to" & bstrDestination, vbO-KOnly, "Notification"End Sub

,�����!�������������8��G���8G����������� �� %�������� ������!����������%��8�?�����������������%�����#���������%����� ��#$���� �����#��� %���.������� �������% ���� ��#���� �����������%������������������ �K�*���1����8��������%����!����������?��������$#�����������������#�����������������!��!��������%����� ���������8����������%�.�,��1��� ���������������������#����������8$�������������%�������� �����������������������%������������� �$�#���� ��������.��������� ��?��!���#����������!��'

�lpszLastSMSCID = SEMA.SMSCMessageID

Page 44: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � --

>� %���������%������������������ &����?����������� %�#�����������%������ ���� ���� ���� ��#���� ��8����� ��#����������$��������&����������������#��������%�.�

�����������������#��)��������������������

�������� ����� ���%�$�� �� �����$�����

> �7�������((����!� � ������=�6����!� � ������� ����##���� �������������&�������������%����������#��� �����.�� ��!!������������((�������!���� ���� �1��=�6�����������������8��������%��������� ��#���� �� ���!�������������������� #� ���� ���� ���)!�� !������������"��� ���8��� %��������%�.

����)�����������

�����%��� �����

5���� %������%������ �����������!������.�,�������������8�������%��� ��� ����� �!!����� 1� .�.� ����=�6����!� � �1� ��� ���$ �����.�,������ ��������������������&����� 8�� �������%��.�,��������%�������8������������������������!���� ����.�,����������$��� ���� 8�� �������%�������� ������%�

���� ���� �.�,������������ ����)�#���� ������!���������������� ������ �� #������ ��#�� � 8�� �������%�.������ ����!�� ��?$��!������������������� �������� � ���� ��� ��� �����#� ������������%�������� ������#������ ���� #������ �� ����������%���?�'

�Private Sub SEMA_SMSCMessageReceived(ByVal bstrDestination As String,ByVal bstrOriginator As String,ByVal bstrMessage As String,ByVal lOption As Long,ByVal SMSCTimeStamp As Date,ByVal Validity As Date)

Received.AddItem (bstrOriginator & ": " & bstrMessage)End Sub

��� ���#������������������������������� 8�� �����������%��.A����� ����������� �������8���1���� ���������� ����$��������!��$����������� �������!!����� .

�� (�����1� �������� 8�� �������%���� �8��� ������ ���?����������� %��������� ������������ �� �8 ������������ ��� �$

Page 45: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -�

�� ���> ��������������.�� ��������������)!�� �!�������������8����������� %��.

��������������������

�.�/� �����$��� �����

,��������� ��������������!!��������9�����4�������!����?$!�� %�������!�����#� ��� ������#��������"����!� � �.

.�(����������������������##�#�������������������

)�# �� �����$��� � ���� $ � ��� �� ����������

,��9�����4�������!����!!����� �8���������� ������#�� ��� %��#����/�� 0.�6 � ��� ����#��������"����!� � ����!���� ���������#���.� ,���������������� ��������� � ��� ����#� �������"����!�$ � ������� ���.

,�������������"����!� � ������ ��9�����4����!��E���������������!� �� ���#� �����!��E���� #����.�,� ������������������� #���� ��-��7������ ���#�9�����4���.�� ����#����� %�����%1��������G����$�� ����������". G� #���� ��� ���� � ��!������/.� ,������� ���� ����((1����>�(1�����=�6�� ���������"����!� � �����8���������������8�?�/�������������������������� ������#�������!������ �������!!�$���� �#����0.�,�������������"����!� � ����������#����/.�.����������� �������!!����� 0� �����������������"����8���#�����������$8�?�� �������������� %���� ������#���.�,���������������"����!�$ � ����������!��E���.�,� ������� ��� %����� ����!��!������#��� ��������������� ��������������������������#����������������� �!��!�������#��������"����!� � �.

�����������������

���� ������������

,������� ���� ������������ ������������ ��� �����������������%�����������#����������!��#����&�� ��'

�.�=���8��������7����� ����

".�D�%� �����������/6��� ����� 0

2.��� �<������������%��

-.�D�%������#��������

�.�������������7����� ���� �

������!���� �����#������������&�� ������� ��������!!�����������$���#�������%����� ��������������� ������������������������#���� ��#�����������!�������%� .

Page 46: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -�

0��������������1�������������

*�������� � ��+� ������$���

� ����������8���8��������8������������%��������������������������� #���� �� ���� ���� ���� ��� ����8��� �� ���7��� �� ���� � ��� ������� ������1� ����� ��� ,�(<�(� /!�8��� � ��� ��1� ���$�!� ��� ������������� �0�������3."�.�,������8��������7����� ���� ����� ������7 ������,�(<�(����3."�� �����7����������#�����������!�����/����������0�� ����!����/,�(<�(�� ��0�� ����������������������� ������.D��L�����������7�������9�����4�������!������������� ���� '

�Dim lResultlResult = CIMD2.SocketConnect(Address.Text, Port.Text)If (lResult <> 0) Then

MsgBox lResult, vbOKOnly, "SocketConnect"Else

MsgBox "Connected!", vbOKOnly, "SocketConnect"End If

,��������#�������8�� %������7����� ���� ����������������121����������� ����7�������!���������.�,�����7������������ ����!����/ �����&�����#���3."���� ���� �0.�����"������������7������� %������7����� ���� �#���8�������� %�� ���� � %����������$%��.

,��9�����4�������!��������������������#��������� �#�����#������!����!!����� .����1������������������������ �� �#������ $ ���� �������8������8��������� �4��7����$���!�� ������������� �������!��8�����������.�,�����!������������������%��8�?��������������#��������������.

������������!���������7����������������'

�Dim lResultlResult = CIMD2.SocketConnect("192.168.1.1, 5001)If (lResult <> 0) Then

MsgBox lResult, vbOKOnly, "SocketConnect"Else

MsgBox "Connected!", vbOKOnly, "SocketConnect"End If

Page 47: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -�

,�� ���!��� ����� ������ �� ���� ��� ��� ������� ��� ��� ���������".���.�.��������!����� �.

0��������������������������

*�������� � ���� ������$���

) ������������������#������� ��������������������� ������

���������8 ����� ���������� %�����!!��!���������"������ ����������� �������������������.�,��#� ��� �������� ��!��������� ��������"��#������'

�Dim lResultCIMD2.SMSCResponseTime = 10000lResult = CIMD2.SMSCBind(SMSCAccount.Text, Ton.Text,

Npi.Text,SubType.Text, SMSCPassword.Text)

If (lResult <> 0) ThenMsgBox "Authentication failed (" & lResult & ").", vbO-

kOnly, "SMSCBind"

ElseMsgBox "Session opened", vbOKOnly, "SMSCBind"

End If

,�����!������������������������!� ����������� . �������� $���#���.�,������ ���������"����!� � ������������� ����� ���#�������!� ���#������������8�#��������� %����� �������/��������8��$��#�����������0.�,�� �?�����!������������������4 �������� ����������� ���������"�8 ������� ��� ������#������������.�,�������#���!����������#����������4 ������������������������8�!�������8�������������!������.�(�����1�������������+$�%�����#�3����������3�����������#�������%G�#���#������ #������ �� �!���8��������.

�������������!������G����G�������'

lResult = CIMD2.SMSCBind("12345", 1, 1, 1, "pwd")If (lResult <> 0) Then

MsgBox "Authentication failed (" & lResult & ").", vbOKOnly, "SMSCBind"

ElseMsgBox "Session opened", vbOKOnly, "SMSCBind"

End If

Page 48: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -�

,����8,�!������������ ���!�������8��������!������.������;����!�$����������7��������������1�8��������������� .

�� �#�������������� ������!� �� ��������#� ��� ������ ����$�.�:���� �������������������� ��������"$���!�� ������������.

������������������

�������� ��$���

) ������������� ������������������ ������8���������� �� ���!�������������������� ������������� �������������%��.

�Dim lResultlResult = CIMD2.SMSCSubmitMessage(Destination.Text,

Originator.Text, SMSCAccount.Text,MsgOption.Text,MessageTxt.Text,Now(), Validity.Text)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox CIMD2.SMSCMessageID, vbOKOnly, "Message ID"

End If

,�����!�����������������&����������#�������#����� ���������#���������������������������������8�������!��!�������"����� �����������7���� 7�����������.�,����������&��������� !���������� ����� ��� ����6���� �� !��������� /8���6�0� �� �������!�������8�������������!������.��������������!����������������� �������"��#������ �.�,����������������#������������������ ������� ���������.����������8�� �#����������#������ ����� ����������.�� �������#�#���������� �� ��������"$�!��#������������.�) ���������%������8������������������������#������������ ��� ����$��������� ��������������������������8���!� �.�A����� ���&����

Page 49: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � -�

��������������!�����#�������������!�� ����������".��������� ��?��!$��'

�Dim lResultlResult = CIMD2.SMSCSubmitMessage("+491711234567",

"MyCompany","12345",2,"Hello, world."Now(), 48)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox CIMD2.SMSCMessageID, vbOKOnly, "Message ID"

End If

,���%�����!�� ��������"�������������%� ���������������� ��#��$�� 1� ����� � � �������#��������%�� �������� ��� � � �?!���� � �#� ������#������8������� ��������8����� �������� ����.�,���?!��$�� �!������������� �������%���������!�������������� �� ������?������������#���������%�� �����.�6��������#

-������� �� ����� .�(�����1� ����8����� #��� #������ �� ���� ��� ���������%���������� ��#���� �� /.�#����#��)�������������2���0.�,����?���������%���� %������ ����������.

� (�����1� ��������������� ��� �!�������������� ����� $�� �� ����!� ���������������1��?��!���� L@L��% .�)����������������%�� ���� #��.� :��� ��� ��� ��� ���!� ��� ����� G I��� �����$��JI �����7�!��#?JI ��8��JG����GI��� �������JI �����7�!��$#?JI ��$8��JG�������.�6����� %�L@L��% �����8����� ������� ���G G.

������������������������

�������� ����$�� �����

,��������������������������� ���� ����� ����� ������8�6�������?�������%���8����� �8������������8���8 ���������%���������?������ %���#��- �������.�,���������������� ��������������$�%���?����������� %1��.%.�G-6G���������!���� ����8������������$�����������#��-.�,��1������?������ %���#���

8��������%��!���������������8��"� �����������/�- ������������"0.�� ������������8���8 ���������%����������������������)!�� �!�$������������.������������!����?��!��'

Page 50: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � �

�Dim lResultlResult = CIMD2.SMSCSubmitMessage("+491711234567",

"MyCompany","12345",8,"4A3F40A8",Now(), 48)

If (lResult <> 0) ThenMsgBox lResult, vbOKOnly, "Message error"

ElseMsgBox CIMD2.SMSCMessageID, vbOKOnly, "Message ID"

End If

���������������3��������������3�����

�������� ��$��, ������� �$�� ���

)!���������%��1�� % %��� ��1�%���!�%��!���� ��!�����������%��������!�������� ������8 ���������%����������$�������>��������������.�,��>��������������������&�����8�������8���!� ����#�$����� ������������ �#������������������%��� ��!���������!��!����.,������"����!� � �����8��������8�������������%��.

6������������������������������)!�� �!���������������� �����!������������$��$�� �������%���� �� %���>���������������.

��������� ��?��!��'

Dim lResult, LogoLo-go="0605041582158262F21001480E010000000000000003E0000000000000000E18000000000000001DF4000000000000003B7AFCFEFCFC7C7CC776FFFEFEFEFEFEFECE76FFC6C0C6C6C6C6DC0000C6C0C6C6C6C0F80000C6FEFEC6FEC0F05FB7C6FEFEC6FEC0F05FB7C6C0CCC6C6C0F82F6EC6C0C6C6C6C6DC13CFEFEC6FEC6FECE0C38FCFEC6FCC67CC703E0"lResult =CIMD2.SMSCSubmitMessage("+491711234567",

"MyCompany","12345",16,Logo,Now(), 48)

6%� 1������?���������%���� %����"� �����������/�- �8 ���������0.�� ������������8�����%��1�� % %��� ��1����.���������������

Page 51: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

�����!�������#������������8������������������&�����8 ����#�����/ ��������5,,D� ����������#�����0.

�����������,����#��4,���5��������

�������� '��$�� � �����

,�� ��� ����� �8�� 6����� #������ ����� � ��� ������ ��� � ���������.�������1� #��� ��� ��� ����!!����� ������#�� � ���� ���8���8��� ��� ���� ��� ��� ������������1��.%.�� �������6��8� ����������.6��#����$�����> ����������� ����.�� �> ����������������������� $����������%���-$�%���?������������1��.%.� G- 2:6� G.���1�������������������������8������?��������> �������� %�� ������������)!�� �#��������-.��������� ��?��!��'

�Dim lResult, UCS2MessageUCS2Message="403fA100"lResult = CIMD2.SMSCSubmitMessage("4491711234567",

"MyCompany","12345",64,UC2Message,Now(), 48)

�����������0��

�������� *��>� %�=��������� ��������� ���� �������%������� ������!?���!�$������� ��� ���� �1�� %��� ��1���� ���##����1�#�����������?���� ������8 ��� ��#���������� %���������� �� �=��$��!�8�����8���!�$ �.�,����?������ %���#�������� %��������%�����- �8������ ��18������=��$��� ���%����!!������!��� %.���������� ��� ��� ������$����� %��������%��.�,��=����� �� ����>����������������/>��0�� �!��8�8���������������.�A����� ��� ��=������������������8����! %�������������� ���� ���#����� �����/�.�%.� � 6 2 � 2,�?�0�� ��� %�����!�� ��"�.��������� ��?��!��'

�Dim lResult, EMSMessageEMSMessage="050A03000210Text "

lResult =CIMD.SMSCSubmitMessage("00491711234567","1234",128,1,1,1,1,EMSMessage,Now(),48)

Page 52: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � �"

.�#����#��)����������������

)�� ���� ���%�$�� ����������

���� %�����!�� �#����������� ��#���� ���� ���8��� %��������$%��������������������������%� ���������� ��#���� �������������.,����� ��!!� ����� �����.�� ���������� #���������8���� ��� %�������� ��#���� �� �������"� ���!� � �� ����� ��$��������)����.�������� ��?��!��'

�Private Sub CIMD2_SMSCMessageNotification(ByVal bstrMessageID As String,ByVal bstrMessageTimeStamp As String,ByVal lDeliveryStatus As Long,ByVal lError As Long,ByVal DeliveryTimeStamp As Date,ByVal bstrSMSCMessage As String)

MsgBox "Notification for a message to" & bstrDestination, vbO-KOnly, "Notification"End Sub

,�����!�������������8��G���8G����������� �� %�������� ������!����������%��8�?�����������������%�����#���������%����� ��#$���� �����#��� %���.������� �������% ���� ��#���� �����������%������������������ �K�*���1����8��������%����!����������?��������$#�����������������#�����������������!��!��������%����� ���������8����������%�.�,��1��� ���������������������#����������8$�������������%�������� �����������������������%������������� �$�#���� ��������.��������� ��?��!���#����������!��'

�lpszLastSMSCID = CIMD2.SMSCMessageID

>� %���������%������������������ &����?����������� %�#�����������%������ ���� ���� ���� ��#���� ��8����� ��#����������$��������&����������������#��������%�.�

�����������������#��)��������������������

�������� ����� ���%�$�� �� �����$�����

> �7�������((����!� � ���������"����!� � ������� ����##���� �������������&�������������%����������#��� �����.�� ��!!������������((�������!���� ���� �1�����"�����������������8��������$%���������� ��#���� �����!��������������������#������������)!�� !������������"��� ���8��� %��������%�.

Page 53: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � �2

����)�����������

�����%��� �����

5���� %������%������ �����������!������.�,�������������8�������%������������!!����� 1�.�.��������"����!� � �1���� ���$ �����.�,������ ��������������������&����� 8�� �������%��.�,��������%�������8������������������������!���� ����.�,����������$��� ���� 8�� �������%�������� ������%� ����� ���� �.�,����2�������� ����)�#� ��� �� ���� !������ ���� ��� ���� ������ � #������ ��#�� � 8�� �������%�.������ ����!�� ��?��!������������������ �������� ����������������#��������������%������� ������#������ ���� #������ �� ����������%����?�'

�Private Sub CIMD2_SMSCMessageReceived(ByVal bstrDestination As String,ByVal bstrOriginator As String,ByVal bstrMessage As String,ByVal lOption As Long,ByVal SMSCTimeStamp As Date,ByVal Validity As Date)

Received.AddItem (bstrOriginator & ": " & bstrMessage)End Sub

��� ���#������������������������������� 8�� �����������%��.A����� ����������� �������8���1���� ���������� ����$��������!��$����������� �������!!����� .

�� (�����1� �������� 8�� �������%���� �8��� ������ ���?����������� %��������� ������������ �� �8 ������������ ��� �$�� ���> ��������������.�� ��������������)!�� �!�������������8����������� %��.

*������6�-������-�( �����,�-�6�-�����

'�( -�( �����

,�� !��������� ���!��� ���� �������� ��� ��� 8���� �����% %#� ��� ������#� ������C��>�(����!� � �� ����8������ �������8!�%��������8������� � ��� ��� � #������ �������� /���0.� ,�� ���!���� ������#������#���'�

$ ���,�D�#����� �� %���#�������������������������%������� ��/��!.���0

Page 54: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � �-

$ ��������%��!��������� �����,�D�#���/�� �.%#0$ ��6�(�#���!������ %����� #������ �� ����8��� %���������

������� %����>�(��)�� ���#����/!��������%���!.��!0

A�������� ������ ����������,�D�#��������#���������#����������8�!��%���� %� ���� %��,�D�#����.�,������� ������ %�!������� ���� ����6�(�#���/!��������%���!.��!0.�D���������������7������������!���� ��!������#���������������.

�������������� �����������

�Set oUCP = Server.CreateObject("SMSCConnectivity-SDK.UCP.1"

,��� ���#��������������� � ��� ����#����>�(��)�����!� � ��� ����% �������������8��.�,��G������ ���������.>�(.�G���#����������)���8E���C���� �#��.

���� ������ �����������

�oUCP.SocketType = 1

,��� ����8�������% ��������������>�(��8E���C��!��!���������������&���������� ����������������1�.�.�������7�����!�������,�(<�(/�0� ��������.

�lConnectError = oUCP.SocketConnect("192.168.1.1",5008)

,��!���������� ����������� ������������������ ���� .��������� � � ������������������ ���� ����8�� �����8������������#����.��# ��������7������������������8������� ��.�,�� �?�����!���������� �$���������������'

�oUCP.SMSCResponseTime = 10000lResult = oUCP.SMSCBind("Derdack",1,1,1,"password")

,�����!����������������������������#������!� ���#�����������1.�.������?�����������>�(����!� � ������������#���������!� $���8�#��������� %�#����������???�������������������������$�.,� � �� ���� ���������� ���������� %� ����������������.

Page 55: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

) �������� ���� ����8�� �����8������������%���� �8����8��$���.

���������������������������

�Sender = Request.Form("sender")MobilNumber = Request.Form("number")MessageText = Request.Form("msgtext")lResult = oUCP.SMSCSubmitMessage(MobileNumber,

Sender,"Derdack",0,MessageText,0,48)

,���8����� ����#����!����������% �����������#������!��!������������� ������ �� #��������%�� ��8���� 1� .�.� ��� ���%�����8��� !� � ��8��� � ��� ��� ���#�����1������ ���� #������ �� ��������$��%����?�.�,� �������!�����������������������8�������%����$�������� %���������%���!�� ����� �/��!����8����?�������%�0�� ����������� ������� ���������������%����8���� .�,�����$��%������������������-������.

������ ������� ������������

�Result = oUCP.SocketDisconnect()Set oUCP = Nothing

6#�����������#�����8���� ��#�����������%���������������� ���#�������������� ����������#��������� ���� ������������ ��������������� ������ ��� �����#�����)����� ������� ���.�6������8������!�� � ��������������������% �+�� %��������8E���C������8���������������������8E���C�� ��� ���� ��#����� ���������������$����8������8E���.

��--�6�-�����

��(( -�( ��$���

,�� !��������� ���!��� ���� �������� ��� ��� 8���� �����% %#� ��� ������#�������C����((����!� � ������8������ �������8!�%��������8�������� ��� ���� #������ ��������/���0.�,��������� ��� ����##��� ����������>�(�6�(����!�������� %���������������� ������!���������.�,�����!����� ������#������#���'�

$ ���,�D�#����� �� %���#�������������������������%������� ��/��!!.���0

$ ��������%��!��������� �����,�D�#���/�� �.%#0$ ��6�(�#���!������ %����� #������ �� ����8��� %���������

������� %������((��)�� ���#����/!��������%���!!.��!0

Page 56: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

A�������� ������ ����������,�D�#��������#���������#����������8�!��%���� %� ���� %��,�D�#����.�,������� ������ %�!������� ���� ����6�(�#���/!��������%���!!.��!0.�D���������������7������������!���� ��!������#���������������.

�������������� �����������

�Set oSMPP = Server.CreateObject("SMSCConnectivity-SDK.SMPP.1"

,��� ���#��������������� � ��� ����#������((��)�����!� � �� �����% �������������8��.�,��G������ ���������.��((.�G���$#�����������)���8E���C���� �#��.

���� ������ �����������

�oSMPP.SocketType = 1

,��� ����8�������% ����������������((��8E���C��!��!���������������&���������� ����������������1�.�.�������7�����!�������,�(<�(/�0� ��������.

�lConnectError = oSMPP.SocketConnect("192.168.1.1",5008,0)

,��!���������� ����������� ������������������ ���� .��������� � � ������������������ ���� ����8�� �����8������������#����.��# ��������7������������������8������� ��.�,�� �?�����!���������� �$���������������'

�oSMPP.SMSCResponseTime = 10000oSMPP.SMSCBind("SystemID", "SystemType",1,1,3,

"password","",0)

,�����!����������������������������#������!� ���#�����������1.�.� �����?�������������((����!� � ������������ #��� �����$�!� ���8�#��������� %�#����������???������������������������$�.�,� ������� �������������������� %�����������������.

Page 57: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

) �������� ���� ����8�� �����8������������%���� �8����8��$���.�,�������%������������������-������.

���������������������������

�Sender = Request.Form("sender")MobilNumber = Request.Form("number")MessageText = Request.Form("msgtext")lResult = oSMPP.SMSCSubmitMessage(MobileNumber,

Sender,0,1,1,1,1,MessageText,0,48)

,���8����� ����#����!����������% �����������#������!��!������������� ������ �� #��������%�� ��8���� 1� .�.� ��� ���%�����8��� !� � ��8��� � ��� ��� ���#�����1������ ���� #������ �� ��������$��%����?�.�,� �������!�����������������������8�������%����$�������� %���������%���!�� ����� �/��!����8����?�������%�0�� ����������� ������� ���������������%����8���� .�,�����$��%������������������-������.

������ ������� ������������

�oSMPP.SMSCUnbind()Result = oSMPP.SocketDisconnect()Set oSMPP = Nothing

6#�����������#�����8���� ��#�����������%���������������� ���#�������������� ����������#��������� ���� ������������ ��������������� ������ ��� �����#�����)����� ������� ���.�6������8������!�� � ��������������������% �+�� %��������8E���C������8���������������������8E���C�� ��� ���� ��#����� ���������������$����8������8E���.

��,���8�������!��������� ���� ������ ����� �� �� �� $#������ �� �������� %������#������#���.�(�����1���#������������!��C����������������������,�D�� ��6�(������� ���� �#���#������ #��$���� .

�0�6�6�-�����

�*�- -�( ��$���

,�� !��������� ���!��� ���� �������� ��� ��� 8���� �����% %#� ��� ������#�������L���=�6����!� � ������8������ �������8

Page 58: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

!�%��������8������� � ��� ��� � #������ �������� /���0.� ,�� ���!���� ������#������#���'

$ ���,�D�#����� �� %���#�������������������������%������� ��/����.���0

$ ��������%��!��������� �����,�D�#���/�� �.%#0$ � �6�(�#���!������ %����� #������ �� ����8��� %���������

������� %�����=�6��)�� ���#����/!��������%�����.��!0

A�������� ������ ����������,�D�#��������#���������#����������8�!��%���� %� ���� %��,�D�#����.�,������� ������ %�!������� ���� ����6�(�#���/!��������%�����.��!0.�D���������������7������������!���� ��!������#���������������.

�������������� �����������

�Set oSEMA = Server.CreateObject("SMSCConnectivity-SDK.SE-MA.1")

,�� � ���#��������������� � ��� ����#�����=�6��)�����!� � �� �����% �������������8��.�,��G������ ���������.�=�6.�G���$#�����������)���8E���L���� �#��.

���� ������ �����������

�oSEMA.SocketType = 2

,��� ����8�������% ���������������=�6��8E���L��!��!���������������&���������� ����������������1�.�.�������7�����!�������,�(<�(/�0� ��������.

�lConnectError = oSEMA.SocketConnect("192.168.1.1",5008)

,��!���������� ����������� ������������������ ���� .��������� � � ������������������ ���� ����8�� �����8������������#����.��# ��������7������������������8������� ��.�,�� �?�����!���������� �$���������������'

�III Functionality samplesoSEMA.SMSCResponseTime = 10000lResult = oSEMA.SMSCBind("Derdack",1,1,1,"password")

,�����!����������������������������#������!� ���#�����������1.�.� �����?�������� ����=�6����!� � ������������ #��� ��� ��$�!� ���8�#��������� %�#����������???������������������������$�.�,� ������� �������������������� %��������$4 �������.

Page 59: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

) �������� ���� ����8�� �����8������������%���� �8����8��$���.

���������������������������

�Sender = Request.Form("sender")MobilNumber = Request.Form("number")MessageText = Request.Form("msgtext")lResult = oSEMA.SMSCSubmitMessage(MobileNumber,

Sender,"Derdack",0,MessageText,0,48)

,���8����� ����#����!����������% �����������#������!��!������������� ������ �� #��������%�� ��8���� 1� .�.� ��� ���%�����8��� !� � ��8��� � ��� ��� ���#�����1������ ���� #������ �� ��������$��%����?�.�,� �������!�����������������������8��$�����%����$�������� %���������%���!�� ����� �/��!����8����?�������%�0�� ����������� ������� ���������������%����8$���� .

,�������%������������������-������.

������ ������� �������������

�Result = oSEMA.SocketDisconnect()Set oSEMA = Nothing

6#�����������#�����8���� ��#�����������%���������������� $ ���#�������������� ����������#��������� ���� ������������ ��������������� ������ ��� �����#�����)����� ������� ���.�6������8������!�� � ��������������������% �+�� %��������8E���L������8���������������������8E���L�� ��� ���� ��#����� ����$�����������$����8������8E���.

������6�-�����

�.�/� -�( �����

,�� !��������� ���!��� ���� �������� ��� ��� 8���� �����% %#� ��� ������#�������L������"����!� � ������8������ �������8!�%��������8������� � ��� ��� � #������ �������� /���0.� ,�� ���!���� ������#������#���'

$ ���,�D�#����� �� %���#�������������������������%������� ��/���".���0

$ ��������%��!��������� �����,�D�#���/�� �.%#0$ ��6�(�#���!������ %����� #������ �� ����8��� %���������

������� %��������"��)�� ���#����/!��������%����".��!0

Page 60: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � �

A�������� ������ ����������,�D�#��������#���������#����������8�!��%���� %� ���� %��,�D�#����.�,������� ������ %�!������� ���� ����6�(�#���/!��������%����".��!0.�D���������������7������������!���� ��!������#���������������.

�������������� �����������

�Set oCIMD2 = Server.CreateObject("SMSCConnectivity-SDK.CIMD2.1")

,��� ���#��������������� � ��� ����#��������"��)�����!� � �� �����% �������������8��.�,��G������ ���������.����".�G���$#�����������)���8E���L���� �#��.

���� ������ �����������

�oCIMD2.SocketType = 1

,��� ����8�������% ������������������"��8E���L��!��!���������������&���������� ����������������1�.�.�������7�����!�������,�(<�(�/�0� ��������.

�lConnectError = oCIMD2.SocketConnect("192.168.1.1",5008)

,��!���������� ����������� ������������������ ���� .��������� � � ������������������ ���� ����8�� �����8������������#����.��# ��������7������������������8������� ��.�,�� �?�����!���������� �$���������������'.

III Functionality samplesoCIMD2.SMSCResponseTime = 10000lResult = oCIMD2.SMSCBind("Derdack",1,1,1,"password")

,�����!����������������������������#������!� ���#�����������1.�.������?���������������"����!� � ������������#��������$�!� ���8�#��������� %�#����������???������������������������$�.�,� ������� �������������������� %��������$4 �������.

Page 61: Manual Smsc Sdk

����:� ��� ��������!���

������� ���������� � ��

) �������� ���� ����8�� �����8������������%���� �8����8��$���.

���������������������������

�Sender = Request.Form("sender")MobilNumber = Request.Form("number")MessageText = Request.Form("msgtext")lResult = oCIMD2.SMSCSubmitMessage(MobileNumber,

Sender,"Derdack",0,MessageText,0,48)

,���8����� ����#����!����������% �����������#������!��!������������� ������ �� #��������%�� ��8���� 1� .�.� ��� ���%�����8��� !� � ��8��� � ��� ��� ���#�����1������ ���� #������ �� ��������$��%����?�.�,� �������!�����������������������8��$�����%����$�������� %���������%���!�� ����� �/��!����8����?�������%�0�� ����������� ������� ���������������%����8$���� .

,�������%������������������-������.

������ ������� ������������

�oCIMD2.SMSCUnbind()Result = oCIMD2.SocketDisconnect()Set oCIMD2 = Nothing

6#�����������#�����8���� ��#�����������%���������������� ���#�������������� ����������#��������� ���� ������������ ��������������� ������ ��� �����#�����)����� ������� ���.�6������8������!�� � ��������������������% �+�� %��������8E���L������8���������������������8E���L�� ��� ���� ��#����� ����������������8������8E���.

Page 62: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �"

�������������������������������������������������

8�����������#���#��������������� �� ��������

,�-������#�3��)������#�����������

'�( ���� �� ��������

:���4�5����/�������#������������������������ ����������������#������������������������������/�/����������������������9<������#�����4�5�/�������#������������

� ��� ����� ������� �����!""����#�� ���$ ��%:��������������������������������������������������������������7���������2������9����������)��#�������������������������������������������������#������ �/��������������������:�/��/�/9������������������������������������������:�5=75���1�� �������9������������������:���#���������������������������/������#����������;

� ��� ������� ����%�������#����������������#�������������:���������������������9���� ��� �/����� 4�5� >�������>� ������� ��� ���� ����� ��#���������������������������������:���8�����������/�����������#���9

�������� #�$%�%� �

8���6������ 6�4�,5�/��� %0�!��������������!���� ���������7��� �����7���������/�����,�<�(����3."�01��.%.�G��".���.��.�G�#���,�(<�(��� ��$�� �.

�(��� 5�!���� ������!��������������#���,�(<�(��� ���� ��� ��

Table 1: SocketConnect() parameters

Page 63: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �2

�������������������������������������������:���������/��9���������������������������8�����������������������)�������/���������/���������������?����������##����

� ��� �����&'�����������������������������������/���#�����������������������:������������>����9����>�

� ��� ����(������� �����!""����#�� ���$ ��%4�����8������������������������������������������������������:�5=75���1�� ��������������������������������������������������������������������/������������@4�5A������������������������������##��������������������������������������9����������������������:������������/�������������-���������������������/����������������������/����7�������/���������������������������������/��������:�5=75�������������#������������

:����������������3������������������������B������������:�5=75����9�����/����7��������'��#������������������������������������B������9����#�������)��#������������B�����#�����5����8�����������������/�����������������������������//�������������������������9/�����:���#���������������������������/������#�����������;

� ���)���"���� �����*!"�#��� ����*+#��� ���+$,#��� �����-$#��� �����$���. �"%C���������������������������/����� �-���� �����������������������������#��������������������������:�������2���������������������������������4�5�������������������������������������������������#������������������������������������?�������:���#������������������)���������#�������������4�5

�������� #�$%�%� �

8���6������ 6�4�,5�/��� %0�!��������������!���� ���������������7��� �����7���������/�����,�<�(����3."�01��.%.�G��".���.��.�G�#��� 8�� ��,�(<�(���� ���� ���� �.�,����������������������!� ���������(����������#���������!����.�> ����������������� �����������������"�. . .��8��������������������� ����������������������(��������.�A����������!���$�������� �������7 �������������.

�(��� 5�!���� ������������!��������������#��� ��� %�,�(<�(���� ���� $ ���� �.�(�����1���7����������!������ �������������8��� ��������!!�$���� ��� %�� ���������������!����.�>������1������������!�������������������7 ������!���� ��8���������.

Table 2: SocketListen() parameters

Page 64: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �-

����������������#����/��������7������������9'��#�������������9����8��������������#���������������������������������/���#��������������/�/��������0������������:�����������������9����������#��������/�����������������������������������-���� ���� ����� �/������ @����� �#� ���� //�������� ��� ������#��������������:�5=75�������������A��:�����������������#�����9����/�����;

��,��������� ���������������� �����!!����9�����!��$��� %������ ��#���!���������!����� �����8���7�� ������������$ !����� .

� ���)�� ��' �����:���������������/������������D��������������������������������/�����������������#�������������������������������������������� �/��������������-�������#�����������������������/�����#��������������������������������������������������/�#�������4�����8��������#� )))9'))))��������������//�9/�����7#� ��������������������/����������������������������#�������������������9'�

� ���)�������)���������� ����������� #���� �����*���/� �#���� �����!�#�� ���*'� #���� �����)������#��!�0����%

�������� #�$%�%� �

)6�� 6�4�,5�/��� %0�!��������������!�������8�������;��� �����7��!�$������� ��!���� ������G6��������������% ����G1�.�.��������������!!�$���� .�������������������������������� ��� �#������>�(������ ���� �#��.

,)+ 6��������������!���� � %����G)�% �������!���#� ��8��G�8���������������#�� ������#��� ��� ���8�� %�!��!�����8���������.��#��������� ���8�� �!�����������������������.

+(� 6��������������!���� � %����G)�% ����� ��8�� %�!�� G�8���������������#�� ������#��� ��� ���8�� %�!��!�����8���������.��#��������� ���8�� �!�����������������������.

�,A( 6��������������!���� � %����G��8��!���#��!����� G.�:������ �����������!����� �����������������8�� ��������!� � %�� ������;��� �����7��!������.

8���(������� 6�4�,5�/��� %0��������� �� %����!��������!�������8��������!�������#�����%% %� ����������.

Table 3: SMSCBind() parameters

Page 65: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

:������������������������������������������:���������������������)���������#�������������4�5�����������������������9���������������#������7�����9'���������������������������/������������������������/���#���������������/�/��������0�����1��������:���#���������/���������-����;�

) ��������������%������8������������������������#��������#��$��� %�����!��!������������ �� �������� �#���� � #������ �#�����!��������������%�.

��,��������� �������������������>�(��!����� ��������8��������%��.�,���������������� ������#��������� %��!���$�� � ��#��������%����8���� .

��� ��)��)������,�

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0���������!���� � %������8���!� �� ��8��������� ����������%����.�������8���� ��������� %�� ��1��.%.�G -����"2-���G.�(�����1������#������������!���������&����������$� %�G G�#��� ��� ��� �����8��� ��8���.

8���)�% ���� 6�4�,5�/��� %0��������� �� %������ ���� #������ ��������� ��� ���������%�����������������8��.������ �8��� ���!� ��������� %�8��������������!��������%�� �����!!�����.�(�����1������#���!�$ �������� �����������!!�����.

8���6� 6�4�,5�/��� %0���������!���� � %����G6��� ����� ������)�% ����G��������������!���� ������D��%��6���� �1�.�.�����������������������.�������8��!�������8�������������!������.

�)!�� 6��� %���������!���� � %�������������%���!�� .�(�����1�����8�����#����������#������8����!�� �.��%���##��������� �� ���#����8������$��%��!�����������!� � %�� ���������.

8��������%8� 6�4�,5�/��� %0���������!���� � %�������������%�.������������8��!�� �6�������� %�/��?.��� ����������01��.%.�G�����G����� �6�������� %�� ��� %�8 �������> ����������%���G-:2=� "�G���!� � %�� �����)!�� ������.

,�� 6��6,=���������!���� � %��������������������%��������8�����$�����.�,�������%�������������8�������������������������������� ���7���������#��������������������� �������)!�� �����������.

�9����� 6��� %��������� �� %�����������!������#���������%�� �����.�,����?������������!� ���� ����������!�������8����� %���8����� �-��� ���"�����.�,���������!����������� �������� %��������%�����������8����������� ������� %����������������������������8��� �����������8����� ��������8��.

Table 4: SMSCSubmitMessage() parameters

Page 66: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

������������������������������������������������#�������������������������������:�������������/��������������������1����,�����������������������������������������#���������:�����������/��������������#��������������������������������������������#�������

��� ��)��)�������������'������������������������������������������/�#����������������9����������������:�����������/������������������������������-�����#��������#������������������������#���������:������������/������������������������,��������������������������������/��#���������������������������#����������:���#������������ ��EE�������

�����������������������//������������ ����������������#�����������#��������������������������@������������'A��:�������������#���#���/���������������������������������������/����-��������������������/���/����.�������@��������#�'A�7���������������������������������#��������������������������9���������/���������������

� ��������������������� ��������� �����1��%:���������������������� ����//��������������������������������/������������-����������4����������#������������������ ����������������� #���� #���� @����� �� ������//�����������/��� #����A�� :���������� ������ )� #�� �������� �� 9'� �#� ���� #����������������������@������#�����������#�������������?������/����A�:���#��������������������/����;

� ��2��'!���,�������� ����� ����������� ���������� ���� ������� �������� ������������������ �#� ���/� ����� �������� @��-���� ����� ������A� ��

�������� #�$%�%� �

8���:�� 6�4�,5�/��� %0��������� �� %����#����!���� ��#��� ����#��������$���������� ����� ���8���#��.�(�����1����������7����������!���������.���� ����#����.���#���#������ #������ �� ����#���#�����.

Table 5: SetCharacterTranslationTable parameter

Page 67: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

�����#�����������������������������:���������/����������������9����������������������������������

F�����#�);�C�����/�������������������������

�������������;� �������������������������

C������� ������ �� ���� /��������� &�� ��������� � ����� �#.)8)))��5����8�����������������/������#���������������#��������9������������������������������������@�������������������9��2���A� ��� �������#����� ����������� ���� ���/� ����� ��������������#�����������#�����/�/����������������)�����/���������9����� �� ����� ����� ��� ���� �#� ��� �##��=���������� #�� ���� ����������#����������������������� ����/�/���� ���)���������������������� ��� ����� ����������� ����� ����� ���� ����������� �#���/�������������������������8�������������/�/���������������������)����������������������������������

� �����(����2�&���� �����2�&%:����������������������#������������#��������/������#�������9���������:����������������9'�#�������������������8�)�#�������������#��������������������/����8�'�#���������������9�����������������#������������������������:����������������/��9��;

� ������ ��"�� ��� ������"%:�������������#�������������������������������������������������������������������:���8����������� ����#�������#��������������������������������������������������������������������������4����B���� ������� � ������� ������ ��� ��������� ������� ������������������������������� ������������������ �#� �������������������������������#����������8� ��������������������������������/��������7�����������������������������������������9

�������� #�$%�%� �

8������ 6�4�,5�/��� %0��������� �� %������� ���7���!�������8���������������������.�������8��� ������$5)�������$5)��E���������.

Table 6: SetLicenseKey parameter

Page 68: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

������������������������������������������������������������������

�)��)������+ ����� ���� ����������� #���� �����)�����/��������'#�� ���������&������#�� ���0�� �#��!�0�������&����/���'#���� ������)��)������%:�������������#�����������//���������/�������/���#�����������9��� ����#�������� ���� �������� ����#�������� �� ���������� ��� �������������������#���������������������������������"/����/���������������:����������������#���������/�����;

�)��)������ �����"���� ����������� #���� �����*���� �#��� �����)������#�� ���*'� #��!�0��)���������'#��!�0�3�/�"�&%:�������������#�������������������������������������������#���������������������������������������������/�������������������������������������������������������������������������������:����������������#���������/�����;

�������� #�$%�%� �

�5������� 6��� %������������ ������� ����.

Table 7: SocketClosed parameter

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0��������� �� %�������%�����8���!� �� ��8��1��..%������% ������!� �������� ����������%����.

8���,$������!

6�4�,5�/��� %0��������� �� %������% ���������������!��#���������%��/��������� ���&�������0.�,��#������������8�����$�AA������.

�����������$���

6��� %���������!���� � %��������������������#���������%�.�2���� ������������ #����.������ �� ����������������8������������ ��������.

�=���� 6��� %���������!���� � %��������� ������#����� � �$�������������� %�������>�(�!���������!��#���� �.

�������,$������!

6��6,=���������!���� � %����# ����������������#���������%�� �����������8�� ������������������8����������#����.

8�������������%�

6�4�,5�/��� %0��������� �� %������ �����?�� #������ �#�����������.

Table 8: SMSCMessageNotification event parameters

Page 69: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

�� ���)������*������������������������������������� ���@ ���������������A����������������������������2����#���� ������)��:�����������>��������>�

�� ���)������,����������������������������� ���#�������������������������9�����:������������>������>�

��,��������� ������������� �� ���� 8�� ���������$��%�����8����������%�8����!����� � ��� ����.

��--������#�3��)������#�����������

��(( ���� �� ��������

:�����55����/������ �#� ����������������������� �� ��������������#������������������������������/�/���������������������<������#�������55�/�������#������������

� �� � ����� ������� � ����!""����#� � �� �$ ��#� �**(� �����/$ ��%:��������������������������������������������������������������7���������2������9����������)��#�������������������������������������������������#������ �/��������������������:�/��/�/9������������������������������������������:�5=75���1�� �������9������������������:���#���������������������������/������#����������;

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0��������� �� %�������%�����8���!� �� ��8�����������%�������� ����.

8���)�% ���� 6�4�,5�/��� %0��������� �� %������ ���C����8���!� �� ��8��.

8��������%� 6�4�,5�/��� %0��������� �� %�������������%��������������!�� ��8��6����������%�������6������?�������������%����� %.

�)!�� 6��� %��������� �� %�#������ #������ �� �������������������$��%��� ��� ����� ��� %��#���������%�1��.%.�#�������8 ���������%������� �� ���?��������� ������> ��������������.

����,$������!

6��6,=���������!���� � %�����������!��#�������������%�����$% ���8���������.

9����� 6��6,=��������� �� %��������� �����������%��������.

Table 9: SMSCMessageReceived event parameters

Page 70: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �

� ��� ������� ����%�������#����������������#�������������:���������/��9���������������������������8�����������������������)�������/���������/���������������?����������##�����&��������������������$�����������#�����������������������������2�,������9#�������������(������������"������������������������#��������������������������������55�����������������������������

� ��� �����&'�����������������������������������/���#�����������������������:������������>����9����>�

� �� �)���"���� � �����&����,�#� ��� � �����&�����&'�#� �� ���*+#��� ���+$,#� � �� �3��� #���� �����$���. �"#���� �����!"/"���� ���#��**(�����������%2�#��������������������������������55����������������������������� ������������������� ����������������� ������������#�������������������������������������?������@���(����1���A��:���#������������������)���������#�������������4�5����������������#����/��������7������������9'��#�����������������8�������������#���������������������������������/���#��������������/�/��������0������������:�����������������������55�����������#�#������:�����������������#���������/�����;

�������� #�$%�%� �

8���6������ 6�4�,5�/��� %0�!��������������!���� ���������7��� �����7���������/�����,�<�(����3."�01��.%.�G��".���.��.�G�#���,�(<�(��� ��$�� �.

�(��� 5�!���� ������!��������������#���,�(<�(��� ���� ��� ��

8� %��(��� >������1�����((��� ���� ���&������������7����� ���� �.�) ��#������ ���� %�� ��� ��#�������� %����������%��.��������1������������!��������� ���!��������!�����#���� ���� %������%������� ����8����!����� ��� ���� %������7����� ���� .�������������������� ���������������� ���.���������� �#�������� �����"$!����������� ���� .

Table 10: SocketConnect() parameters

�������� #�$%�%� �

8����������� 6�4�,5�/��� %0�!��������������!�������8�������;��� �����7��!�$������� ��!���� ������G���������G1�.�.��������������!!����� .�

8���������$,�!�

6�4�,5�/��� %0�!��������������!�������8�������;��� �����7��!�$������� ��!���� ������G�������,�!�G1������������������� ��� #��$���� ������ �#��������!!����� .

Table 11: SMSCBind() parameters

Page 71: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

���#���������'�����!����������#����������������������������� �������������������������������!��#�������8 ���!��$��� �� �8������7����� ���� ��/��� �������� ���������0.��#�� ���!$����� � #���� �� !��#����� � � � 8 �� �!����� � � � ���� ����8������ ���� �.

� �� �)���"04���� � �����&����,�#��� � �����&�����&'�#�� ���*+#�� ��� +$,#� �� �3��� #��� � ����$���. �"#��� � ����!"/"���� ���#�**(�����������%:�����������������D��������������2�����:����������##�����������8��#��9������)���#�������������8������������������ 0�0�+0 ������:�������2�����������������������������������9 6'���990 �

� ���)�� ��' �����:���������������/������������D��������������������������������/�����������������#�������������������������������������������� �/��������������-�������#�����������������������/�����#��������������������������������������������������/�#�������4�����8��������#� )))9'))))��������������//�9

,)+ 6��������������!���� � %����G,�!���#� ��8��G��#������������#���������!!����� �/�.%.���,�(<�(��������0�8���������������#�� ������#��� ���$ ���8�� %�!��!�����8���������.��#��������� ���8�� �!�����������������������.

+(� 6��������������!���� � %����G+��8�� %�!�� G��#������������#���������!!����� �/�.%.���,�(<�(��������0�8���������������#�� ������#��� ���$ ���8�� %�!��!�����8���������.��#��������� ���8�� �!�����������������������.

�9���� 6��� %���������!���� � %������((� ���#��������� �������!!����� ���!!����.������������������!���� ���� ����&������� ���%�������1�.�.�2.���������� ���!���� ���� ���?!���������$�%�������1�.�.�22����2-.

8���(������� 6�4�,5�/��� %0��������� �� %����!��������!�������8��������!�������#�����%% %� ����������.

8���6������$5� %�

6�4�,5�/��� %0��������� �� %����� %���#���8���!� �� ��8���������� ��� �������%������������!!����� .�,��#������������8��#��� ��� ����"2-�I��$��J�8�����!� ���� ����������!������.�(�����1���7�#���#������������������������!���#���������� ����.

8,�� ������ 6�4))D������� ���� %�#���� ���� %�� ������� %����������%���������8��� ����������� %���!���.��#����������������������������1����������������������������'����%!����������#�������������������������.�:������ �������((�� 7�����!������������������ .

�������� #�$%�%� �

Table 11: SMSCBind() parameters

Page 72: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �"

/�����7#� ��������������������/����������������������������#�������������������9'�

� ���)�������)���������� ����������� #���� �����*���/� �#� � �� �*'� #� �� ��� ����*+#� �� ��� ���+$,#� �� ��� �����*+#�� �������+$,#���� �����)������#��!�0����#�� ���3��"�&%:������������������������������������������:���������������������)���������#���������������55�����������������������9���������������#������7�����9'���������������������������/������������������������/���#���������������/�/��������0�����1��������:���#���������/���������-����;

Page 73: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �2

) ��������������%������8������������������������#��������#��$��� %�����!��!������������ �� �������� �#���� � #������ �#�����!��������������%�.

�� ,��������� ���������������� �����((��!����� ��8��M��������8��������%��.����������%���������8�������������#�����!������/ 0.

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0���������!���� � %������8���!� �� ��8��������� ����������%����.�������8���� ��������� %�� ��1��.%.�G -����"2-���G.�(�����1������#������������!���������&����������$� %�G G�#��� ��� ��� �����8��� ��8���.

8���)�% ���� 6�4�,5�/��� %0��������� �� %������ ���� #������ ��������� ��� ���������%�����������������8��.������ �8��� ���!� ��������� %�8��������������!��������%�� �����!!�����.�(�����1������#���!�$ �������� �����������!!�����.

�)!�� 6��� %���������!���� � %�������������%���!�� .�(�����1�����8�����#����������#������8����!�� �.��%���##��������� �� ���#����8������$��%��!�����������!� � %�� ���������.

���,)+ 6��������������!���� � %����G,�!���#� ��8��G�#������8���)�% ����������.�>����������#����.

���+(� 6��������������!���� � %����G+��8�� %�!�� G�#������8���)�% ����������.�>����������#����.

����,)+ 6��������������!���� � %����G,�!���#� ��8��G�#������8������� ��� ������.�>����������#����.

����+(� 6��������������!���� � %����G+��8�� %�!�� G�#������8������� ��� ������.�>����������#����.

8��������%� 6�4�,5�/��� %0���������!���� � %�������������%�.������������8��!�� �6�������� %�/��?.��� ����������01��.%.�G�����G����� �6�������� %�� ��� %�8 �������> ����������%���G-:2=� "�G���!� � %�� �����)!�� ������.

,�� 6��6,=���������!���� � %��������������������%��������8�����$�����.�,�������%�������������8�������������������������������� ���7���������#��������������������� �������)!�� �����������.������ ���� �������.

�9����� 6��� %��������� �� %�����������!������#���������%�� �����.�,����?������������!� ���� ����������!�������8����� %���8����� �-��� ���"�����.�,���������!����������� �������� %��������%�����������8����������� ������� %����������������������������8��� �����������8����� ��������8��.��������'��#���������������� �����!$!�������!���������!���������������������� .

Table 12: SMSCSubmitMessage() parameters

Page 74: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �-

������������������������������������������������#�������������������������������:�������������/��������������������1����,�����������������������������������������#���������:�����������/��������������#��������������������������������������������#�������

�����������������������//������������ ����������������#�����������#��������������������������@������������'A��:�������������#���#���/���������������������������������������/����-��������������������/���/����.�������@��������#�'A�7���������������������������������#��������������������������9���������/���������������

��� ��)��)�������������'������������������������������������������/�#����������������9����������������:�����������/���������������������������9���������������#��������55�/�������

� �� �)��5���&���������� � ����)������,�#� ��� � ����*���� �#�� ������+$,#��� �������*+%���������#���-�������������������#�������������/�������������������������������:��������������������9'���������#�����9������������������/���������������������������:���#���������/9���������-����;

� ���)��06���(���**(��(�1���%:���������/�������������#�������55����/�������������������9���� ������� ������55������� �-��������������#� >7�������>9���������������#����������������������8�������#��������������9���������������������E������������������������#�����������9

�������� #�$%�%� �

8��������$%���

6�4�,5�/��� %0�������������!� � %����������������%����!��!���������%����� �������% ������� ����������%������������.

8���)�% ���� 6�4�,5�/��� %0���������!���� � %������% ����� ���� #������ ��#����������!� � %������%�������� ������������.

���+(� 6�������������� �� %����������+(���#������% ��������%�.

���,)+ 6�������������� �� %����������,)+��#������% ��������%�.

Table 13: SMSCQueryStatus parameter

Page 75: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

������55��������@6CG47,6H37C�A��:���������������������/����;

� (�����1� �����������#� ��� ����8�������8������� �".�

� ��2��'!���,�������� ����� ����������� ���������� ���� ������� �������� ������������������ �#� ���/� ����� �������� @��-���� ����� ������A� �������#�����������������������������:���������/����������������9����������������������������������

F�����#�);C�����/�������������������������

�������������; �������������������������

C������� ������ �� ���� /��������� &�� ��������� � ����� �#.)8)))��5����8�����������������/������#���������������#��������9������������������������������������@�������������������9��2���A� ��� �������#����� ����������� ���� ���/� ����� ��������������#�����������#�����/�/����������������)�����/���������9����� �� ����� ����� ��� ���� �#� ��� �##��=���������� #�� ���� ����������#����������������������� ����/�/���� ���)���������������������� ��� ����� ����������� ����� ����� ���� ����������� �#���/�������������������������8�������������/�/���������������������)����������������������������������

&������������������������������������#�����#�������������6�9-���3����������������������������������#��������������

� ��������������������� ��������� �����1��%:���������������������� ����//��������������������������������/������������-����������4����������#������������������ ����������������� #���� #���� @����� �� ������//�����������/��� #����A�� :���������� ������ )� #�� �������� �� 9'� �#� ���� #���

�������� #�$%�%� �

8D 7:��% 6�4))D������� ���� %����� 7�/��� �����������������0�������� ������������8��������((������ �.�>��� ������8����������� ����������� �������� 7�� ���������8�������������������� 7.�(�����1���7����������������������!� ������������ 7��� #%����� �/����������������� ���������0.

Table 14: SMSCEnquireLink parameter

Page 76: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

�������������������@������#�����������#�������������?������/����A�:���#��������������������/����;

� �����(����2�&���� �����2�&%:����������������������#������������#��������/������#�������9���������:����������������9'�#�������������������8�)�#�������������#��������������������/����8�'�#���������������9�����������������#������������������������:����������������/��9��;

� ������ ��"�� ��� ������"%:�������������#����������������������������������������������������� ��� ������� @��55� ������ �� ������� ������ ���� /����������������������A��:���8����������� ����#�������#��������������������������������������������������������������������������4����B���� ������� � ������� ������ ��� ��������� ������� ������������������������������� ������������������ �#� �������������������������������#����������8� ��������������������������������/��������7�����������������������������������������9������������������������������������������������������������������

�������� #�$%�%� �

8���:�� 6�4�,5�/��� %0��������� �� %����#����!���� ��#��� ����#��������$���������� ����� ���8���#��.�(�����1����������7����������!���������.���� ����#����.���#���#������ #������ �� ����#���#�����.

Table 15: SetCharacterTranslationTable parameter

�������� #�$%�%� �

8������ 6�4�,5�/��� %0��������� �� %������� ���7���!�������8���������������������.�������8��� ������$5)�������$5)��E���������.

Table 16: SetLicenseKey parameter

Page 77: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

� *��������� ���������������!� � %���������7����� ��$�� �� ������������7������������ ����#����/� ���������� ���������������7�������������0�8�#������$����8�� %���������� 7���%� .,�� ���� ����� ����� ��%� � !��8����� ��� %� #���� ���8���� ������� ������������������� 7�.

�)��)������+ ����� ���� �����)������,�#���� �����)�����/��������'#�� ���������&������#�� ���0�� �#��!�0�������&����/���'#���� ������)��)������%:�������������#�����������//���������/�������/���#�����������9��� ����#�������� ���� �������� ����#�������� �� ���������� ��� �������������������#���������������������������������"/����/���������������:����������������#���������/�����;�

�)��)������ �����"���� ����������� #���� �����*���� �#��� �����)������#�� ���*'� #��!�0��)���������'#��!�0�3�/�"�&%

�������� #�$%�%� �

�5������� 6��� %������������ ������� ����.

Table 17: SocketClosed parameter

�������� #�$%�%� �

8��������$%���

6�4�,5�/��� %0��������� �� %��������������%����������!� � %��������������#����������%������ ���������%��������8�����.

8���,$������!

6�4�,5�/��� %0��������� �� %������% ���������������!��#���������%��/��������� ���&�������0.������ ���� �������.

�����������$���

6��� %���������!���� � %��������������������#���������%�.�2���� ������������ #����.������ �� ����������������8������������ ��������.

�=���� 6��� %���������!���� � %��������� ������#����� � �$�������������� %���������((�!���������!��#���� �.

�������,$������!

6��6,=���������!���� � %����# ����������������#���������%�� �����������8�� ������������������8����������#����.�,��#������������8��AA������.

8�������������%�

6�4�,5�/��� %0��������� �� %������ �����?�� #������ �#�����������.

Table 18: SMSCMessageNotification event parameters

Page 78: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

:�������������#�������������������������������������������#���������������������������������������������/�������������������������������������������������������������������������������:����������������#���������/�����;

�� ���)������*��$�&� �"�&'��� ����� ����� ������ ���������� ���� /����� ��/�� #�� ����������������

�**(�)������*��$�&� �"�����������������������������#�������������������� 0�����������������������

�� ���)������*������������������������������������� ���@ ���������������A�������������������������������2����#���� ������)��:������9������>��������>�

�� ���)������,����������������������������� ���#�������������������������9�����:������������>������>�

�0�6������#�3��)������#������������

�*�- ���� , �%�� �� ����$����

:����6������/������ �#� ����������������������� �� ��������������#������������������������������/�/���������������������<������#������6���/�������#������������

� ��� ����� ����($���� �����!""����#�� ���$ ��%

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0��������� �� %�������%�����8���!� �� ��8�����������%�������� ����.

8���)�% ���� 6�4�,5�/��� %0��������� �� %������ ���C����8���!� �� ��8��.

8��������%� 6�4�,5�/��� %0��������� �� %�������������%��������������!�� ��8��6����������%�������6������?�������������%����� %.

�)!�� 6��� %��������� �� %�#������ #������ �� �������������������$��%��� ��� ����� ��� %��#���������%�1��.%.�#�������8 ���������%������� �� ���?��������� ������> ��������������.

����,$������!

6��6,=���������!���� � %�����������!��#�������������%�����$% ���8���������.�

9����� 6��6,=��������� �� %��������� �����������%��������.�

Table 19: SMSCMessageReceived event parameters

Page 79: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

:��������������������������������������������������������������

7���������2������9����������)��#����������������������������

���������������������#������ �/��������������������:�/��/�/9������������������������������������������:�5=75���1�� �������9������������������:���#���������������������������/������#����������;

� ��� ������� ����%�������#����������������#�������������:���������������������9��������/������6���>�������>����������������������#���������������������������������:���8�����������/�����������#���9�������������������������������������������:���������/��9���������������������������8�����������������������)�������/���������/���������������I����������##����

� ��� ����(������� �����!""����#�� ���$ ��%4�����8������������������������������������������������������:�5=75���1�� ��������������������������������������������������������������������/������������@�6��A������������������������������##��������������������������������������9����������������������:������������/�������������-���������������������/����������������������/����7�������/���������������������������������/��������:�5=75�������������#������������

:����������������3������������������������B������������:�5=75����9�����/����7��������'��#������������������������������������B������9����#�������)��#������������B�����#�����5����8�����������������/�����������������������������//�������������������������9/�����:���#���������������������������/������#�����������;

�������� #�$%�%� �

8���6������� 6�4�,5�/��� %0�!��������������!���� ���������7��� �����7���������/�����,�<�(����3."�01��.%.�G��".���.��.�G�#���,�(<�(��� $ ��$�� �.

�(��� 5�!���� ������!��������������#���,�(<�(��� ���� ��� ��

Table 20: SocketConnect Parameters

Page 80: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �

� ��� �����&'�����������������������������������/���#�����������������������:������������>��������>��������������

� �� �)���"�($���� � ����*!"�#� �� ��� �*+#� �� ��� +$,#� �� ����-$#�($���� �����$���. �"%C���������������������������/����� �-���� �����������������������������#��������������������������:�������2����������������������������������6���������������������������������������������������#������������������������������������I�� ����� :��� #�������� ����� ����� )� ��� ���� �#� �������� �� ��6�������������������#����/��������7������������9'��#��������� ����9���8� ������������� #������������������� ���� ���������/���#���������������/�/��������,��/����:����:��������������������������#��������/�����������������������������������-��������������/������@������#�����//���������������9��#���������������:�5=75�������������A��:����������������#���������/�����;�

�������� #�$%�%� �

8���6������ 6�4�,5�/��� %0�!��������������!���� ���������������7��� �����7���������/�����,�<�(����3."�01��.%.�G��".���.��.�G�#��� 8�� ��,�(<�(���� ���� ���� �.�,����������������������!� ���������(����������#���������!����.�> ����������������� �����������������"�. . .��8��������������������� ����������������������(��������.�A����������!���$�������� �������7 �������������.

�(��� 5�!���� ������������!��������������#��� ��� %�,�(<�(���� ���� $ ���� �.�(�����1���7����������!������ �������������8��� ��������!!�$���� ��� %�� ���������������!����.�>������1������������!�������������������7 ������!���� ��8���������.

Table 21: SocketListen() parameters

�������� #�$%�%� �

�6�� 6�4�,5�/��� %0�!��������������!�������8�������;��� �����7��!�$������� ��!���� ������G6��������������% ����G1�.�.��������������!!�$���� .�������������������������������� ��� �#�������=�6����� ���� �#��.

,)+ 6��������������!���� � %����G)�% �������!���#� ��8��G�8���������������#�� ������#��� ��� ���8�� %�!��!�����8���������.��#��������� ���8�� �!�����������������������.

Table 22: SMSCBind Parameters

Page 81: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

� ���)�� ��' �����:���������������/������������D��������������������������������/�����������������#�������������������������������������������� �/��������������-�������#�����������������������/�����#��������������������������������������������������/�#�������4�����8��������#� )))9'))))��������������//�9/�����7#� ��������������������/����������������������������#�������������������9'�

� ���)�������)�������($���� ����������� #�($���� �����/*���� �#� ($���� � ����!�#� � �� �*'� #� ($���� � ����)������#�!�0����#�� ���3��"�&%:������������������������������������������:���������������������)���������#��������������6�������������������������9���������������#������7�����9'���������������������������/������������������������/���#���������������/�/��������,��/��9��:�����:���#���������/���������-����;�

+(� 6��������������!���� � %����G)�% ����� ��8�� %�!�� G�8���������������#�� ������#��� ��� ���8�� %�!��!�����8���������.��#��������� ���8�� �!�����������������������.

�,A( 6��������������!���� � %����G��8��!���#��!����� G.�:������ �����������!����� �����������������8�� ��������!� � %�� ������;��� �����7��!������.

8���(������� 6�4�,5�/��� %0��������� �� %����!��������!�������8��������!�������#�����%% %� ����������.

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0���������!���� � %������8���!� �� ��8��������� ����������%����.�������8���� ��������� %�� ��1��.%.�G -����"2-���G.�(�����1������#������������!���������&����������$� %�G G�#��� ��� ��� �����8��� ��8���.

8���)�% ���� 6�4�,5�/��� %0��������� �� %������ ���� #������ ��������� ��� ���������%�����������������8��.������ �8��� ���!� ��������� %�8��������������!��������%�� �����!!�����.�(�����1������#���!�$ �������� �����������!!�����.

8���6� 6�4�,5�/��� %0���������!���� � %����G6��� ����� ������)�% ����G��������������!���� ������D��%��6���� �1�.�.�����������������������.�������8��!�������8�������������!������.

Table 23: SMSCSubmitMessage Parameters

�������� #�$%�%� �

Table 22: SMSCBind Parameters

Page 82: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �"

) ��������������%������8������������������������#��������#��$��� %�����!��!������������ �� �������� �#���� � #������ �#�����!��������������%�.

������8�������%�� �����!!��������������� �� %��������� ��#�����%���8�#������8���� ������������/8������� �".�0.�,�����������#���#����!���������������������������� ����������%�����!����$&�� ��������� �����!���!����2�8�����/ �������#��0.�� �������������%���������� %����#� ��� ���������� ���������� %������!��$�����������������.

��� ��)��)������,��������������������������������������������������#���������

����������������������:�������������/��������������������2����������������������������������������������#���������:�����������/��������������#��������������������������������������������#��������

��� ��)��)�������������'�������������������������������������������/�#����������������9����������������:�����������/������������������������������-�����#��������#������������������������#���������:������������/�������������������������������������������������

�)!�� 6��� %���������!���� � %�������������%���!�� .�(�����1�����8�����#����������#������8����!�� �.��%���##��������� �� ���#����8������$��%��!�����������!� � %�� ���������.

8��������%� 6�4�,5�/��� %0���������!���� � %�������������%�.������������8��!�� �6�������� %�/��?.��� ����������01��.%.�G�����G����� �6�������� %�� ��� %�8 �������> ����������%���G-:2=� "�G���!� � %�� �����)!�� ������.

,�� 6��6,=���������!���� � %��������������������%��������8�����$�����.�,�������%�������������8�������������������������������� ���7���������#��������������������� �������)!�� �����������.

�9����� 6��� %��������� �� %�����������!������#���������%�� �����.�,����?������������!� ���� ����������!�������8����� %���8����� �-��� ���"�����.�,���������!����������� �������� %��������%�����������8����������� ������� %����������������������������8��� �����������8����� ��������8��.

�������� #�$%�%� �

Table 23: SMSCSubmitMessage Parameters

Page 83: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �2

��������/��#���������������������������#����������:���#������������ ��EE�������

� ��������������������� ������($���� �����1��%:���������������������� ����//��������������������������������/������������-����������4����������#������������������ ����������������� #���� #���� @����� �� ������//�����������/��� #����A�� :���������� ������ )� #�� �������� �� 9'� �#� ���� #����������������������@������#�����������#�������������I������/����A�:���#��������������������/����;

� ,�� !�������� �� ��� %$8����.� (�����1� ��� ��� � ����� � ������������� ? .

� ��2��'!���,�������� ����� ����������� ���������� ���� ������� �������� ������������������ �#� ���/� ����� �������� @��-���� ����� ������A� �������#�����������������������������:���������/����������������9����������������������������������

F�����#�);C�����/�������������������������

�������������; �������������������������

C������� ������ �� ���� /��������� &�� ��������� � ����� �#.)8)))��5����8�����������������/������#���������������#��������9������������������������������������@�������������������9��2���A� ��� �������#����� ����������� ���� ���/� ����� ��������������#�����������#�����/�/����������������)�����/���������9����� �� ����� ����� ��� ���� �#� ��� �##��=���������� #�� ���� ����������#����������������������� ����/�/���� ���)���������������������� ��� ����� ����������� ����� ����� ���� ����������� �#���/�������������������������8�������������/�/���������������������)����������������������������������

� �����(����2�&�($���� �����2�&%

�������� #�$%�%� �

8���:�� 6�4�,5�/��� %0��������� �� %����#����!���� ��#��� ����#��������$���������� ����� ���8���#��.�(�����1����������7����������!���������.���� ����#����.���#���#������ #������ �� ����#���#�����.

Table 24: SetCharacterTranslationTable Parameters

Page 84: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �-

:����������������������#������������#��������/������#�������9���������:����������������9'�#�������������������8�)�#�������������#��������������������/����8�'�#���������������9�����������������#������������������������:����������������/��9��;

� ������ ��"�� ��� ������"%:�������������#����������������������������������������������������� ��� ������� @�6��� ������ �� ������� ������ ���� /����������������������A��:���8����������� ����#�������#��������������������������������������������������������������������������4����B���� ������� � ������� ������ ��� ��������� ������� ������������������������������� ������������������ �#� �������������������������������#����������8� ��������������������������������/��������7�����������������������������������������9�����������������������������������������������������������

�������

� *��������� ���������������!� � %���������7����� ��$�� �� ������������7������������ ����#����/� ���������� ���������������7�������������0�8�#������$����8�� %���������� 7���%� .,�� ���� ����� ����� ��%� � !��8����� ��� %� #���� ���8���� ������� ������������������� 7�.

�)��)������+ ����� � �($���� � ����)������,�#� ($���� ����)�������������'#�� ���������&������#�� ���0�� �#��!�0���/����&�������'#�($���� ������)��)������%:�������������#�����������//���������/�������/���#�����������9��� ����#�������� ���� �������� ����#�������� �� ���������� ��� ���

�������� #�$%�%� �

8������ 6�4�,5�/��� %0��������� �� %������� ���7���!�������8���������������������.�������8��� ������$5)�������$5)��E���������.

Table 25: SetLicenseKey Parameters

�������� #�$%�%� �

�5������� 6��� %������������ ������� ����.

Table 26: SocketClosed Parameters

Page 85: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

����������������#���������������������������������"/����/���������������:����������������#���������/�����;

�)��)������ �����"�($���� ����������� #�($���� �����*�/��� �#� ($���� � ����)������#� � �� �*'� #� �!�0� �)������/���'#��!�0�3��"�&%:�������������#�������������������������������������������#��������������������������������������������/��������9������������������������������������������������������������������������:����������������#���������/�����;�

�������� #�$%�%� �

8��������$%���

6�4�,5�/��� %0��������� �� %������% �������������%������#���������%��/�������������%���0.

8��������%�$,������!

6�4�,5�/��� %0��������� �� %������% ���������������!��#���������%��/�������������%�,������!0.�,��#������������8�����$�AA������.

�����������$���

6��� %���������!���� � %��������������������#���������%�.�2���� ������������ #����.������ �� ����������������8������������ ��������.

�������,$������!

6��6,=���������!���� � %����# ����������������#���������%�� �����������8�� ������������������8����������#����.

8�������$�����%�

6�4�,5�/��� %0��������� �� %������ �����?�� #������ �#������

Table 27: SMSCMessageNotification Parameters

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0��������� �� %�������%�����8���!� �� ��8�����������%�������� ����.

8���)�% ���� 6�4�,5�/��� %0��������� �� %������ ���L����8���!� �� ��8��.

�)!�� 6��� %��������� �� %�#������ #������ �� �������������������$��%��� ��� ����� ��� %��#���������%�1��.%.�#�������8 ���������%������� �� ���?��������� ������> ��������������.

����,$������!

6��6,=���������!���� � %�����������!��#�������������%�����$% ���8���������.

9����� 6��6,=��������� �� %��������� �����������%��������.

Table 28: SMSCMessageReceived Parameters

Page 86: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

�����������#�3��)������#������������

�.�/� ���$� , �%�� �� ��������

:����7� �����/�������#� ����������������������� �� ��������������#������������������������������/�/���������������������<������#������7� ��/�������#������������

� ��� ����� ����($���� �����!""����#�� ���$ ��%:��������������������������������������������������������������

7���������2������9����������)��#����������������������������

���������������������#������ �/��������������������:�/��/�/9������������������������������������������:�5=75���1�� �������9������������������:���#���������������������������/����

�#�����������;

� ��� ������� ����%�������#����������������#�������������:���������������������9��������/������7� ��>�������>����������������������#���������������������������������:���8�����������/�����������#���9�������������������������������������������:���������/��9���������������������������8�����������������������)�������/���������/���������������I����������##����

� ��� �����&'�����������������������������������/���#�����������������������:������������>��������>�

� �� �)���"�($���� � ����*!"�#� �� ��� �*+#� �� ��� +$,#� �� ����-$#�($���� �����$���. �"%C���������������������������/����� �-���� �����������������������������#��������������������������:�������2����������������������������������7� ��������������������������������������������������#�����������������������������9��������I�������:���#������������������)���������#�������������7� ������������������#����/��������7������������9'��#�����

�������� #�$%�%� �

8���6������ 6�4�,5�/��� %0�!��������������!���� ���������7��� �����7���������/�����,�<�(����3."�01��.%.�G��".���.��.�G�#���,�(<�(��� ��$�� �.

�(��� 5�!���� ������!��������������#���,�(<�(��� ���� ��� ��

Table 29: SocketConnect Parameters

Page 87: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

���� ����9���8� ������������� #������������������� ���� ���������/���#���������������/�/��������,��/����:����:��������������������������#��������/�����������������������������������-��������������/������@������#�����//���������������9��#���������������:�5=75�������������A��:����������������#���������/�����;

� ���)��$� � � �,"����������������� �����/���#���� ����5������� 7�����#��� #�� ���� >������������>��/�������:����������������������)����� ���������#�)������������������5������� 7�����#�������������������������9���/������#�����5�������7�����#���������#������������6:�7����).�)0��/���#��������*���D�/����������#�! � @������A���������:�/��'������������������/�����

� ���)��7�"�%�:�������4��������������������������������������������������9������:��������������6������������������������ ���������������������������9�����������������������������������������7����������8�������6���������������������������������/�#��������D/��������������

� ���)�� ��' �����:���������������/������������D��������������������������������/�����������������#�������������������������������

�������� #�$%�%� �

�6�� 6�4�,5�/��� %0�!��������������!�������8�������;��� �����7��!�$������� ��!���� ������G6��������������% ����G1�.�.��������������!!�$���� .�������������������������������� ��� �#����������"������ ���� �#��.

,)+ 6��������������!���� � %����G)�% �������!���#� ��8��G�8���������������#�� ������#��� ��� ���8�� %�!��!�����8���������.��#��������� ���8�� �!�����������������������.

+(� 6��������������!���� � %����G)�% ����� ��8�� %�!�� G�8���������������#�� ������#��� ��� ���8�� %�!��!�����8���������.��#��������� ���8�� �!�����������������������.

�,A( 6��������������!���� � %����G��8��!���#��!����� G.�:������ �����������!����� �����������������8�� ��������!� � %�� ������;��� �����7��!������.

8���(������� 6�4�,5�/��� %0��������� �� %����!��������!�������8��������!�������#�����%% %� ����������.

Table 30: SMSCBind Parameters

Page 88: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

������������� �/��������������-�������#�����������������������/�����#��������������������������������������������������/�#�������4�����8��������#� )))9'))))��������������//�9/�����7#� ��������������������/����������������������������#�������������������9'�

� ���)�������)�������($���� ����������� #�($���� �����/*���� �#� ($���� � ����!�#� � �� �*'� #� ($���� � ����)������#�!�0����#�� ���3��"�&%:������������������������������������������:���������������������)� ��������#��������������7� ���������� ������� ���������������������#������7�����9'��������������������������9�/�������������������������/���#���������������/�/��������,�9�/����:�����:���#���������/���������-����;�

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0���������!���� � %������8���!� �� ��8��������� ����������%����.�������8���� ��������� %�� ��1��.%.�G -����"2-���G.�(�����1������#������������!���������&����������$� %�G G�#��� ��� ��� �����8��� ��8���.

8���)�% ���� 6�4�,5�/��� %0��������� �� %������ ���� #������ ��������� ��� ���������%�����������������8��.������ �8��� ���!� ��������� %�8��������������!��������%�� �����!!�����.�(�����1������#���!�$ �������� �����������!!�����.

8���6� 6�4�,5�/��� %0���������!���� � %����G6��� ����� ������)�% ����G��������������!���� ������D��%��6���� �1�.�.�����������������������.�������8��!�������8�������������!������.

�)!�� 6��� %���������!���� � %�������������%���!�� .�(�����1�����8�����#����������#������8����!�� �.��%���##��������� �� ���#����8������$��%��!�����������!� � %�� ���������.

8��������%� 6�4�,5�/��� %0���������!���� � %�������������%�.������������8��!�� �6�������� %�/��?.��� ����������01��.%.�G�����G����� �6�������� %�� ��� %�8 �������> ����������%���G-:2=� "�G���!� � %�� �����)!�� ������.

,�� 6��6,=���������!���� � %��������������������%��������8�����$�����.�,�������%�������������8�������������������������������� ���7���������#��������������������� �������)!�� �����������.

�9����� 6��� %��������� �� %�����������!������#���������%�� �����.�,����?������������!� ���� ����������!�������8����� %���8����� �-��� ���"�����.�,���������!����������� �������� %��������%�����������8����������� ������� %����������������������������8��� �����������8����� ��������8��.

Table 31: SMSCSubmitMessage Parameters

Page 89: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

"������������������������������������������������#��������#�������������/�/�����������������������������#���������#��9�����#�������/�������������

��� ��)��)������,��������������������������������������������������#�������������������������������:�������������/��������������������2����������������������������������������������#���������:�����������/��������������#��������������������������������������������#��������

��� ��)��)�������������'�������������������������������������������/�#����������������9����������������:�����������/������������������������������-�����#��������#������������������������#���������:������������/���������������������������������������������������������/��#���������������������������#����������:���#������������ ��EE�������

� ��������������������� ������($���� �����1��%:���������������������� ����//��������������������������������/������������-����������4����������#������������������ ����������������� #���� #���� @����� �� ������//�����������/��� #����A�� :���������� ������ )� #�� �������� �� 9'� �#� ���� #����������������������@������#�����������#�������������I������/����A�:���#��������������������/����;

� ,�� !�������� �� ��� %$8����.� (�����1� ��� ��� � ����� � ������������� ? .

� �����(����2�&�($���� �����2�&%:����������������������#������������#��������/������#�������9���������:����������������9'�#�������������������8�)�#�������������#��������������������/����8�'�#���������������9����

�������� #�$%�%� �

8���:�� 6�4�,5�/��� %0��������� �� %����#����!���� ��#��� ����#��������$���������� ����� ���8���#��.�(�����1����������7����������!���������.���� ����#����.���#���#������ #������ �� ����#���#�����.

Table 32: SetCharacterTranslationTable Parameters

Page 90: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �

�������������#������������������������:����������������/��9��;

� ������ ��"�� ��� ������"%:�������������#����������������������������������������������������� ��� ������� @�7� �� ��������������������� ����/����������������������A��:���8����������� ����#�������#��������������������������������������������������������������������������4����B���� ������� � ������� ������ ��� ��������� ������� ������������������������������� ������������������ �#� �������������������������������#����������8� ��������������������������������/��������7�����������������������������������������9�����������������������������������������������������������

�������

� *��������� ���������������!� � %���������7����� ��$�� �� ������������7������������ ����#����/� ���������� ���������������7�������������0�8�#������$����8�� %���������� 7���%� .,�� ���� ����� ����� ��%� � !��8����� ��� %� #���� ���8���� ������� ������������������� 7�.

�)��)������+ ����� � �($���� � ����)������,�#� ($���� ����)�������������'#�� ���������&������#�� ���0�� �#��!�0���/����&�������'#�($���� ������)��)������%:�������������#�����������//���������/�������/���#�����������9��� ����#�������� ���� �������� ����#�������� �� ���������� ��� ���

�������� #�$%�%� �

8������ 6�4�,5�/��� %0��������� �� %������� ���7���!�������8���������������������.�������8��� ������$5)�������$5)��E���������.

Table 33: SetLicenseKey Parameters

�������� #�$%�%� �

�5������� 6��� %������������ ������� ����.

Table 34: SocketClosed Parameters

Page 91: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

����������������#���������������������������������"/����/���������������:����������������#���������/�����;

�)��)������ �����"�($���� ����������� #�($���� �����*�/��� �#� ($���� � ����)������#� � �� �*'� #� �!�0� �)������/���'#��!�0�3��"�&%:�������������#�������������������������������������������#��������������������������������������������/��������9������������������������������������������������������������������������:����������������#���������/�����;�

�������� #�$%�%� �

8��������$%���

6�4�,5�/��� %0��������� �� %������% �������������%������#���������%��/�������������%���0.

8��������%�$,������!

6�4�,5�/��� %0��������� �� %������% ���������������!��#���������%��/�������������%�,������!0.�,��#������������8�����$�AA������.

�����������$���

6��� %���������!���� � %��������������������#���������%�.�2���� ������������ #����.������ �� ����������������8������������ ��������.

�=���� 6��� %���������!���� � %��������� ������#����� � �$�������������� %�����������"�!���������!��#���� �.

�������,$������!

6��6,=���������!���� � %����# ����������������#���������%�� �����������8�� ������������������8����������#����.

8�������$�����%�

6�4�,5�/��� %0��������� �� %������ �����?�� #������ �#�����������.

Table 35: SMSCMessageNotification Parameters

�������� #�$%�%� �

8������� �$��

6�4�,5�/��� %0��������� �� %�������%�����8���!� �� ��8�����������%�������� ����.

8���)�% ���� 6�4�,5�/��� %0��������� �� %������ ���L����8���!� �� ��8��.

8��������%� 6�4�,5�/��� %0��������� �� %�������������%��������������!�� ��8��6����������%�������6������?�������������%����� %.

�)!�� 6��� %��������� �� %�#������ #������ �� �������������������$��%��� ��� ����� ��� %��#���������%�1��.%.�#�������8 ���������%������� �� ���?��������� ������> ��������������.

����,$������!

6��6,=���������!���� � %�����������!��#�������������%�����$% ���8���������.

9����� 6��6,=��������� �� %��������� �����������%��������.

Table 36: SMSCMessageReceived Parameters

Page 92: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �"

8�������������������������������������

��� ����� �����

:���������������������� ����������������������/����������9������#�$�������77�������������������//���������������#���#9#�����������/�������������������������#���������������:�������������������������������"/�����/������#�����������,��1����������������

E�������������������/���������������������/������6����'.)@'�%J��A������6��@'�%A8������-�������������������#������@�A��

(�'�� �������

,�������%������8�����������!�� ��8��6����������%�.

� ��#�������������.�,�������%������8�����������������8�������8��������������������������������!��#��.

" ,��������&���������������� ��#���� �#������������������� ����������������!� �# ������������#�������������%�����$� ��������������%���� ���8������������� �����������!�����$�� ���������$�����#���������%���?!���.

- ,�����������%������8�������������$�������#��������/��������!���0����#�����������8������� ������!�����������%����������� ������$!�������������� %�����������������.��� ���8�����8 �������!�� ��.

� ,�����������%������8�����������8 �����8�������%���������?$������ %���#��- �������.�,�������%�������8����!!��������������$�����%���8���#� ��� �������?����������� %�/�.%.�-:�= 6�40.

�� � �����������������������%���� �� ����>��������������������������#�����%���� ��� % %��� ��.�,����� ��?�� �� �����!�� ���� ����&�������������%����������8��!�������������?����������� %.

�- � �������������������%��� ������> �����/>��"0� ��� ��� �����$�������.�,����?���������%���� %����� �������/> ��������������0�� ��������8��!�������������?����������� %������-��?������������������/�.%.�2:-=� �60���!���� ��� ��> �������������.

�"� � �������������������%����� �=��������%�.,����?�������$��%���� %�����##��� �1���!� � %�� ������ %���#����������������$���.�,�������%��������8��!���������������8 ��� ��#��?����������� %�/>��0�� ��!�� ���?�1��.%.� � 6 2 "� ,�?�.�,��#�����������������# ������� %���#����>��.

Table 37: SMS message options

Page 93: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �2

���1��������

���+� ���:���������������������� ����//���������1�� ����:�5=75����9����������4������������(������/�/�������������������������9����������/���5����8��������'�#��������:�5=75�����������������#��1�� ��������������������

8��*������1�����������#�����+� ����� �� �

:�������9������ #����������#� ����������������������� ������������� ����� � /������9�/���#��� ��� ������ :��� ������9�����#����������������������������������1�� ���:�5=75����������������������������������2������9������9�����������������#���/�������� :��� #��������� ����� ������ ���� ����� ������� �������;

)����%���� �������

,�����7����� ���� ���������8������������#����.

� "" � ����� �����7��������.

� 2� ,������ �����7����� ���� �����8���������� ������.��%��������#�����������������#� ��� �8�#�����������#��������� %����7���� ���/0.

� �� ,�����7��������������� �����.

� � 6��������������������� ���� %��������8��������7����� ���� ������ � %�����.�,��������$�� ���.

� �� ���7����� ���� ���#����.

Table 38: Berkeley socket error codes

Page 94: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � �-

8��8���-���������������#��(������ ����� �� �

,�-���������#��

'�( ����� �� �:���#����������������������������������������������#�����4�5/���������������������������������������������������������9�����������������

��--���������#��

��(( ����� �� �

:���#����������������������������������������������#�������55/���������������������������������������������������������9�����������������

)����%���� �������

+�������.

� ���7���������.

" �� ��?������� ����>�(������ ����� %���8����������������.�����������#������8���!� �� ��8����� �� �� � �$ ���������������.

2 )!����� � �����!!������8���������.

- )!����� � ����������.��%��8�������!������!��8������ ��������1�8����%��������#�������������� �����!!������������� %�>�(����$�� ������������ ��������������� %.

� �����8��� %������.�,������ ��� ���8���!� �� ��8��������8�������� ��������C��8���7���.

� 6��� ����.����� ��� ���8���!� �� ��8����� ����.

� 6��� ����� �#�����.�D�% ������������#����.����8�����!������������� %.

�� ��#�������������� ����������.�(�����1��� C�������!�� ����� ��� � %������%��.

"" ,���!����� �������.

"2 �����%����!�� �����!!������8�����������.

"- �����%���������� %.

Table 39: Common UCP error codes

)����%���� �������

+�������.

� �����%���� %���� ����.

Table 40: Common SMPP error codes (decimal as returned by the component)

Page 95: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

��������������#��

�.�/� ����� �� �

" ����� ���� %���� ����.�� ��� ��������.

2 � ���������� ���.�,������� ���� ���7 �� �����������.

� ,���� ���� ��������������������������8����.�,���������������#�������������!����� ���� �����8 �������������������� �� ��.

� � �����!��������.�) ��!�������������!��������� ����.�(�����1����7������&�����!�������������#����.

� � �������������������.�,���� �����#���������%���� ����.

�� � ��������� ��� ��������.�,������ ��� ���8���!� �� ��8����� ����.

�2 ,��8 ������� ��#����.�(�����1����7�#�������!����� ���� ��� ��#�����������&����������$���7����� ���� �/��� �������� ���������0.

�- � �����!�������.�(�����1����7����!�����������#��������4 ���!�$���� .

�� � �������������.�(�����1����7����!�����������#��������4 ���!�$���� .

�" � ��������������������,)+.�(�����1����7����!�����������#��������$4 ���!����� .

�2 � ��������������������+(�.�(�����1����7����!�����������#��������$4 ���!����� .

�- � ��������� ��� ���������,)+.�(�����1����7����!�����������#��������4 ���!����� .

�� � ��������� ��� ���������+(�.�(�����1����7����!�����������#��������4 ���!����� .

�2 � ��������������!�.�(�����1����7����!�����������#��������4 ���!����� .

�� �����%����� �#�������������?������.�4��7$�##�#������������ ���� ����������������%���� %�������8�������%�/0.

�� � ���������#�������������������.

�� � ����������%���������!����.

"�� > 7 �� ������.

)����%���� �������

Table 40: Common SMPP error codes (decimal as returned by the component)

)����%���� )����%�*

+�������

� > �?!�������!�����

" �� ��?������

Table 41: CIM2 error codes

Page 96: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

2 > ��!!������!��������������

- �� ���� �����������

� +�����!� ���#������

� ;� �����������������

� �� ���# �� #������

� (���������#������ %������

� 5�&��������!����� �#����

D);�+������������

� � �������%

� � � �����������������!�

� " ,����� ����������������% ��

� 2 D�% ���#�����8����

�>4��,��=��6;=�����������

2 � ������������ ��� ��������

2 � � �������� ��8����#����� ��� ����������

2 " �� ��?������� �����������!��������

2 2 � ��������8 <���< ����������������!������������8 ���

2 - � ������������!������������%�

2 � � ���������������!�����!������������%�

2 � � ����������% ����������������%�

2 � � ��������!��!������������%�

2 � � ��������#������������!������������%�

2 � � ����������!���!������%�

2� � �����������������!������&�����!������������%�

2�� � ���������� ����� �8����!������������%�

2�" � ��������!������!������������%�

2�2 � �����������##�������!������������%�

2�- � ��������������������!�� �!������������%�

2�� � ����������� �!������!��!������������%�

2�� � �������������%����!��!������������%�

2�� � ������������!������������%�

2�� � ���������!����� ������!������������%�

=+N>�5=��=��6;=��,6,>�������������

- � ����������������!������������%�

)����%���� )����%�*

Table 41: CIM2 error codes

Page 97: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

- � � �������������!������������%�

�=D�9=5A�5=N>=�,�����������

� � �������������!������������%�

� � � �������������!������������%�

� " � ��������!������������8 ���

)����%���� )����%�*

Table 41: CIM2 error codes

Page 98: Manual Smsc Sdk

�9�������1�!��!�����1��� ��� ���� ��������

������� ���������� � ��

�0�6���������#���2�#��)����������������

�*�- ����� �� � $ ���%��� ������� �����

)����%���� )����%�*

���������������%��������8���

� �������6����=�� ���#����8���

" )����� ��� �������������������/.�.� � ���#�����8�������#����� %����$�� �0

2 > 7 �� ���8���8��

- ,���������+���(����� ��

� �����4�����

� :������+�����!!�����

� 68�� ����8���8���$�������������

� ����+���(����� ��

� =����� ���

�� �������:�����

�" �>;�5�E���

�2 ���������!�����=?������

�- > �� �#�����8���8��

�� �����4������8��>���

" 5�E������8����=���������#������ %������

"� 5�E������8����=.���=�����8����#���

"" 5�E������8����=.���=�8���

"2 =����� ���� ����� �8����� �����O�������� ����������%�O��# ��

"- =����� ���� ����� ��������8�����!��������E��� �����7�#�����

"� 68�� ����8���8���$�(�% %�#�����

"� 68�� ����8���8���$�;(5����������

"� 68�� ����8���8���$���$��%������� ��D5

"� 68�� ����8���8���$�5��� %���������

"� 68�� ����8���8���$����(��%��

2 �����4�������������#��������������7�$� ������������ %

2� �����4�������������#��������������7�$� ����������������� %

�� +���������������!���������!������#��������

Table 42: SEMA error codes - Delivery failure reason

Page 99: Manual Smsc Sdk

9�,!��P�,��7�

������� ���������� � ��

��������������������

0�� 1 0���+��(�����1��������#����������7 �����%������8����� � �������2��$::(((�#��#�1����:�����������:��#�;������

<$�=�������)���������������������#��������������#��#������������%���#%���������3������#��������#����������������2���������������0)���������������#3�����������#�(����%2�%�

6'�(��������7��������������������������������&������/�����������������#��������� %���� ��� ��.

<$�����������������������1�����)������������)������������������������������#����������#>

6'�A��.����� %�������!6���� �������!��!�������� ��� ���������� $ ���� ���������������8��������������������8���� ��#�7��!���������� ��.�6����� %��1����� %����!��!����������������%��������� � ������������������������������ ��.

<$������ ������(� ������)�#������������������������� �1���������������������������������1������0, ��������������2#�#�������������������>

6'� A��.�4�#������8���� � ��������%�� �� ��� ������<� ������� ������ %������������������� %��.

<$�=������������������#������������������>

6'�,��������� �������������!!��������#����� %��!�� �'

'�+���������������%��

"'��������� ��#����

-'���������!���������%��

�'��8��� �����������%��

��'�>����������������/��%������ % %��� �0

2"'�9����������

Page 100: Manual Smsc Sdk

9�,!��P�,��7�

������� ���������� � �

�-'�> ����������%��

�"�'�=��������%��

<$��������������#����������������>

6'�A����������8 ��������!�� ��E����8����� %�����������1��.�%.�#��>+��)�=�8� 7 %������%�����������������������������1�������-��#���>+��)�=�� ��-�#���8� 7 %.�������!�� �1�������1����� ���$!��8��1��.�%.���� ��������!�� �����������%���������!�� ��"�.

<$�=����(�������������������������������#�%���1��&�����%�������,�-��#��0�6������>

6'�����������������8���������������������%����������8�� ��� %��,�(<�(�/3."�0��� ���� .���1����� ��� �������������������������� $ ��������� ��� ����1� 8��� E���� ��� G���� G� � �� !���� ��� � �� � ��� ����������� �����%���������������������������!������.�� ���������E�����������������G���1��&�����G�� �����.�� ��������������%��� �������%���#������1��������� ������ %�������7���� ��������������������%���������.

<$����)�������������)���������?����������������/��'�(�������#�#���)���������?���#������#������#��������/�#�(����������(�����"�����(�������������������������������#�#�)����#�������

6'�9���� �". ������ ������� ���� ���#���.������ ���� ��%������!��.�A����������������� �������� ���������%�����������!� � ���� �$�����/������ ������������������������0.�(������ ���1������������� ��7���#�������� ��. ��� ���� %��������#�������� �". .

<$���(���������#�����������������@?�����������.�(������#���>6'�9���� �". ������ �����!!���������%���!��� %.�A����� �������!������� �����%��� �� ������ ��� ���� ����� ����� ��#������ #��� �!��� %.,� ������������������������!!��!������!�� �#�����8��� %��#��������%��!����1��.%.��"��#����� ���� ����������%��1����#���+��$���8� �����7�������*�(����E���� �#���!�� ��!��� %.

Page 101: Manual Smsc Sdk

9���� �����P����!� �� #������

������� ���������� � � �

��������������������� ��������� �����

@��������������������#�1�����(���0�����������A��.

H��%��������"�

���--���(������

(� �.�@-�� 22��"����$

:�?'�@-�� 22��"����$""

#�F������7.���

(((�#��#�1����

@������6��������#�1-��� /�� ��+������7�!���������!�������#������������!��������8����!�������1

�������!��������� ��� ���!��������%� ����!���������� ��%���� �����!� � ������� �����������8�� ������ %����� %���8������ ���$%���� �� �����8���8�� ����������.��

������7L�� ���� ���� !������� !���#���� ������� ��8��� �����% %!���#����1�����$����� ���!������8������#������� ����8��������$% %�����.��

������7��������� %��?!���� ������8���������� ����������������$�� �� �������� ����������� ���� %��"�;���� �1�(��?����4��%$��1� 5���� ���B���� �1� ���� �� ;���� �1� ����� ��� = ���� 4����1=����� �6�������1�������#������� �1�,��� ���4�� ���������� ��+��$���1�������>�1����������������;���� �.�

Page 102: Manual Smsc Sdk

9���� �����P����!� �� #������

������� ���������� � � "

����������

��������������%��������Q������� ������8� %��������������.������������ # ����������������� ��#����!� ����������#��������7 %����������#�$����������� �'�

6,P,1�6��������(���1�4�*�;���� �1���8� 7�D.6.�>�61�����������;��$�� �1������ ����� �1��%#� �� ����� �1�=����� �6�������1�=����� �64����� 1� �������� (��7����;���� �1� ����� �� ,���7��1� � ���� >�1� D�=����� ������ �1��� ���� ���8�#� 7��"�;���� �1�������#�����$�� �1���8�7���6�����1�+�7��� %�!���1��6(�;���� �1����� ��;��$�� �1� ���� �� �!� 1� � %�!���� ,������1� �������� ���B���� �1���� ������ ���1�,$��8�����;���� �1�,��� ��������4� 7��#�H�!� >�1�9�6;�� ���7���;���� �1�9��7���%� �6;�;���� �1�...�

@��*���-��#������������������������B�������/�,������������������ %���#������������!�������7��#���;��$���$����$8������ �������<���+$��% ��������������% %.����������8��� �������#���#������������!�������� �����%��8�� ���� %����$!� ����7������ ���1�������#�1��(.��

������������B��������������)������/�,��������� ���������������������!�������7��� ��� �8������!�������!�� ���#����$����� ��%$������������% %��!!����� ����$�B %������������ � 7�����,�(<�(�� ��3."�� />�(1��((1����"1��$��)��0.��

���������������6������������)���2�������������B�;��������%��������Q� ?�!� �� �� ���� %���8��������% %� ��#������ #��8��� %�� ���!���� %����$��������� �������!!����� �.�

,��%�� %���������6�(�1���8����!��������� ��� ���!�������!������!����#�����8��������% %1� #��?8������% ��#������$�������������� �����������2���!������� ������.������%��������Q�?�!��##����#��������� ���!��������������%�������!�������.�

,�����8 ��� ��#����1�=���� ������%�������� % �1�� ��!� 1�����8��� ����������1� �����$��$���� �����% %� �!!����� �� � �� �!����#����!!����� ����% �����!��������������������#�����8������$8���8�� ����8����� %�&��7����� ���������!���� �� ��8������ %���������������8���.�

Page 103: Manual Smsc Sdk

9���� �����P����!� �� #������

������� ���������� � � 2

�����=�������6���������0�����������2�������������B�0����2������6����*�� ��� ��������%��������Q� = ���!���� 6����� ��%� B��� �� �����!!�����������#������#���%�������8�����������������.�:��������7���������� ��� �1�#����$����������!������ %��#�������������!��� ����!����� ��2��$!������������#���8�� �������������������� �8����%� B��� �������������������� %����#�����$����!��������.������$%��������Q�= ���!����6������% #�� ��������������� �����#�������,�������1������8���� ���� �������#������.�,����#��������������$����� ����#����R������#����8��������� ������ %�S� ���������$!� ������%���� �" 2.�

=�����������2�������������������2�������������B������2���-��;��������7� ��������%��������Q���8����(��?��!����������������$����!�� �� ����� ��� �� ������8��� ������� ����������� ��� �?�� %8��7$� ������1��.%.�������� ��ND�����8����.�,��1���������%����$����Q���8����(��?���% #�� ���������������������!�� ���##����#����8�����!!����� ��8��!���� %���8���7$8�?$�7�������� ������� ��!$����� %�������������� ���� ����;(5�1�2;1������ ��*D6+.�

(������# ��#������ #������ �� �������7�!�����������������8���'�

����$::(((�#��#�1�#�:���#�������

�� �������������������'

,��.�@-�� 22��"����$"

�����F������7.���.

Page 104: Manual Smsc Sdk

������� ���������� � � -

�������ActiveX

-��%��6����3���������������# ��������#���� ���%���������!���8������$��#�.������� ����%������#����������������#����� ���%����������)D=/)8E����D 7 %�� ��=�8��� %0�� ���)��/���!� � ��)8E���������0.*� � ���7 %��8����6����3� �����E������#�!��!��� ��#���� ���6����3�� �����1������!���� �����!��#�������#��!���� � %�6����3����$ ���%��.�

AMR - Advanced Mobile Routing-�� $ - %���� ������ ������

6�5$� 6��� ���� ��8��� 5��� %� $� �� �� 3�D$8����� ��� ���%�� ��$����!���8��������7���#������= % ��� %�;�8��#����� ��� %���8$���������������������8���������������7���������*6(�������!���� #������ ���������� ��� %���!����8����!!����� �������! %���$� %��!����� T������� �8��� %���8��������$�������������.

ASCII - American Standard Code for Information Interchange

-��..,����� �������������8�����������������!��8����8����� ���$�������!����#������!������ %��&�!�� �.�6��������������� �����#����������!������&�!�� �.�������������������8�� ��8���1��������1� ��������������� ��!��������������.�D� %��%������������ �$��1�H�!� ����� ������� 1�������1������������� ���##��� �������$����.�,�������������������!����#����!������� ����,����#�.

CIMD - Computer Interface to Message Distributation �.�/�������������� ���� �!��������#����� � %�� ������� %������$

%���#�����!!����� ������������% %�!���#���.�,�������!�������������� ���� ��!!������ 8�� ���������% %� !���#����'� ��� +�7�� 6����������� ����� �����+�7��6������>������ ���.

EDGE - Enhanced Data Rates for Global Evolution*/2*=�;=�������� ���%������%����;��6�� ��,��6���������!�������

� ������������ #��� ��� ����%� ����� ��#���8��� ����!� �.�=�;=

Page 105: Manual Smsc Sdk

������� ���������� � � �

����������!������� �8��������� ����� ��#����%������ ����#����������%��!�����#�2�-�7��8���!������� �.�=�;=����������#������������=$;(5��/�88������ �#���= � ����;(5�0.�

EMS - Enhanced Messaging Service*��=�����8������ ����.�A����� ��������� ���� �������%������� ���$

���!?���!�������� ��� ���� �1�� %��� ��1���� ���##������ ��#��$������� ��?�� ��� �� %� ��� ���� �� � � � =��$��!�8��� ��8��� !� �.(� ��� �������� ���=��$��!�8������� � �����!���� ���� #����������?�.�

ETSI - European Telecommunications Standards Insti-tute

*0�.,��=���!�� ���� ����B��� �8����#������������ ���� �.�=,������ � $!��#����7 %���%� ���� ���������� ������!��������������$����� ���� �� ��� ������ ���� ���� 8�� ����� #��� �������� ��� ��������%���� =���!�� � �� 8��� �.� =,��� ���� #�� ���� � ����� 8�� �����8�����#�����=(,.�=,���!����������������$������� ����B��� !��������� �����!���8��.�����*��7�(��%��������8������ 1�� ����$��� �������1�������������#� ��� ��� ������ ����B��� �8����1�� �������,>$,�� ������,>$5.

GPRS - General Packet Radio Service2(��;(5�� �� �� ��� ����� #��� �������� ����� ���� �� ��� �� �� ��

�!������!������ �7��8���!������� �.�,������� ��;������������ ��������1��7��8��.�;(5�1������!!������������� %���#�8� �������� ��##�� �������#�������8� ������ ����!�����������������#���� � %�� ������� %�������8�������#�����1���������$����� ��*�88���� %1���������������%�����������#�����.

GSM - Global System for Mobile Communications2��)�% �����������!��������!� $=���!�� ���� �����#����%������8�����$

��!� �� �����.�;������������ ���#�������� %��%���������������$�����������8��� �������� �� ���� ����.�;�������� �����8� �,��61������������%�������� ������������ ��������������#��$&�� ��.�;�������������!�����#��.� �4�,<��� ���� ����� ���8������#���8� ������!!����� �.�

Page 106: Manual Smsc Sdk

������� ���������� � � �

A����C??'������7 �� ���������� ����(�+1�;����� ������%��� �����7����7 %�� ���#��&�� ����#��� ���B.������������ �=���!�16��$(��#��� ��6�������.

A����D??$������7 �� ����(����� 1�;����� ������%���� �����7���7 %�� ���#��&�� ����#��� ���B.����������� ����>��� ���� ���� �������������#���!������#�D�� �6������� ��6#���.

A���D??$�;���� 1����E����;��1�����������C�������������������$%���� �����7�/����%� ������?!�� ��� �#���;��0

HSCSD - High Speed Circuit Switched Data)���/���������������$� 7������ ���%��#���%������ ����� ��!����1

�!�������7��8���!������� �1�!������� �;����������.�

HTML - Hypertext Markup Language)0�!(��%���� %����7�!��� %��%��#��������8 %������ �������������

��8� �������������� %����?��1�%��!���� ��!�������� �����8���� ��!��������������.�

iMode ��� �6�H�!� ����������!�����8��������,�� ���%�������� �!������� $

�� ��#�������� ��� ��������8���������.��������������� ��#�+,,O����$�������8���!� ������ .�������������������������������8����� ������� %�� ��%��� %����������������8���!� ��.�,���� �##��� �����#��������������������8���!� �������#�������� ��� ���������������������������������� ������������� ��� ���� �����##�$�� ��!�� %�������.�,��!��������� ����� ����������������.�A���!����� ��8����#�!��7�����#�������� ��!����� �.�,��GG� ��������� ��#���G #������ G.�

IP address.( � ��,���(���������������� �#���#��������!��������������� ���,�(<�(

�����7.�+�����7���� %����,�(<�(�!�������������������%���8����� �����(����������#�������� ��� .�,��#�������#�� ��(������������2"$8�� ������������������� ����#���� ��8������!�������8��!�����.=��� ��8����� �8��B�������"��.�:����?��!��1��.�� .� ."- ������8�� � � �(� �������.� *� � � � �������� �����71� ���� �� � ���% � �(��������������� ��������� %��������� ����� &��.��������1��� ��$� %� �� !������ �����7� ��� ��� � ��� ��� ��&����� �� %� ��%������� �(����������/�������� ��� ������������0�����������!������.

Page 107: Manual Smsc Sdk

������� ���������� � � �

IPX/SPX - Internet Package Exchange/Sequenced Pak-kage Exchange

.(�3�(��(3�� ���(3�������� �#���!��������� ��� ������ �����7.��(3���������$%����!�������������#����� ���� ���������� ���� .��(3�������� �$!����������!��������/������-��#����)���$�)!� ���������� ����� ���� �$������0.�,���(3������������ ���!��#�����(3�������/������20�� ��!���$������ ���� $��� ������������8����� ����� ������ ���� �����7.�(3��������!�������8����� �<��������!!����� �.�*����������(3!��������������������(1��(3������������,�(.�

ISDN - Integrated Services Digital Network.�/"���+�����!�8��1��%������������� ���� �� �����71������##����%

�!������� ����� ��#�����1������� �����������%��?�� %�#?���� � #�����������.���������+�� ����##�����8������!� �����!� ���%����������� ������� ��1��������4��� ���.�A����� ������ ��� ��#�������� ����������#�������1���������� �����8���� ���#�����������%������������������#��"���8!�1������������������������!�������8�������L�#�������������.

LAN - Local Area Network!-"D6+���������������� �����7������ %�������������1���������� ��

8��� %����%���!��#�8��� %�.�>!� ��� ��� %�� ��D6+���������D6+������� ������ ������ ����!� �� � ���� �� ���������������������#D6+���������=6'��� �8������8����.

MMS - Multimedia Messaging Services�����������#������������!�� ���#����0��$��� ����.�4������%��!��

� ��!������������$�����%����������� ����������$�� ���������!�.=��$�����%����� �8���� ��8����� ���8���������������������#�����8��� ������� ��� �$���.� � ���� %� � ���� �� � �� ������ ���� ������%������8�������� %����� ��������� ��������� ��� ������$�����!�����?�$�����%�.�=����� ��������� ���$���������#�������$��$!�8�����8���!� �� ������" �.

MO - Mobile originated���)��� ����������!�8�����#����;��������������� ���������%��#���

����8���!� ���������������� ����� �����!������ #������ ��������8���!� ���8������������������#�������#����������%�.

Page 108: Manual Smsc Sdk

������� ���������� � � �

MT - Mobile terminated �0�,����7�������!�8�����#����;��������������� ���������%��#���

������������ �����������8����������������������%�����������$�����1���1�#�������!� ����������� �����8��1��������#��������������$��.�

ODBC - Open Database Connectivity�/��)�4����� �U�!� �����8������ ���� S1������ ���������8����������

������������!���8��������#�.�)�4�������������������� �������#���� ���!!����� 1���%���������#��������8������ �%��� ����������� �� %��������.�

PING - Packet Internet Groper(."2(�+;�������������������� �����������!��#���-�##�������������$

8��.�������7��8���� � %���!��7����������!��#������������ ����� %#����� ��!��.�(�+;� �������!������� ��� ����8������� � ��� ��� �� ��$�� �.�,���������� ��#��������� �����������(�+;�������������8��#���!���� ������!�����.�

POP3 - Post-Office-Protocol(�(4()(2�����!�������������������������$����#����������������.�:����� $

� %�������� �������%�����9-�������.

ROAMING��-�."2� ��� ��� ������� %���� ������������ ����� �����7������� ��

������� ��� ������� %��8����.�,�������� ��� ��� ������� %1�����������8��� ������� %��%����� ��8����� ���� �����7��!�������� &����� .�

Sema OIS - Sema Open Interface Specification�*�- �.������ )��� �� �� !��!������� ����� !�������� ������!��� 8�� ��� ����

;���!�#�������� �;��� �����7�.

SDK - Software Development Kit�/5,�������#���#���������� ���� ���������������������!�!��%�������

������ ��!!����� .

Page 109: Manual Smsc Sdk

������� ���������� � � �

SMPP - Short Message Peer to Peer��((��((� ���� ����� ���� �!�������� #��� �� � %�� �� ����� %�����

��?�������%��1� �� ��� ����� #��� ���!������ � �� %� ������������ 7�.�

SMS - Short Message Service������� ���� ����� ���� �����!�!������������������� �;��� �����7�.

*����������!���8�������� ��� �������������������%����#��!����� ��������������� ��#������8���!� ��������� �����7��!�������C�����%���� ���.

SMSC - Short Message Service Centre����6��������%������� ��������%�� ��� �#��� ���� �� #���� ��������� %

��8��� !� ��� � ;��$ �����7�.� ,�� ������� ��� � ��� ����� ��?������%���8��������#�?1�����$�����$����.�,���������������������$��%��1����!������������������ ������������!���������!� �������$�� ���� ��������8���� ����7���������#����% %.�,���������������� ������!��� �����7.�

SMTP - Simple Mail Transfer Protocol��0(��,(� �� �� ��� ����� !�������� #��� � �� %� ��� ��� �#��� �#� �$����

����������� ��� ��.�

SQL - Structured Query Language�6!,�� ��� ��� ������ ���������8������ %��%������� ��!��� %1�&��$

�� %�� ���� �% %������� �������8����.������ �8��������������1������$���� ��#�����������?��������#����������8���.�

TAP - Telecator Alphanumeric Protocol0-(,6(����������� �������������� ������ ���� �!��������#�������

�����%��� 8������,�-.� ��� ���� ��� �������� !�8��������$� � ����+$�������/�.%.�������=$(���0.�

TCP/IP- Transmission Control Protocol over Internet Protocol

0�(3.(,�(<�(�����������#� �����7�!������������������� ���������� ����� $��� ��.�,�(<�(��������������!��������1���������� �� ���8� %�,�(� ���(.�

Page 110: Manual Smsc Sdk

������� ���������� � ��

UCP - Universal Computer Protocol'�(>�(���������� ���� �!��������#������������%������������� ����

������������+�������������$����������%���������������� ��.

UMTS - Universal Mobile Telecommunications System'�0�>�,������� ����#����������%� ����� ���8�������!� ����� ����

�=���!�1���� ����B���8��09��.�>�,�������������8����8� �� #��$���� �����!������!����"��4�,<�.�4������������ ������1�>�,������������ ����� � �� ����� ��� �������� ������� � ������ � ������������%�#?��1���������� ������������������.

Unicode'���� �,�� ��� ����� ��� 8�� � ���!���� 8�� ������� �������� �7�� �(1� �4�1

������#�1��6(�� �������.� ��� �� ��&�����8������� ���� �����1��.%.H����� ��3�D.�> �����!�������� ��!��������� ��8���#���������$������� ������������!��%���1�!���#��������!!����� ��������.

UNIX'".�>+�3��������!������!���� %�����������������% ������8�������8�

�� ��!��!������������������� ���������9�-:�-�8���$ .��������&�$�������� ��!���� %��������#������������� ����� ��� ��.

VSMSC - Virtual Short Message Service Center7����=?�� ��������� ��#���������� 7�������������#��� �����7��!������

������������������������� � ��8���#��������������%���� ���.,��9����������������8�� %�� ���� �% %��#�������������%���!�� ����������#��������$8�� %�/�����!���� ��� %���������������%� %�����%����������9����0.�

WIN32 API - Windows 32 Application Programming Interface

8."4� -(.*�+2"�6(������2"$8��!��%���� %� ���#����� ����* ����.

WAN - Wide Area Network8-"6� �����71� �������� �� ��������� ��� ������ � ��1� �?�� � %� ����� �$

��� ����%��������� �� ��7�������.

Page 111: Manual Smsc Sdk

������� ���������� � ���

WAP - Wireless Application Protocol8-(*6(�����#���1�� ��� ����!��������#���������������� ���� �����

��7��� ��!���8��� �������������� ���� ��������� ���� ���������� ������������� ��� ���!�%���#��������8���!� �.�*6(�����!!�����8�������!���� %��������.��

WML - Wireless Markup Language8�!*�D���8������ � �&�� ��������.9�&��������8������.�*�D���$

!������ ��� ���� ��*6($�� �� ��� ���8���������.�*�D������% ���������� ���� ����#������� �����8� ��������� �� �.��#�� ��� ��$�� �� �������8������������8���#�����8������������������8�����������*�D$#��.�

XML - Extensible Markup Language��!3�D����8�� �������!�������!��������#� ��� ������#������8�� �

������!� �������������� ��%����#�.9�&�8��!���� %���������!��$8���� ��#��?8��� #������ ��� �#���� .������ �����#?���#�������7��,�D1�����#�������������?�� �8��.�3�D�����G������ %��%�G���������������% �������� ����7�!��� %��%�� �������������� ���##�$�� ����!����#������� ����������.������ ���E����#�����8�!�%��.�3�D�� ������8����������������� ��7 ���#������������ #������ �� ���������.�4��������#������!������8��� �� ����� ����������!!�����#��#������ ���������!���������������� ������ �.

XSL - Extensible Stylesheet Language��!*��3�D������� �������� #������� #���!���� � %� �&$������ ��� ��

�������������7����8����1�*6(���������!� ����������.�,�������� ��!��#�������������8��������������� ����#����3�D$�����������$�� �� �������� ������.��� %����#��� �� ��� ��� �������8������ ����3�D$������ �.

Page 112: Manual Smsc Sdk

7���D

������������������� � �''�

����!

" �����16bit 98bit 9

#ActiveX 104

Advanced Mobile Routing 104

alphanumeric sender 9AMR 104

ASCII 104

ASP 53

ASP samples 53

$B channels 107

binary messages 23, 41, 49

BIND_RECEIVER 10

BIND_TRANSCEIVER 10

BIND_TRANSMITTER 10

BOOL MessageOutPayload 78

bSinglePort 70–71

bstrAC 65

bstrAddress 62–63, 70, 80

bstrAddressRange 71

bstrDestination 65, 68–69, 73, 77–78

bstrMessagbe 65

bstrMessage 69, 73, 78

bstrOriginator 65, 69, 73, 78

bstrPassword 64, 71

bstrSMSC Message 68, 77

bstrSystemID 70

bstrSystemType 70

bstrTimeStamp 68, 77

bTransceiver 71

�CIMD2 component sample 45

CIMD2 error codes 95

CIMD2 methods 86

COM 9, 14, 104

constants 92

%deferred delivery 92

delivery notification 9–10, 34, 43,

Page 113: Manual Smsc Sdk

7���D

������������������� � �''.

52, 92

DeliveryTimeStamp 68, 77

direct display 9, 92

&EDGE 104

EMS 9, 105

ENQUIRE_LINK 10

error codes 93

ETSI 105

�flash SMS 9, 92

GENERIC_NACK 10

GPRS 105

GSM 105�������� 106�������� 106������� 106

�hardware requirements 12

HSCSD 106

HTML 106

�IIS 53, 55

iMode 106

inbound messages 26, 35

installation 12

interface version 71

Internet 12

IP address 106

ISDN 107

'KeepAliveInterval 66, 75, 83

(LAN 107

lDeliveryStatus 68, 77

lError 68, 77

licensing 16�� ������ 16

logos 9, 23, 41, 92

lOption 65, 69, 73, 78

lPort 62–63, 70, 80

lReserved 68, 77

lValidity 73

lVersion 71

Page 114: Manual Smsc Sdk

7���D

������������������� � �''0

�manual 13

messages�� �� 35, 44, 53���� �� �� 21, 39, 48

methods 62

MMS 107

mobile originated 107

mobile terminated 108

"nDestNPI 73

nDestTON 73

nNPI 64, 71

Nokia CIMD 7nSrcNPI 73

nSrcTON 73

nSTYP 64

nTON 64, 71

)OAdC 64

ODBC 108

OLE 104

operating system 12

*PING 108

POP3 108

postmessageucp.asp 54, 56

protocol error codes 93

+QUERY_SM 10

,regsvr32.exe 14

requirements 12

ringing tones 9, 23, 41, 92

ROAMING 108

-sample 18

SDK 108

SEMA ASP sample 57

SEMA component sample 36

SEMA error codes 98

SEMA methods 78

Sema OIS 7SetCharacterTranslationTable 66, 75, 83, 89

Page 115: Manual Smsc Sdk

7���D

������������������� � �''

SetLicenseKey 16, 67, 76, 83, 89

short MessageInDCS 69, 78

short MessageOutDCS 69, 78

short MessageOutPayloadType 78

shortid 7SMPP 7, 27, 55, 69, 109

SMPP command 10

SMPP error codes 94

SMPP methods 69

SMS 109

SMS message options 92

SMS messaging 6SMSC 109

SMSC communication 19, 37, 45

SMSC connection 20, 38, 47

SMSC Connectivity SDK 8SMSCBind 63, 70, 80, 86

SMSCConnectivitySDK.idl 13

SMSCConnectivitySDK.tlb 13

SMSCEnquireLink 74

SMSCMessageID 65, 73, 82, 89

SMSCMessageNotification 35, 68, 77, 84, 90

SMSCMessageReceived 68, 77, 85, 91

SMSCMessageTimeStamp 66, 74, 82, 89

SMSCQueryStatus 35

SMSCResponseTime 64, 71, 81, 87

SMSCSDK.dll 13

SMSCSubmitMessage 64, 81, 88, 92

SMSCTimeStamp 69, 78

SMSCUnbind 87

SMTP 109

socket connection 19, 37, 46

socket types 93

SocketClosed 67, 76, 84, 90

SocketConnect 62–63, 69, 78–79, 86

SocketDisconnect 62, 70, 86

SocketDisconnect() 79

SocketListen 63, 79

SocketType 63, 70, 80, 86, 93

software requirements 12

SQL 109

status information 35, 44, 52

SUBMIT_SM 10

submit_sm 73

�TAP 109

TCP/IP 9, 12��������������� 106

TDMA 105

Time 65, 73

trial version 17

.UCP 7, 18, 53

UCP error codes 94

UCP methods 62

UCS2 9, 92

Page 116: Manual Smsc Sdk

7���D

������������������� � �''!

UNBIND 10

Unicode 9, 92

Unicode (UCS2) messages 24, 42, 51

User Data Header 9, 92

�Validity 9, 65, 69, 73, 78

Visual Basic 18

VSMSC 6

/WinSock 15

0X.25 9, 12, 14