How I get geolocation data?

I want to know how geolocation it work and I don’t know how can I recive data back .

As a start, you need at least 3 geolocation capable gateways before geolocation is possible (gateways that support the fine-timestamp).

1 Like

which gateway support gelocation?

gateways with gps, of course. But not geolocation, fine timestamp support. If you mean endnodes geolocation via triangulation.

@brocaar: we have several cisco gateways with geolocation support. I would like to test the geolocation, but how or from whom do I get the finetimestamp decryption key? I was in contact with our supplier, but they could not really help. Also cisco could not help, which is really weird… Can you help, please?
Thanks!

It might be that these will be provided by Semtech, but I would hope that Cisco would be able to forward your request to the right person for this.

Hi Brocaar.
I have now received a script from Semtech to generate the key for decrypting the fine-timestamp.
I created it, but what is the FPGA ID of the Gateway Board Configuration in the Web UI?
I only get the Chip ID which does not have 8 Bytes?!

ImageVer      : 2.0.32
BootloaderVer : 20180130_cisco
SerialNumber  : FOC233657AR
PID           : IXM-LPWA-800-16-K9
UTCTime       : 15:10:11.788 UTC Mon Feb 08 2021
FPGAVersion   : 61
FPGAStatus    : Ready
ChipID        : LSB = 0x306df808 MSB = 0x00f14200
TimeZone      : UTC
LocalTime     : Mon Feb  8 15:10:11 UTC 2021

Hoflo T, I have a 3 Cisco IXMs and wanting to do a geolocation proof of concept. Who did you contact at Semtech/Cisco to get the key to decrypt the timestamp?

Hi, thats exactly I want to do :-)…
First of all you need to register at https://lora-developers.semtech.com/. Then you can contact the support. In my case they send me a script to generate the AES Key by myself, but I’m stucking at the FPGA ID for now and don’t know which GW OEM to use (SX1388-B11,SX1388-A11,SX1388-C11, SX1388-F11, SX1388-L11, SX1388-R11, SX1388-W11, SX1388-X11) for the Cisco model needed to generate the AES key…

@brocaar or @Sherman_Bierly: do you know how to get the FPGA ID of the Cisco Gateway?

HofloT, On my IXM I just do show fpga and it shows the following:

IXM-915-GW3#show fpga
INFO: SPI speed set to 2000000 Hz
checking FPGA version…
FPGA version: 61
HAL version: 5.1.0
SX1301 #0 version: 103
SX1301 #0 chip ID: 1
SX1301 #1 version: 103
SX1301 #1 chip ID: 1
##PASS: FPGA version check OK
IXM-915-GW3#

Yes, but what is the FPGA ID?

Honestly. I don’t know. This may be useful. https://community.cisco.com/t5/switching/what-is-fpga/td-p/2677577

It may be the “chip ID”. mine shows “1” as shown above which is odd. Related to your AES question…

The LoRaWAN Chip ID is used to obtain the AES key. On the Thingpark Network Server, the AES key is stored in the custom.ini file. The AES key can be displayed from CLI.

Note On other 3rd party network servers, the AES key may be stored in a different location.

Obtaining the AES key requires LoRaWAN geolocation. The AES key is used to decrypt the fine - timestamps required for LoRa Geo-location calculation. The AES keys are licensed via a partner.

Note* The false AES key will report incorrect geo-localization information.

Use the show aes key command to display AES key.

  • The following example shows an existing AES key:

Gateway#show aes key
AES KEY: 595EB592055421C06895E4D4CE0FE63D

  • The following example shows an unknown key:
    Gateway#show aes key
    AES KEY: Unknown

Hoflo T, what geolocation solver/server/service are you planning to use? I am looking at the free tier of the Semtech LoRa Cloud service. But I haven’t figure out how to integrated it yet.

https://www.loracloud.com/documentation/geolocation?url=index.html

Thanks for the Information. I know those commands, and I do get the same Chip ID.
Weird thing is, that the Application Server Web UI requests a 8 Byte ID…
@brocaar could you please give us a hint on this problem?

Yes, I will/would use the semtech geolocation resolver. As far as I know you can use the Lora Cloud integration of the Application Server, see here:
https://www.chirpstack.io/application-server/integrations/loracloud/

Is the 8 Byte ID buried in your chip ID?..LSB = 0x306df808 MSB = 0x00f14200

You were right! The 8 Byte ID is the LSB and MSB. It is working now, and I do get a Location for my devices :+1: :+1:

Hoflo T. Great to hear. Who is the Network Server service provider that is providing non GPS location or are you integrating LoRa Cloud geolocation on your own?

Hi,
I‘m using the Chirpstack LoRa Cloud integration, see here:
https://www.chirpstack.io/application-server/integrations/loracloud/

So the geolocation provider is LoRa Cloud from Semtech.
You can use 1000 API calls per month for free.