'Google location service API: Only the first cell is taken into account in a list of several cell towers
I'm developing a connected object with an LTE modem. I'm able to scan the surrounding cells. But every time I submit a list of several cells to the API, only the first one is taken into account.
A request with C1, C2, C3 returns the same result as C1 only A request with C3, C2, C1 returns the same result as C3 only
So a request with C1, C2, C3 does not give the same result as C3, C2, C1.
This problem is annoying because the other cells I have in the list are useless.
Note: I did the same test with wifi APs, and in this case it works correctly. I notice the problem only in the case of cell-id.
Thank you in advance for your help.
C1, C2, C3 list request content
{
"radioType": "lte",
"considerIp": "false",
"cellTowers": [{
"cellId": 18426375,
"locationAreaCode": 26150,
"mobileCountryCode": 208,
"mobileNetworkCode": 1,
"signalStrength": -88
},
{
"cellId": 18454276,
"locationAreaCode": 26154,
"mobileCountryCode": 208,
"mobileNetworkCode": 1,
"signalStrength": -80
},
{
"cellId": 18458628,
"locationAreaCode": 26150,
"mobileCountryCode": 208,
"mobileNetworkCode": 1,
"signalStrength": -60
}]
}
C3, C2, C1 list request content
{
"radioType": "lte",
"considerIp": "false",
"cellTowers": [
{
"cellId": 18458628,
"locationAreaCode": 26150,
"mobileCountryCode": 208,
"mobileNetworkCode": 1,
"signalStrength": -60,
},
{
"cellId": 18454276,
"locationAreaCode": 26154,
"mobileCountryCode": 208,
"mobileNetworkCode": 1,
"signalStrength": -80,
},
{
"cellId": 18426375,
"locationAreaCode": 26150,
"mobileCountryCode": 208,
"mobileNetworkCode": 1,
"signalStrength": -88,
}]
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
