Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get cell's location related data(Have only tried for LTE) #84

Closed
pandeybivek101 opened this issue Jun 29, 2023 · 1 comment
Closed

Comments

@pandeybivek101
Copy link

I have to obtain cell data (both strengths and location). I tried to use this SDK.

import cz.mroczis.netmonster.core.model.cell.ICell
import android.content.Context
import cz.mroczis.netmonster.core.feature.merge.CellSource

NetMonsterFactory.get(context).apply {
val allSources : List = getCells() // all sources
val subset : List = getCells( // subset of available sources
CellSource.ALL_CELL_INFO,
CellSource.CELL_LOCATION
)

        print("----------------------------------------------")
        Log.d("NTM-RES", " \n${subset.joinToString(separator = "\n")}")
        print("----------------------------------------------------")
    }

when I used above function cell info data were present there but location related information were missing there you can see the result below.

CellLte(network=Network(mcc=244, mnc=12, iso=FI), eci=1897729, tac=201, pci=43, band=BandLte(downlinkEarfcn=1598, number=3, name=1800), aggregatedBands=[], bandwidth=null, signal=SignalLte(rssi=-71, rsrp=-81.0, rsrq=-10.0, cqi=11, snr=5.0, timingAdvance=null), connectionStatus=PrimaryConnection(), subscriptionId=2, timestamp=765942574)

CellLte(network=Network(mcc=244, mnc=12, iso=FI), eci=null, tac=null, pci=8, band=BandLte(downlinkEarfcn=1598, number=3, name=1800), aggregatedBands=[], bandwidth=null, signal=SignalLte(rssi=-71, rsrp=-82.0, rsrq=-11.0, cqi=null, snr=null, timingAdvance=null), connectionStatus=NoneConnection(), subscriptionId=2, timestamp=765942574)

how can I get the location of the cells? is it issue of new release? FYI I am new to android studio.

@mroczis
Copy link
Owner

mroczis commented Jan 13, 2024

NetMonster Core does not provide location of cell towers.

@mroczis mroczis closed this as completed Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants