Home » M2M GSM - Nokia - Aplicom 12i - TBOX Teltonika » Port1, Port2 and Port3 communication settings for TBOX Nokia 12 GSM Module

Port1, Port2 and Port3 communication settings for TBOX Nokia 12 GSM Module


General Options

If Nokia or Aplicom Configurator has succesfully recognized our Nokia 12 module then going through menu File->Module Configuration some basic communication parameters are provided for change on Port Settings tab sheet. By pressing Read parameters button current parameters from Nokia 12 module are loaded and displayed appropriately.

What we see before pressing Read parameters button is as follows:

Port 1                             Port 2                            Port 3

o System Protocol   o System Protocol   o General IO

o General IO                                                        o Java Serial Port

o AT                                                                        o GPS

o GPS

o HW Detection

Here, symbol “o” represents an unselected radio button choise. If we click on “o” this gets filled with black color and it means that this choise is selected (but not yet known by Nokia module). Pressing the Write Parameters button, the desired changes will take effect only after rebooting the module. We will represent this state by the symbol “x”.

The above mentioned Port 1, Port 2, Port 3 are three internal system ports while in reality we can see only two ports if we look at the TBOX module. One can see physical port1 and physical port2/3. How a physical port functions is configured by internal port1, port2, port3 settings and implemented by using the right serial cable which comes with TBOX package. Two serial cables are provided by Teltonika, cable Port3 and cable Port1/2.

Serial cable Port3

Serial cable Port3 is always connected on physical Port2/3 and its operation is to allow communication between TACC software and Nokia 12 module through a running imlet java program called TacImlet 2.0.4. TacImlet runs on internal Nokia 12 memory. TACC is a java program for PC specificaly made to recognize TacImlet and vice versa. If something goes wrong with TacImlet running state then communication between these programs is not possible.

Setting TacImlet in running mode is accomplished from Nokia Configurator no matter what choise has been made for Port3 state (this also means that once TacImlet is in running mode the communication with TACC is successful no matter what we choose for Port3 state):

Port 3

x General IO

o Java Serial Port

o GPS

or

Port 3

o General IO

x Java Serial Port

o GPS

or

Port 3

o General IO

o Java Serial Port

x GPS

Assuming we did not stop TacImlet from running in purpose, or communication lost suddenly even if TacImlet seems to run then something is wrong with serial cable adaptors or a program faulty code.

Serial cable Port1/2

Serial cable Port1/2 plays a double role, it can be connected to both physical ports on Nokia 12 module but its operation depends on what option we have already set for internal port1 or port2.

Internal Port2

Internal Port2 includes only one parameter, o System Protocol. If we set x System Protocol for Port 2 then it is impossible to set x System Protocol for Port 1 and vice versa. Lets say we have selected x System Protocol for Port 2. This means that serial cable Port1/2 must be connected to physical Port2/3 in order to “talk” to Nokia 12 module a specific language understood by that. That language is called System Protocol. Nokia-Aplicom Configurator “talks” this language too. This way is provided a communication path between a PC and the Nokia 12 module. Using Port2 as system protocol does not allow Nokia-Aplicom Configurator and TACC communicate with module at the same time because physical port2/3 is occupied already by one serial cable at a time.

Internal Port1

Internal Port1 includes the following parameters, which can be selected one at a time:

Port 1

o System Protocol

o General IO

o AT

o GPS

o HW Detection

If we set x System Protocol for Port 1 then it is impossible to set x System Protocol for Port 2 and vice versa. Lets say we have selected x System Protocol for Port 1. This means that serial cable Port1/2 must be connected to physical Port1 in order to “talk” to Nokia 12 module with system protocol language understood by that. Must not forget to set  the external TBOX switch to AT mode or we will never get a response from module. This way is provided a communication path between a PC and the Nokia 12 module using Port1 as system protocol and allows TACC communicate with TacImlet at the same time because physical port2/3 is free.

Christodoulos Chatziliontos

Technical Director

Chemical Engineer


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: