HL7800 Get service and neighbouring cells

Hi,

I am trying to get information on the service and neighbouring cells that the device is connecting to.

I am able to get the needed info for the service cell using AT+KCELL=0 where I can derive the MCC, MNC, LAC and Cell ID (although I haven’t managed to get the PSC yet, any ideas?).

For example:


at+kcell=0

+KCELL: 0
+KCELL: 0
+KCELL: 3,5,02f250,27637,42,5061,58,22,0,6,6290,182,51,10,6,6290,44,46,0

MCC: 202
MNC: 05
LAC: 5061
Cell ID: 161335

The needed Cell IDs for the neighbouring cells are not present in the original reply (similar topic)

How can I get these Cell IDs?

I’ve tried AT+KCELL=2,1 like so:


AT+KCELL=2,1

OK

+KCELL: 6290,42,00027637,02f250,75,5061

+KCELL: 6390,487,0003F548,02f210,70,8000

+KCELL: 0

which returns the service cell and a cell that was not present in the neighbouring cells(?). Is this command the way to go?

FW version: 4.6.9.4

thanks

Hi @hkiol,

When you type the command AT+KCELL=0 and the result is

+KCELL: 0
+KCELL: 0
+KCELL: 3,5,02f250,27637,42,5061,58,22,0,6,6290,182,51,10,6,6290,44,46,0

According to the AT command document:
3 → total cells
5 → LTE serving cell
02f250,27637,42,5061,58,22,0 → information for serving cell
6 → LTE neighbor cell
6290,182,51,10 → information for neighbor cell 1 → Physical Cell ID: 182
6290,44,46,0 → information for neighbor cell 2 → Physical Cell ID: 44

Please refer to the AT command document in the following link: HL78xx AT Commands Interface Guide

Thanks,

Hi,

The Physical Cell ID is not the unique identifier required by the cell API (HTTP API with cell database).
The response only gives the service cell ID.

As you can see in the above image, I need the LTE_CI which is:

AT+KCELL=2,1 does give the LTE_CI but takes too long and outputs cells that were not in the initial KCELL=0
command.

thanks

Hi,

So is there no way to get a fairly accurate positioning on the HL78XX modems?

This would require at least three cells and from what I have found already, I can only get one cell?

thanks

Hi @hkiol,

If you need to determine the location, you can use the GNSS or PoLTE feature on the HL7800 module.

You are seeing only 1 cell because the location you are at may only have 1 cell supported by the technology you are using. Regarding your comment above, I see that your device has already detected 3 cells.

Regarding the AT+KCELL=2,1 command taking too long to respond, according to the definition of the +KCELL command, it should respond within a maximum of 30 seconds. If it takes longer than 30 seconds, please let me know.

Thanks,

Hi,

I am trying to avoid using GNSS as it uses the same RF hardware as the LTE.

The LTE_CI is only provided for the serving cell and not the rest but it is vital for actually finding the cells. So this is not given for cells other than the serving one.

KCELL=2,1 not only gives different cells than kcell=0 but 30 seconds is way too many for a low power application.

So this I guess is my question (from this topic), has it been updated?:

thanks