14
13. Medi-Link UDP/SERVER Reporting
The Medi-Link (Cellular) has an internal GPRS/GSM module to perform network
reporting. The Medi-Link microcontroller communicates with this module by strings.
Basically the microcontroller makes a request and the module responds. When the
operation is successful the process steps through the following states.
(Displayed bottom
right hand corner as occurring).
-
[ntwO]
…
2 attempts (8 sec) … GPRS/GSM module establishes connection with a Cellular Network.
.
-
[prtO]
…
5 attempts (20 sec) …GPRS/GSM module opens a UDP port on the Network.
.
-
[cnct]
…
2 attempts (8 sec) … GPRS/GSM module connects to a receiving Server via the UDP
Port.
-
[rpt]
…
2 attempts (8 sec) … Medi-Link transmits report to receiving Server.
-
[rsp]
…
1 attempt (14 sec) … Medi-Link waits for response for receiving Server.
NB: If a response is not received from the Server, then the Medi-Link closes the Port.
-
[prtC]
…
2 attempts (2 sec) … GPRS/GSM module closes a UDP port on the Network.
-
[ntwC]
…
2 attempts (2 sec ) … GPRS/GSM module closes connection with Cellular Network
NB: if continually displaying any one of the above then whatever stays on display (Bottom right
hand corner) is where the problem has occurred for service diagnostics. See below…
[NOTE: If response was not received from the Server, the Medi-Link performs up to 10
reporting attempts rotating around the programmed Servers. There is no delay between
the attempts.]
These states occur after the GPRS/GSM module has made contact with the service
provider’s access point. The GPRS/GSM manages the access point connection internally.
The GPRS/GSM module may come across network communication issues. The module
will respond with error messages instead of the expected message. These error
messages can be analysed and determine exactly what is happening.
The time to report via the UDP port is usually instant. The microcontroller requests and
the GPRS/GSM module responses are generally quick. At times however the response
may be slower as the GPRS/GSM module waits for communication from the access point
and may respond with errors. In this case each request waits for the response. So this
process may extend to a minute in unusual circumstances.
The Medi-Link attempts to report 10 times via the UDP port connection. If it is not
successful than it will attempt to report through the GSM channel if phone are numbers
entered (again 10 attempts, then 5 minutes, then 9 attempts hourly). NB” If it fails to get
through in GPRS mode “Report fail” will be displayed until the unit finally connects either
CALL
Unit
[ntw0]