{"action":"created","issue":{"url":"https://api.github.com/repos/cyoung/stratux/issues/315","repository_url":"https://api.github.com/repos/cyoung/stratux","labels_url":"https://api.github.com/repos/cyoung/stratux/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/cyoung/stratux/issues/315/comments","events_url":"https://api.github.com/repos/cyoung/stratux/issues/315/events","html_url":"https://github.com/cyoung/stratux/issues/315","id":139482839,"number":315,"title":"Enhanced GPS detection and MTK3339 support","user":{"login":"AvSquirrel","id":14127245,"avatar_url":"https://avatars.githubusercontent.com/u/14127245?v=3","gravatar_id":"","url":"https://api.github.com/users/AvSquirrel","html_url":"https://github.com/AvSquirrel","followers_url":"https://api.github.com/users/AvSquirrel/followers","following_url":"https://api.github.com/users/AvSquirrel/following{/other_user}","gists_url":"https://api.github.com/users/AvSquirrel/gists{/gist_id}","starred_url":"https://api.github.com/users/AvSquirrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AvSquirrel/subscriptions","organizations_url":"https://api.github.com/users/AvSquirrel/orgs","repos_url":"https://api.github.com/users/AvSquirrel/repos","events_url":"https://api.github.com/users/AvSquirrel/events{/privacy}","received_events_url":"https://api.github.com/users/AvSquirrel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cyoung/stratux/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/cyoung/stratux/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/cyoung/stratux/labels/testing","name":"testing","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cyoung/stratux/milestones/4","html_url":"https://github.com/cyoung/stratux/milestones/v0.9","labels_url":"https://api.github.com/repos/cyoung/stratux/milestones/4/labels","id":1632120,"number":4,"title":"v0.9","description":null,"creator":{"login":"AvSquirrel","id":14127245,"avatar_url":"https://avatars.githubusercontent.com/u/14127245?v=3","gravatar_id":"","url":"https://api.github.com/users/AvSquirrel","html_url":"https://github.com/AvSquirrel","followers_url":"https://api.github.com/users/AvSquirrel/followers","following_url":"https://api.github.com/users/AvSquirrel/following{/other_user}","gists_url":"https://api.github.com/users/AvSquirrel/gists{/gist_id}","starred_url":"https://api.github.com/users/AvSquirrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AvSquirrel/subscriptions","organizations_url":"https://api.github.com/users/AvSquirrel/orgs","repos_url":"https://api.github.com/users/AvSquirrel/repos","events_url":"https://api.github.com/users/AvSquirrel/events{/privacy}","received_events_url":"https://api.github.com/users/AvSquirrel/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2016-03-09T05:19:23Z","updated_at":"2016-04-01T19:58:21Z","due_on":null,"closed_at":null},"comments":64,"created_at":"2016-03-09T05:52:51Z","updated_at":"2016-04-07T22:07:33Z","closed_at":null,"body":"1. Stratux version: v0.8r1 https://github.com/AvSquirrel/stratux/commit/fd936e7e1b71429abb4e853f8a7116078a3da718\r\n2. Stratux config:\r\n\r\n    SDR\r\n      [ ] single\r\n      [X] dual\r\n\r\n    GPS\r\n      [X] yes\r\n      [ ] no\r\n      type: u-blox, MTK, or SIRF\r\n\r\n    AHRS\r\n      [X] yes\r\n      [ ] no\r\n\r\n    power source: Wall-wart\r\n    usb cable: Fixed\r\n\r\n3. EFB app and version: N/A\r\n    EFB platform: N/A\r\n    EFB hardware: N/A\r\n\r\n4. Description of your issue:\r\n\r\nMultiple users are using or have requested support for MTK3339-based GPS receivers (e.g. Adafruit Ultimate GPS). These receivers will work on current builds if connected through a USB-to-UART bridge since ttyUSB0 is assumed to be SIRF IV (BU-353), which only outputs standard NMEA sentences.\r\n\r\nDevices that connect as ttyACM0 (u-blox native USB interface) or ttyAMA0 (onboard UART) are assumed to be u-blox, and are configured to use UBX-proprietary NMEA sentences for efficiency and improved quality / resolution of data over standard NMEA. However, this means that Stratux tries to configure any device on ttyAMA0 as if it were a u-blox device, and this makes UART connections incompatible with any other type of GPS receiver.\r\n\r\nThis is a tracking request for improving the GPS configuration routine to better autodetect these alternate receivers. I'm starting to lay this out in my development branch but have a few open questions:\r\n\r\n- Besides the Adafruit Ultimate GPS, the BU-353 (and other SIRF receivers), and the various u-blox devices, are there any other common receivers that should be supported?\r\n- What baud rates are these factory-configured to use? Should Stratux attempt to autobaud through other rates to handle user configuration / misconfiguration?\r\n- Should the UI provide for manual (specify type of device, port -- e.g. /dev/ttyUSB3, and baud rate) or semi-manual (specify type of device and method of connection -- e.g. GPIO or USB) overrides to speed up \"difficult\" cases?\r\n"},"comment":{"url":"https://api.github.com/repos/cyoung/stratux/issues/comments/207110309","html_url":"https://github.com/cyoung/stratux/issues/315#issuecomment-207110309","issue_url":"https://api.github.com/repos/cyoung/stratux/issues/315","id":207110309,"user":{"login":"aerojoe","id":16652838,"avatar_url":"https://avatars.githubusercontent.com/u/16652838?v=3","gravatar_id":"","url":"https://api.github.com/users/aerojoe","html_url":"https://github.com/aerojoe","followers_url":"https://api.github.com/users/aerojoe/followers","following_url":"https://api.github.com/users/aerojoe/following{/other_user}","gists_url":"https://api.github.com/users/aerojoe/gists{/gist_id}","starred_url":"https://api.github.com/users/aerojoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerojoe/subscriptions","organizations_url":"https://api.github.com/users/aerojoe/orgs","repos_url":"https://api.github.com/users/aerojoe/repos","events_url":"https://api.github.com/users/aerojoe/events{/privacy}","received_events_url":"https://api.github.com/users/aerojoe/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T22:07:33Z","updated_at":"2016-04-07T22:07:33Z","body":"@AvSquirrel @skypuppy \r\nI left my Stratux off for about a week after resolving all the issues above regarding ttyAMA0 connected to the Adafruit at 9600 baud using .8r2. When I repowered everything, the serial port data was again garbled and the web UI showed disconnected. I tried a number of things to get it working again to no avail. For grins, I reinserted a data card from .5b5 and sure enough the stratux processes the NMEA messages correctly. This release certainly predates the Sirf and Adafruit GPS, but it tells me that all the configuration logic to support multiple GPS's needs improvement."}}