Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:NMEAXmit - a NMEA dumper for S60 3rd Edition

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Code Example
Source file:
Created: ltomuta (10 Jul 2008)
Last edited: hamishwillee (01 Jul 2012)
This application, written by Juha Ruotsalainen and Arno Saine, requests raw NMEA data from location framework (LFW) and either:
  • Displays it on screen.
  • Saves it to memory card.
  • Sends it over Bluetooth to a connected device.
  • All of the above.

This functionality was achieved by marrying S60 public SDK example application Chat with LocationRefAppForS60.

Chat provided the BT serial port profile service stuff needed for Bluetooth sending, and LocationRefAppForS60 provided the sample code for LFW usage. LocationRefAppForS60 parts needed to be changed so that it requests RAW NMEA data instead of preprocessed coordinates.


Using NMEAXmit to receive NMEA data over Bluetooth to PC

  1. Enable BT on phone, start NMEAXmit and select 'Start GPS Sending'.
  2. Start BT pairing on laptop, select the desired phone, and most importantly, be sure that the laptop finds a serial port profile on the desired phone.
  3. When pairing has been successfully completed, there should be a new COM port on the laptop. When this COM port is opened using HyperTerminal, NMEA dump starts scrolling on HyperTerminal's display.
  4. Done.

N.B. The source code package includes animated instructions for using this feature :)

Using NMEAXmit to save GPS receiver’s data, and simulate it later on the device

  1. Install Simulation PSY to the device.
  2. Start Dumping to memory card in NMEAXmit.
  3. Stop Dumping to memory card in MNEAXmit. Recorded dump file is copied to Simulation PSY folder.
  4. Start simulation from Tools / Settings / General / Positioning / Positioning methods.
  5. Select the file you've just recorded from Simulation PSY options.
  6. See the simulation running in Nokia Maps or other applications that use GPS.

Source code


... is welcomed, just use the comments tab :) And do not forget to rate the page.

This page was last modified on 1 July 2012, at 11:55.
46 page views in the last 30 days.