Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS - UDP receiver error #4925

Open
DavidBerschauer opened this issue Jan 10, 2024 · 6 comments
Open

iOS - UDP receiver error #4925

DavidBerschauer opened this issue Jan 10, 2024 · 6 comments
Labels

Comments

@DavidBerschauer
Copy link

Describe the issue

When connecting to a external GNSS receiver via UDP an error occurs.
This error seems to be independent from the external device and unfortunately makes GNSS receivers with NMEA over UDP functionality useless for QField.

Reproduction steps

Steps to reproduce the behavior:

  1. Got to settings
  2. Go to Positioning
  3. Add or select a positioning device with the following configuration
    • Connection type: UDP (NMEA)
    • Adress: (also tested with multiple domains or IPv4 adresses)
    • Port: 10110
  4. Connect to the device

Expected behavior

QField opens the specified port and waits for UDP packets to arrive

Observed behavior

An error occurs: Positioning device error: UDP receiver error (UnsupportedSocketOperation)

Screenshots and GIFs

QField_UDP_receiver_error

Desktop

not relevant, also not working with example projects

Mobile

  • Device: iPhone 12, iPad Pro 2017
  • OS: iOS 17.1.2, iOS 17.02
  • QField version: 3.1.3 (14a225) (Current version in App Store)

Additional information

This error did not occur in previous versions. On a different iPhone with iOS 17 and QField 3.0.7 installed everything works fine.

@nirvn
Copy link
Member

nirvn commented Jan 13, 2024

@DavidBerschauer , on that different iPhone device that works fine, can you update QField to the latest version there and see if it continues to work? I.e., trying to figure out whether it's a regression between 3.0 and 3.1 or if this is a device-specific issue.

@nirvn nirvn added the ios label Jan 13, 2024
@DavidBerschauer
Copy link
Author

After updating from 3.0.7 to 3.1.3 on the second iPhone the same error occurs.

@nirvn
Copy link
Member

nirvn commented Jan 15, 2024

@DavidBerschauer , useful information, thanks.

@nirvn
Copy link
Member

nirvn commented Jan 15, 2024

@DavidBerschauer , could you do the following:
a/ enable the send anonymized metrics toggle (in QField settings' general panel), then restart QField
b/ switch from internal device to your UDP device, try to connect
c/ when that fails, go to the message logs (through the side dashboard's main menu), and hit send application log
d/ a popup will appear, please type your github user name in the optional details text input, then click on OK

When that's done, let me know.

@DavidBerschauer
Copy link
Author

Done

@nirvn
Copy link
Member

nirvn commented Jan 15, 2024

@DavidBerschauer , could you send me your UDID via email (mathieu@opengis.ch)? I would like to add your device in the list of devices allowed to run development builds so we can see if the following PR will improve things for you (#4952).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants