
METERING AND M BUS
2.1.1
Hardware Setup
In order to communicate with an MBUS device, the
following setup is required.
Hardware description
A SIM with a data phone number is required, so that a
CSD call can be made from a remote host to the radio
device.
2.2 The
Script
The fully commented script listing can be found below. For
full descriptions of the individual script function calls,
please refer to the IDE help file.
The script application initially sits in a loop, waiting for an
incoming data call that requests an MBUS session be
setup.
Once a call is received and checked to be from the correct
number, the module answers the call and calls the
DoMBUS() function. This function creates a channel. The
channel goes to on-line mode and can carry the MBUS
traffic. Data is received from the channel, checked to be
valid MBUS data by the GetMBUSData() function and sent
forward to the MBUS slave device via the M3100. The
response data is received (must be received within 1 sec
timeout) and transferred back up the channel in the same
manner. In this way, the remote host can talk with one or
LZT 123 8014 R1A
6