Windows commands to Interactive Request Manager

Type these keystrokes when the glgpsapp is printing "......." to cause immediate activity in the GLCT.

Some [optional] commands must be enabled in the code, as they could be dangerous for casual use. The information flow is from glgps_hal_cmd.c to the IRM ARP.

  • q - QUIT sends the IRM command:
    $pglirm,quit causing the GLCT to exit.
  • A - ABORT sends the IRM command: $pglirm,abort
    Causes GLCT to abort.
  • a - ARM FTA sends the IRM command:
    $pglirm,req_arm_syncin,syncin,timeout,30,itcnt,1 to arm the fine-time transfer.
  • C - CNTIN REQ sends the IRM command:
    $pglirm,req_cntin
    The GLCT starts a frequency assistance measurement (count in or "CNTIN".)
  • D - GL_REQ_COLLECT_EPH sends the IRM command:
    $pglirm,req_collect_eph
    The GLCT starts a request to collect ephemeris.
  • e - GPS DATA REQUEST sends the IRM command:
    $pglirm,req_gps_data
    The GLCT starts a GPS data request.
  • E - ALMANAC DATA REQUEST sends the IRM command:
    $pglirm,req_gps_data,alm
    The GLCT starts an almanac data request.
  • F - FREQ AID sends the IRM frequency aiding command:
    $pglirm,aid,freq,...freq_aid_string...
    Where ...freq_aid_string... is specified by the HAL parameter irmFreqAid="...freq_aid_string...". For example: irmFreqAid="offst_ppb,1397,unc_ppb,450,offst_age_sec,1800" [optional]
  • k - CLOCK UNCERTAINTY sends the IRM command:
    $pglirm,clk_unc_change,unc=300
    Tells the GLL that the TCXO uncertainty has increased. [optional]
  • l - Flight Mode sends the IRM command:
    $pglirm,flight_mode,1
    alternating with: $pglirm,flight_mode,0
  • L - LOC AID sends the IRM location aiding command:
    $pglirm,aid,pos,...pos_aid_string...
    Where ...pos_aid_string... is specified by the HAL parameter irmPosAid="...pos_aid_string...". For example: irmPosAid="Lat,37.212,Lon,-122.0,Alt,50,HorAcc,3000.0,VerAcc,1000.0,AgeSec,3600" [optional]
  • M - POS PERIODIC with SmartMask sends this IRM command:
    $pglirm,req_pos,win_xp_immediate_periodic_request,smA1,13,smA2,47,smA3,250,smA4,350,smT1,20,smT2,30,smT3,40,smT4,50,smT5,60,smT6,70,smT7,100
  • m - POS SINGLE SHOT with SmartMask sends this IRM command:
    $pglirm,req_pos_single,win_xp_immediate_periodic_request,timeout,40,smA1,13,smA2,47,smA3,250,smA4,350,smT1,20,smT2,30,smT3,40,smT4,50,smT5,60,smT6,70,smT7,100
  • N - NAV CLEAR sends the IRM command:
    $pglirm,clear,ignore_nav,true,false
    Causes GLCT to clear navigation data (ephemeris) in NVRAM.
  • O - TCXO CLEAR sends the IRM command:
    $pglirm,clear,ignore_osc,true,false
    Causes GLCT to clear TCXO offset in NVRAM.
  • o - POS CLEAR sends the IRM command:
    $pglirm,clear,ignore_pos,true,false
    Causes GLCT to clear position information in NVRAM.
  • p - POS PERIODIC sends the IRM command:
    $pglirm,req_pos,win_xp_immediate_periodic_request
    The GLCT starts a periodic position fix.
  • P - MEAS PERIODIC sends the IRM command:
    $pglirm,req_meas,win_xp_immediate_periodic_meas_request
    The GLCT starts a periodic measurement.
  • Q - QUERY AIDING sends the IRM command:
    $pglirm,req_aid,IRM_AID_QUERY
    Queries what assistance data is missing
  • R - REF_TIME sends the IRM command:
    $pglirm,ref_time,week,282,tow,123456,unc_ms,1234
    Causes GLCT to set GPS time to this test value. [optional]
  • s - SINGLE SHOT sends the IRM command:
    $pglirm,req_pos_single,name,WinXS_s_key,acc,50,timeout,30 \ The GLCT starts a single-shot position.
  • S - SINGLE SHOT MEAS sends the IRM command:
    $pglirm,req_meas_single,win_xp_immediate_meas_request \ The GLCT starts a single-shot measurement.
  • t - SINGLE SHOT sends the IRM command:
    $pglirm,req_pos_single,name,WinXS_t_key,acc,150,timeout,0 \ The GLCT starts a single-shot position with timeout 0 to get the position immediately.
  • T - TIME CLEAR sends the IRM command:
    $pglirm,clear,ignore_time,true,false
    Causes GLCT to clear GPS time information in NVRAM.
  • x - SET FIX STATUS sends the IRM command:
    $pglirm,fix_status,Lat=33.7,Lon=-122.2,Alt=12.3,hdop=2.9,svc=3,1,44,2,43,3,42,4,41
    Causes GLCT to pretend it got the MS-A fix status and is feeding it to the GLL. [optional]
  • X - PPS sends the IRM command:
    $pglirm,pps,1,22,33
    or: $pglirm,pps,0
    Causes GLCT to change PPS settings. [optional]
  • z - STOP ALL sends the IRM command:
    $pglirm,stop,all
    Stop all requests

These keystrokes control "moving sensor" input when <hal SensorMask="GL_EXT_SENS_MOVING" /> is set. The information flow is from glgps_hal_cmd.c to glgps_hal_sensor_win_xp.c/GlHalSensorCommand() and then to the GLCT loop.

  • u unknown
  • n not moving
  • m moving
  • w walking
  • d driving

These keystrokes control "altitude sensor" input when <hal SensorMask="GL_EXT_SENS_MOVING" /> is set. The information flow is from glgps_hal_cmd.c to glgps_hal_sensor_win_xp.c/GlHalSensorCommand() and then to the GLCT loop.

  • 0 altitude unknown (uncertainty is -1)
  • + increase altitude
  • - decrease altitude

These keystrokes simulate a WiFi location sensor:

  • W WiFi position generated ~40m NE (0.000360 degrees latitude)
    based on current position
  • X WiFi position generated ~+/-120m (0.001000 degrees)
    random based on current position
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines