Cell ID and LAC are invalid values - but close

Hi, 

I am using the nRF9160 in a datalogging product, logging environmental sensors and sending data via MQTT over a LPWAN network. Something that I have noticed for a while is that the Cell-ID and LAC codes seem to be wrong, and I assumed it was a parsing error on my side that I needed to fix. 

However it turns out that it isn't. the lte_lc library populates infomation about the cell tower it is connected to, but after cross referencing them on websites like cellmapper and opencellid it looks like they are slightly wrong. 

Cell-ID always has '1' added to it. For instance, their are 2 nearby cell towers that it has connected to before - 1357578, 1357588

However the values I always get are  - 1357579 1357589

Similarly, the LAC of both of these masts are 24715, but the LAC I always receive is 25715. 

With them being so close I feel like there must be an explanation for this, but I cant see it myself. 

I was planning to implement multicell location using HEREapi, which I have confirmed works with the corrected values using Postman. I need to find the root of the issue though, as I can't just expect that every cell it connects to will be off by 1.

Thanks, 

Damien

Parents Reply
  • Hi,

    DamoL said:
    Can you not verify that a Cell-ID that your DK connects to is a correct Cell-ID? You can use one of the two links to search for the Cell-ID you receive and see if they exist?

    I am sorry, but we really need a trace because we need to check whether this is modem issue or not.. You can enable modem tracing by using CONFIG_NRF_MODEM_LIB_TRACE_ENABLED KConfig option which enables modem traces in the modem and forwards them to the Modem trace module.

    Best regards,
    Dejan

Children
Related