{"action":"created","issue":{"url":"https://api.github.com/repos/mavlink/mavlink/issues/414","labels_url":"https://api.github.com/repos/mavlink/mavlink/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/mavlink/mavlink/issues/414/comments","events_url":"https://api.github.com/repos/mavlink/mavlink/issues/414/events","html_url":"https://github.com/mavlink/mavlink/pull/414","id":92826435,"number":414,"title":"Resource request","user":{"login":"LorenzMeier","id":1208119,"avatar_url":"https://avatars.githubusercontent.com/u/1208119?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenzMeier","html_url":"https://github.com/LorenzMeier","followers_url":"https://api.github.com/users/LorenzMeier/followers","following_url":"https://api.github.com/users/LorenzMeier/following{/other_user}","gists_url":"https://api.github.com/users/LorenzMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzMeier/subscriptions","organizations_url":"https://api.github.com/users/LorenzMeier/orgs","repos_url":"https://api.github.com/users/LorenzMeier/repos","events_url":"https://api.github.com/users/LorenzMeier/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzMeier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-03T08:55:15Z","updated_at":"2015-08-21T16:29:27Z","closed_at":"2015-08-10T12:37:44Z","pull_request":{"url":"https://api.github.com/repos/mavlink/mavlink/pulls/414","html_url":"https://github.com/mavlink/mavlink/pull/414","diff_url":"https://github.com/mavlink/mavlink/pull/414.diff","patch_url":"https://github.com/mavlink/mavlink/pull/414.patch"},"body":"@davids5 @DonLakeFlyer The intent behind this message is to:\r\n\r\n1) Let the autopilot ask for a URI\r\n2) Let the GCS download that file from the internet\r\n3) Let the GCS upload the file via MAVLink FTP to the autopilot\r\n\r\nWe need to work out the complete sequence, but it would be great to get the support to initiate a MAVLink FTP upload via this message into QGC soonish, so that we can grab UAVCAN firmware binaries from the internet."},"comment":{"url":"https://api.github.com/repos/mavlink/mavlink/issues/comments/133482187","html_url":"https://github.com/mavlink/mavlink/pull/414#issuecomment-133482187","issue_url":"https://api.github.com/repos/mavlink/mavlink/issues/414","id":133482187,"user":{"login":"DonLakeFlyer","id":5876851,"avatar_url":"https://avatars.githubusercontent.com/u/5876851?v=3","gravatar_id":"","url":"https://api.github.com/users/DonLakeFlyer","html_url":"https://github.com/DonLakeFlyer","followers_url":"https://api.github.com/users/DonLakeFlyer/followers","following_url":"https://api.github.com/users/DonLakeFlyer/following{/other_user}","gists_url":"https://api.github.com/users/DonLakeFlyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DonLakeFlyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonLakeFlyer/subscriptions","organizations_url":"https://api.github.com/users/DonLakeFlyer/orgs","repos_url":"https://api.github.com/users/DonLakeFlyer/repos","events_url":"https://api.github.com/users/DonLakeFlyer/events{/privacy}","received_events_url":"https://api.github.com/users/DonLakeFlyer/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T16:29:27Z","updated_at":"2015-08-21T16:29:27Z","body":"Using https puts all sorts of additional  cross platform install requirements on QGC. So don't use it if at all possible.\r\n\r\n\r\n\r\n> On Aug 21, 2015, at 6:18 AM, Pavel Kirienko <notifications@github.com> wrote:\r\n> \r\n> I'm not quite sure about HTTPS either. Since PX4/APM images don't seem to be concerned over this, it probably isn't necessary for UAVCAN too, at least for now.\r\n> \r\n> A fall-back URL without subdomain is fine.\r\n> \r\n> Updated logic:\r\n> \r\n> uavcan_name = org.pixhawk.px4cannode-v1\r\n> \r\n> glue = \".\"\r\n> dn_pieces = split(glue, uavcan_name);\r\n> device_name =  dn_pieces[size(dn_pieces)-1];\r\n> unset(dn_pieces[size(dn_pieces)-1]);\r\n> dn_pieces = reverse(dn_pieces);\r\n> host = join(glue, dn_pieces);\r\n> file = get(\"http://uavcan.\" + host + \"/firmware/\" + device_name);\r\n> if not file\r\n>     file = get(\"http://\" + host + \"/uavcan/firmware/\" + device_name);\r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> \r\n"}}