IR8xx IOS GPS configuration
Before one can start using GPS service, one needs to configure IOS to start streaming the GPS NMEA data.Below are the steps
- Connect GPS antenna to the IR8xx router
- Configure IOS GPS feature and ensure GPS fix
GPS Antenna
The Cisco 4G indoor/outdoor, active GPS antenna (GPS-ACT-ANTM-SMA) can be physically connected to the Cisco Integrated Services Routers (ISRs) and Cisco 4G Enhanced High-Speed WAN Interface Cards (EHWICs) to receive GPS broadcasts from satellites.
In order to procure a suitable GPS antenna and connecting to any IR8xx router, please follow this link
IOS GPS Configuration
Check if the GPS feature is already enabled on the router by running the below command on the IOS console:
IR829#show cellular 0 gps
- Follow the below steps to configure the GPS feature on the IR 8xx router *
iox-ir809-03(config)#controller cellular 0
iox-ir809-03(config-controller)#lte gps ?
iox-ir809-03(config-controller)#lte gps enable
iox-ir809-03(config-controller)#lte gps mode standalone
iox-ir809-03(config-controller)#lte gps nmea serial
After adding the configuration. Do a modem power cycle using the following command.
iox-ir809-03#test cellular 0 modem-power-cycle
For more detailed GPS configuration and debugging, please follow this link
Please ensure that the GPS antenna has a good line of sight to the sky for getting a good fix to the GPS satellites.
When the GPS feature has a successful fix, the IOS CLI shows GPS data as below
IR829#show cellular 0 gps
GPS Info
-------------
GPS Feature: enabled
GPS Port Selected: Dedicated GPS port
GPS State: GPS enabled
GPS Mode Configured: standalone
Latitude: 48 Deg 38 Min 31.2114 Sec North
Longitude: 2 Deg 13 Min 47.3992 Sec East
Timestamp (GMT): Wed Jul 22 08:05:28 2015
Fix type index: 0, Height: 94 m
Satellite Info
----------------
Satellite #14, elevation 28, azimuth 310, SNR 31 *
Satellite #15, elevation 22, azimuth 171, SNR 39 *
Satellite #17, elevation 25, azimuth 45, SNR 34 *
Satellite #18, elevation 8, azimuth 248, SNR 25
Satellite #22, elevation 12, azimuth 281, SNR 24
Satellite #24, elevation 78, azimuth 90, SNR 35 *
Satellite #25, elevation 23, azimuth 241, SNR 27
Satellite #1, elevation 0, azimuth 0, SNR 0
Satellite #2, elevation 0, azimuth 0, SNR 0
Satellite #6, elevation 6, azimuth 85, SNR 0
Satellite #12, elevation 62, azimuth 241, SNR 0
Satellite #26, elevation 0, azimuth 0, SNR 0
Satellite #29, elevation 0, azimuth 0, SNR 0
Next steps
Next Chapter -How to install GPS microservice
To learn more about how to develop GPS App use below link:
GPS App development - How to develop and package GPS App development using IOx gps service
Reference GPS App - Sample GPS App
IOx Services developer guide - IOx Services developer guide