Communication by sending SMS messages in GSM network
In the PROMOTIC system it is possible to communicate with the GSM
network by two methods:
1 Sending/receiving SMS messages over the external GSM modem
In the PROMOTIC system there is the PmSMS communication driver
. It allows sending/receiving SMS messages
to/from the GSM
2 Sending/receiving email messages over the Internet
Sending and receiving email messages between the PC (with the PROMOTIC application) and the mobile handset can be implemented by two ActiveX drivers.
For an PROMOTIC example see: Preconfiguration "Sending the e-mails by the application"
PC with the Internet connection.
Way of the communication:
The Internet connection must be set at first in Windows OS
. Then it is possible to call corresponding methods of the ActiveX object for sending the email into the GSM
network via Ethernet in the PROMOTIC application. In the email message a string is sent that can be created in the PROMOTIC application and for example even required data (e.g. about the temperature) can be inserted into the text that you want to send by email. Over another ActiveX object it is possible on the contrary to receive email messages from the GSM
into the computer.
3 Other options
There are hardware modules for SMS sending that use other ways of communication. For example:
device of the xx39
of 3G or 4G type) by the Secomea
company (Denmark, https://www.secomea.com
), that are equipped with SIM card slot.
The device must be configured so it receives http requests from computer with the PROMOTIC application.
SMS sending is then executed by using the HttpRequest
service (see Preconfiguration "HttpRequest - Receive or send (GET, POST)"
The devices use the port 26864
by default, but it can be modified in device settings.
Example: just send Ethernet message to address "http://192.168.1.88:26864/SMS/+420602345678/Hello