Difference between revisions of "Template:FMB GPRS settings"
Line 67: | Line 67: | ||
*Server Port | *Server Port | ||
Backup server Protocol: | Backup server Protocol: | ||
− | *Defines GPRS data transport protocol, used for data transfers – <span style="color:#F6A83E">TCP</span> or <span style="color:#F6A83E">UDP</span>. | + | *Defines GPRS data transport protocol, used for data transfers – <span style="color:#F6A83E">TCP</span> or <span style="color:#F6A83E">UDP</span>. From the device side inner workings are similar, in both TCP and UDP the device still waits and responds to the packets sent from server, but the network data is lower due to Network layer is being used in TCP or UDP by CFG. |
Encryption: | Encryption: | ||
*An additional option is the use of TLS encryption for sending records to the main server and backup server. | *An additional option is the use of TLS encryption for sending records to the main server and backup server. |
Revision as of 16:58, 8 November 2021
GPRS Settings
These settings define the main parameters for FMB1YX.
GPRS Context:
- Device ability to enable or disable GPRS connection.
APN:
- Access point name, mandatory parameter which is used connect to internet (GPRS). Access Point Name is a gateway between mobile operator and public internet. It can be obtained from your SIM card provider.
APN Username:
- Access point name username (optional – depending on operator)
APN Password:
- Access point name password (optional – depending on operator).
GPRS Authentication:
- Some operators use a specific type of authentication for GPRS sessions – CHAP or PAP. If any of these is used, APN should be entered as "chap:<APN>" or "pap:<APN>" respectively e.g. if the operator is using APN "internet" with CHAP authentication, it should be entered as "chap: internet". Information about APN and authentication type should be provided by your GSM operator.
SIM1 and SIM2 GPRS Settings can be configured separately.
Auto APN
Auto APN:
- This feature allows the device to select the correct APN from integrated into the firmware APN database. After the tracker turns ON it will automatically search APN settings depending on the inserted SIM card.
- This feature is used form 03.25.15.Rev.32 and up, explained in more detail in this page.
- Also this feature will not work if the client/user have configured GPRS setting before installing the device.
Transfer APN File
APN file Upload / Download:
- Connect to the device using configurator and look for Transfer APN file section. Press the Upload button and locate your APN_list.bin file. (binary APN list can be named differently, make sure to use the correct file).
- This transfer APN File option is valid from 03.25.15.Rev.32 and up.
- The AutoAPN file comes with the device form the factory, but if the client/user configures the GPRS settings then the APN file is not needed.
First Server Settings
Domain:
- Server or Domain adress, can be written either IP address or Domain.
Port:
- Server Port
Protocol:
- Defines GPRS data transport protocol, used for data transfers – TCP or UDP. From the device side inner workings are similar, in both TCP and UDP the device still waits and responds to the packets sent from server, but the network data is lower due to Network layer is being used in TCP or UDP by CFG.
TLS encryption:
- An additional option is the use of TLS encryption for sending records to the main server and backup server.
![Alert.png](/images/thumb/d/d6/Alert.png/30px-Alert.png)
All the information in photos must not be used, just for demonstrational use only.
Second Server Settings
Second server has 4 different modes:
Disable:
- Second server is not used.
Backup:
- Records are sent to second server if main server is not available (for example fails to open link) or when main server response timeout is reached 5 times in a row.
Duplicate:
- Records are sent to both servers (main and second), records are deleted from SD-card (or Flash storage) only if both servers accepted the records.
EGTS:
- Records are sent to both servers (main and second), records are sent to the backup server using the EGTS protocol. RNIS system is supported with EGTS protocol.
Backup server Domain:
- Server or Domain adress, can be written either IP address or Domain.
Back up server Port:
- Server Port
Backup server Protocol:
- Defines GPRS data transport protocol, used for data transfers – TCP or UDP. From the device side inner workings are similar, in both TCP and UDP the device still waits and responds to the packets sent from server, but the network data is lower due to Network layer is being used in TCP or UDP by CFG.
Encryption:
- An additional option is the use of TLS encryption for sending records to the main server and backup server.
![Alert.png](/images/thumb/d/d6/Alert.png/30px-Alert.png)
All the information in photos must not be used, just for demonstrational use only.
Records Settings
Open Link Timeout:
- It means that the link ("Bridge between device and server") is opened for set time to send records from the device to the server. If there were not a lot of records and all of the records were sent before, the link is still open and it waits for the new records before closing up again. If new records are generated during the timeout and reaches the minimum count of records then it sends the records to the server, thus GSM operator charges less for the link activation.
Server Response Timeout:
- Is used to set a period of time waiting for the response from the server-side. It means that if the response from the server is slower the timeout can account for that and setting the higher value that the server could fully respond to the received data.
Network Ping Timeout:
- Enables network ping after timeout to prevent link close by operator. It means how much time will be set to send all of the records before the link will be closed by the operator.
Sort by:
- Can be set either Newest or Oldest. For example if the Oldest is marked the the device first will send the Oldest information, if Newest then Device will send the newest information. Also if there was no connection for some time, the device saves the records to the internal storage, when signal is recovered and if the sorting is set on Newest the device will sent first the Newest record rather than the Older records. If Oldest is set then the device will sent all the records from Oldest to Newest, but it may take some time while the Newest record will be sent. If high priority in I/O section is set then I/O parameter will be sent first.
ACK Type:
- Determines what method the device uses to receive confirmation from the server TCP/IP or AVL. TCP/IP means that the confirmation will be included in the TCP/IP layer and no additional message will be needed. AVL means that the device will expect an additional AVL message from the server,
FOTA WEB Settings
These settings are used to configure FOTA WEB server connection parameters.
Status:
- Enables or disables FOTA WEB functionality. If the Status is enabled then it means that CFG can be uploaded to FOTA WEB.
Domain:
- The address of the FOTA website is entered to Domain field.
Port:
- The Port of the FOTA website is entered to Port field.
Period:
- Is used to set the timeout of repeat connections to the FOTA WEB server.
![Alert.png](/images/thumb/d/d6/Alert.png/80px-Alert.png)
From 03.27.02 firmware version, FOTA WEB connection period randomizer is added. The randomizer will choose a +-2.5 period for each connection. For example, then the connection period is set to 30 minutes, device with each connection will choose a new connection (from 27.5 min to 32.5 minutes). This also applies to the "web_connect" SMS/GRRS command. This has been implemented to ensure smoother operation of FOTA WEB services by spreading out large numbers of simultaneous device connections over a longer timeframe.
TLS/DTLS
From 03.27.02 firmware version, TLS/DTLS functionality was implemented for FMB0YX, FMB9X0, FMB96X, FMB1YX, FMU1YX, FMM1YX, FMC1YX, FM30XY, FMB2YX, FMT100 device. Note! Currently only TLS encryption functionality is fully implemented, if needed DTLS encryption is possible to implement.
Supported versions: 1.1/1.2
TLS/DTLS certificate generation
Instructions cover how to generate an encryption certificate and how the device should be configured in order to send encrypted records into the client-server can be downloaded HERE.
Server configuration and encryption certificate implementation is mandatory from the client-server side!