Professional Documents
Culture Documents
InduBox GSM M4 Modem Application Manual V1.0
InduBox GSM M4 Modem Application Manual V1.0
InduBox GSM M4
V1.0
1. Introduction
The modem application provides a way to make an industrial device, which is readable
over RS-232/RS-485 or ethernet, accessible over the air.
The incoming gsm data call will be directed towards a preselected serial interface.
The modem application will periodicly try to connect to a preconfigured ipv4 address, on
connected the socket will be linked towards the preselected interface.
1.3 Router
The modem will function as router between the modem interface and the ethernet
interface.
2 Configuration & Setup
Configuration of the InduBox GSM M4 can be done through a GUI via HTML.
Username : admin
Password : password
To make changes, always save the change at the bottom of the page and reboot
the modem before the change is executed.
Status
Displays the most important configuration.
General
System info
• Software version
• Bootloader version
• Uptime time passed after power-on or reset of the device
• Config version This can be default, custom or an UUID if set by the
commissioning system
• Flash bank On which partition is the active firmware stored
• Current datatime
• Cfg storage usage
• Memory usage
• Last reset cause
• IPv4 address
• Netmask
• MAC Address
Configuration
To change the configuration: change the parameter, press Save Changes on the same
page and Reboot the module.
ETHERNET
Configuration of the local Ethernet interface.
DHCP
mDNS
• Baud rate
• Data Bits
• Parity
• Stop Bits
• Flow control
Isolated interface - Set the serial parameters of the isolated RS-232/RS-485 interface.
Should be the same as for the device connected.
General
• SIM PIN Pin code for the installed SIM card. If the SIM pin is disabled,
the entered SIM pin will not be sent.
• Additional AT AT commands that will be executed at startup. Only certain
AT-commands are allowed, others are discarded.
PPP
• Periodical reset
The device will completely reset after this timeout if the application has no
active connection.
ATQ0
The modem will send CONNECT X over the serial communication when there is
an incoming connecting
ATQ1
The modem will be silent on the serial communication and will only forward the
data received over the connection
Creates a TCP socket to which a remote connection can be made (server mode),
or connects to a remote TCP server (client mode).
All data sent over the TCP connection is forwarded on the selected serial
interface (in the configuration -> serial menu) and vice versa.
All data entering from the serial port will be buffered and sent in a segment.
The segmentation will be done depending on 2 parameters:
The serial interface can be the isolated interface or the configuration interface.
The DinBox GSM M4 can act as a server (expecting a TCP connection from a
client) or as a client (connecting to a server) :
# Client
Fill in this configuration if “Client” is selected (client will connect to a remote TCP
server).
# Server
The device will act as a TCP server waiting for a TCP connection on the given
Port number (and the WAN IP address).
Outgoing traffic:
• Default gateway interface The interface that shall be used, by default, to route
traffic.
• DNS1 Optional DNS server that can be used when needed.
• DNS2 Optional DNS server that can be used when needed.
• Filter Only allow connections from the given subnet (ip address and
netmask, use netmask 255.255.255.255 to only allow one specific
IP address).
• NAT Configure port forwarding for the NAT in the modem. Ethernet
interface is the private network, mobile network is the public
network. Don’t forget to “Enable” the configured Port.
Services
Factory Reset
Will do a factory reset on all the parameters.
Security
Configuration of the TLS security, needed for management services and https if
enabled.
Import password
Browse/upload
Clear certificates
Delete all certificates
Software upgrade
Updates the modem firmware. Select “Browse”, pick the correct file and upload.
Reboot
Reboots the modem. Should be done after any saved change in the modem
configuration.
2.2 Configuration via the serial interface
Use the standard Bausch Datacom ‘white’ RJ45 to DB9 serial cable to connect to the
serial interface The asynchronous parameters are 115.200 bps 8N1 with RTS/CTS flow
control enabled.
...
23:27:27 (INFO) *********************************
23:27:27 (INFO) *** InduBox GSM M4 ***
23:27:27 (INFO) *********************************
23:27:27 (INFO) Copyright: 2020 Bausch Datacom NV
23:27:27 (INFO) Firmware Version: v5.0.5
23:27:27 (INFO) Target: STM32F437 : Bank 1
23:27:27 (INFO) The system reset cause was "External reset”
Via the Administration-Traces page it’s possible to enable trace information about
a specific functionality.
Via proprietary at-commands it’s possible to configure, test or debug the device.
at#login
Username:admin
Password:********
OK
at#?
Bausch M4 command set:
• 1. at#?
◦ Show this
• 2. at#info
◦ Show system info
• 3. at#scfg
◦ Upload a config in json format
• 4. at#gcfg
◦ Get the config in json format
• 5. at#gbank
◦ Get the current active partition
• 6. at#gmodemip
◦ Get the modem ip address
• 7. at#gethernetip
◦ Get the ethernet ip address
• 8. at#rst
◦ Reset the device
• 9. at#defaults
◦ Factory reset the device
• 10. at#get#
◦ Get a specified configuration setting following a categroy#item_id syntax. The same syntax is
used in the config json format, in which all the categroy names an item id’s cen be derived if
needed. Example at#get#traces#all
• 11. at#set# -
◦ Set a specified configuration setting following a categroy#item_id#value syntax. The same
syntax is used in the config json format, in which all the categroy names an item id’s cen be
derived if needed. Example at#set#traces#all#0
• 12. at#test
◦ Test menu to test certain parts of the device hardware
• 13. at#login
◦ Login into the serial console
• 14. at#logout
◦ Logout of the serial console
• 15. at#passwd
◦ Change the password of the user which is logged in
• 16. at#cert
◦ Upload a certificate (in hex format)
• 17. at#printca
◦ Print out the root certificate
It’s possible to configure the device by SMS. The SMS console has the same command
set as the serial console.