Changes

Created page with "==Introduction to profiles== {{{model|FMB630}}} has 4 profiles saved in Flash memory of the module. Every profile has a list of parameters, which enables {{{model|FMB630}}} to..."
==Introduction to profiles==
{{{model|FMB630}}} has 4 profiles saved in Flash memory of the module. Every profile has a list of parameters, which enables {{{model|FMB630}}} to operate in different modes while using different profiles. The easiest way to understand what is a profile is to compare it to a list of instructions that are written for different cases. You are allowed to setup up to 4 different module behaviours. Global parameters contain settings that are common for all 4 profiles. This means that if {{{model|FMB630}}} is set to call to predefined number, you will be able to call it while using any profile.
Profile 3 is default profile for {{{model|FMB630}}}. It is always loaded on the very first start-up and further profile switching is proceeded after operator scan or I/O element changes.
Switching between profiles (changing behaviour) can be performed by GSM Operator (mostly used for roaming applications), or by Profile switching depending on I/O Event (on I/O value changing).

==Profile switching==

Basic scheme of Global parameters, external devices and profiles is shown below.

[[Image:fmb630_profiles.png|none]]

Switching between profiles (changing behaviour) can be performed by Profile switch depending on GSM operator code (mostly used for roaming applications), or by Profile switch depending on I/O event (on I/O value changing).

Profile 3 is default profile for {{{model|FMB630}}}. It is always loaded on the very first start-up and further profile switching is proceeded after operator scan or I/O element changes (although device remembers which profile it used after that).

* '''Profile Switching dependence on GSM Operator'''

GSM Operator code profile switching is mostly used in roaming applications, when the purpose is to have information from module both from Home and Roaming operator network for a reasonable price. This method allows you to define different module behaviour in Home network, Roaming network and unknown operator areas.
Profile 1 is configured for home network. Data acquisition and send intervals are quite frequent here. To make profile use effective, it is wise to set more optimized parameters in roaming profile (Profile 2) – this usually includes larger coordinate recording intervals, packets with greater number of coordinates sending, and in some cases GPRS context available only for a certain time interval. Profile 3 can either contain operator codes (rarely used) or have an empty list. Profile 4 is not used (profile 4 can only be used when {{{model|FMB630}}} encounters a 'panic' priority event

In the example below {{{model|FMB630}}} connects to operator with code 24702. It checks profile 1 operator list, but there is only one operator code entered which does not mach. Then it checks profile 2 operators list. This code is entered there, so {{{model|FMB630}}} switches to profile 2.

If there are no operator codes entered in all profiles after operator search task {{{model|FMB630}}} will check all 3 profiles and won’t find any operators in any list. In such a case, {{{model|FMB630}}} will switch to profile 3. Note that before switching to profile 3, the device closes the GPRS session.

{| class="wikitable"
|+
! style="background: black; color: white;"|[[Image:alert.png]]
! style="background: black; width: 800px; color: white;"|Operator search is performed every 15 minutes. If no operators are entered in any profile it can have influence on GPRS sessions. IF GPRS sessions are attaching/detaching every 15 minutes it means configuration of {{{model|FMB630}}} is performed incorrectly.
|}

GSM Operator code profile switching algorithm:
[[Image:fmb630_profiles_algo.png|none]]

* '''Profile switching dependence on I/O event'''

Another profile switch method is based on I/O event. Events happen when the value of enabled I/O intersects thresholds (enter, exit, on both, hysteresis) predefined by High and Low level thresholds. SW21, SW22, SW23, SW24 stands for “Switch to profile no. X”. After an event happens, {{{model|FMB630}}} switches to a defined profile. Using profile switching you can create smart applications. SW2X actions can be performed only if “Profile change on event” is enabled in Global parameters. Pictures below illustrate profile switching depending on digital events:

[[Image:fmb630_profiles_onEvent.png|none]]

Navigation menu