Setsignalstrengthcallback - Huawei MU736 HSPA+ M.2 Connection Manual

Connection management api
Hide thumbs Also See for MU736 HSPA+ M.2:
Table of Contents

Advertisement

HUAWEI MU736 HSPA+ M.2 Module
Connection Management API
Callback parameters
Type
ULONG

1.9.3 SetSignalStrengthCallback

Description
This function enables/disables the signal strength callback function. The signal
strength callback function is called when a threshold in the threshold array is crossed.
One could pass in 5 for the size of the array, and then an array of values such as {-100,
-90, -80, -70, -60}. Then, should the signal strength for any technology cross a
specified value (for example, going from -95 dBm to -102 dBm, therefore crossing
-100 dBm), the callback will be called.
Function timeout
None
Prototype
ULONG SetSignalStrengthCallback(
tFNSignalStrength pCallback,
BYTE thresholdsSize,
INT8 * pThresholds);
Parameters
Type
tFNSignalStrength
BYTE
Issue 01(2013-03-12)
Variable
roaming
Variable
pCallback
thresholdsSize
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
HW Connection Management API
Mode
Description
OUT
Roaming indicator
0 – Roaming
1 – Home
2 – Roaming partner
>2 – Operator defined values
Mode
Description
IN
Callback function pointer
0 – Disable the callback
IN
Number of elements
threshold array contains; a
maximum of five
thresholds is supported;
must be 0 when disabling
the callback
24

Advertisement

Table of Contents
loading

Table of Contents