Skip to content

Repository files navigation

CallParser

Application for parsing Amateur Radio callsigns to determine origin and location.

CallParser License: MIT

Mac version of CallParser - Amateur Radio call lookup program

Built on:
  • macOS 11.2.1
  • Xcode Version 12.4 (12D4e)
  • Swift 5.3 / AppKit
Runs on:
  • macOS 10.15 and higher
Usage:

CallParser is a Swift Package allowing an application to determine the country and other information about an Amateur Radio call sign. There are two constructors, on both you create an instance of the PrefixFileParser() and pass it in. On the second constructor you can also pass in credentials for QRZ.com. You can use the first constructor and call the logonToQrz() function if you prefer. If valid credentials are passed in the CallParser will use QRZ.com as the primary source of call sign data with the CallParser as the secondary source. If no credentials are supplied then only the CallParser output will be used. You can set the CallParser to be the primary lookup by setting the useCallParserOnly flag even if valid credentials have been supplied.

Comments / Questions

Please send any bugs / comments / questions to support@w6op.com

Credits:
Other software

W6OP A Mac-based Voice Keyer and a CW Keyer.


1.0.2 Release Notes
  • initial release of package
1.0.3 Release Notes
  • bug fixes in package definition
1.0.4 Release Notes
  • bug fixes in package definition
1.0.5 Release Notes
  • bug fixes in resource definition
1.0.6 Release Notes
  • bug fixes reading resource bundle
1.0.7 Release Notes
  • fixed typos in resource bundle

1.0.8 Release Notes

  • fixed major bug in mask creation

1.0.9 Release Notes

  • old comment cleanup

1.0.10 Release Notes

  • bug fix for synchronous calls

1.0.11 Release Notes

  • bug fixes parsing the masks

1.1.00 Release Notes

  • branch from main
  • added async/await code
  • this version on requires MacOS 12 or higher
  • Swift 5.5
  • Xcode 13.1

1.1.1 Release Notes

  • bug fix

1.1.2 Release Notes

  • Fixed to work with SwiftUI and non SwiftUI applications

1.1.3 Release Notes

  • Unify tag and release version

1.2.0 Release notes

  • Froze main branch
  • Branched to add async operations
  • Added QRZ.com lookup

1.2.1 Release Notes

  • Added useCallParserOnly flag

1.2.2 Release Notes

  • Additional error processing

1.2.3 Release Notes

  • Experimenting

1.3.0 Release Notes

  • Fixed cache checking.
  • Enhance lookup code.

1.3.1 Release Notes

  • Fully works in SwiftUI model.
  • Handles QRZ.com not found - reverts to CallParser.

1.3.5 Release Notes

  • Added supporting code for callback

1.3.6 Release Notes

  • Disabled the cache for testing xCluster

1.3.7 Release Notes

  • Bug fix for call back.

1.4.1 Release Notes

  • Added callback for session key success/failure.

1.4.5 Release Notes

  • Upgraded syntax for Swift 6
  • Added city, county, state to hit for QRZ lookups.

1.4.6 Release Notes

  • Replaced fatalError with logging statement.

1.4.7 Release Notes

  • Added iOS 13 compatibility

1.4.8 Release Notes

  • Removed unused Cocoa imports

1.4.9 Release Notes

  • Minimum iOS release now 14

1.4.9 Release Notes

  • Minimum iOS release now 15.0

2.0.1 Release Notes

  • Converted callbacks to continuations.
  • Breaking change. All client call lookups using callbacks will fail.

2.0.12 Release Notes

  • Handled % in call sign.
  • Bug fixes.
  • Error handling and recovery enhancements.
  • Cleanup.

2.0.13 Release Notes

  • Added timer to throttle requests for session key.

2.0.14 Release Notes

  • Added dxcc entities list to get correct country when QRZ.com has
  • the wrong country for a dxpedition.

2.0.15 Release Notes

  • Minor refactor.

2.0.17 Release Notes

  • Refinements.

2.0.18 Release Notes

  • Refinements.

2.0.19 Release Notes

  • Added attribution in prefix.xml to VE3NEA.

2.0.20 Release Notes

  • Ensured all string slices are released.

2.0.21 Release Notes

  • Manually purge URLCache.

2.1.01 Release Notes

  • Major change. Eliminated XML parser for QRZ.com data.
  • Added a string parser which is faster and less error prone.

2.1.02 Release Notes

  • Added logging for troubleshooting.

2.1.03 Release Notes

  • Minor message refinements.

2.1.04 Release Notes

  • Minor refinements.

2.1.05 Release Notes

  • Added verbose logging flag.

2.1.07 Release Notes

  • Additional verbose logging flag usage.

2.1.08 Release Notes

  • Bug fix returning incorrect QRZ error when should return invalid credentials.

2.1.09 Release Notes

  • Code cleanup.

2.2.01 Release Notes

  • Use internal call parser if user has valid QRZ logon but not XML subscription.

2.2.12 Release Notes

  • Bug fixes.
  • Enhancements.
  • Added geolocate if user does not have an xml subscription.

2.2.22 Release Notes

  • Bug fixes and refinements.

2.2.23 Release Notes

  • Bug fix for invalid dxcc_entity.

2.2.24 Release Notes

  • Bug fix for expired session key message.

2.2.25 Release Notes

  • Added debugging message.

2.2.26 Release Notes

  • Added experimental functions for xCluster.

2.3.01 Release Notes

  • New CallLookup functions implemented.

2.3.10 Release Notes

  • Bug fix returning multiple hits.

2.3.11 Release Notes

  • Bug fixes.

2.3.12 Release Notes

  • Fixed logging statement

2.3.13 Release Notes

  • Fixed introduced bug

About

Package to parse Amateur Radio call signs. Provides country, province or state, latitude and longitude.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages