{"action":"created","issue":{"url":"https://api.github.com/repos/ms-iot/ntvsiot/issues/93","repository_url":"https://api.github.com/repos/ms-iot/ntvsiot","labels_url":"https://api.github.com/repos/ms-iot/ntvsiot/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/ms-iot/ntvsiot/issues/93/comments","events_url":"https://api.github.com/repos/ms-iot/ntvsiot/issues/93/events","html_url":"https://github.com/ms-iot/ntvsiot/issues/93","id":151203193,"number":93,"title":"serialport list ports returning undefined manufacturer, etc.","user":{"login":"dick","id":6222,"avatar_url":"https://avatars.githubusercontent.com/u/6222?v=3","gravatar_id":"","url":"https://api.github.com/users/dick","html_url":"https://github.com/dick","followers_url":"https://api.github.com/users/dick/followers","following_url":"https://api.github.com/users/dick/following{/other_user}","gists_url":"https://api.github.com/users/dick/gists{/gist_id}","starred_url":"https://api.github.com/users/dick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dick/subscriptions","organizations_url":"https://api.github.com/users/dick/orgs","repos_url":"https://api.github.com/users/dick/repos","events_url":"https://api.github.com/users/dick/events{/privacy}","received_events_url":"https://api.github.com/users/dick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ms-iot/ntvsiot/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-04-26T18:15:38Z","updated_at":"2016-07-15T02:19:11Z","closed_at":"2016-07-15T02:19:11Z","body":"I managed to get serialport working with a Raspberry Pi 2 and Windows IOT with some teeth-gnashing (will open another issue for serialport.node being searched for in wrong folder).\r\n\r\nNow that the module is loading, serialport.list() is not responding the way I expect it to.\r\n\r\nCode:\r\nvar serialPort = require('serialport');\r\n\r\nserialPort.list(function (err, ports) {\r\n    if(err) { \r\n            console.log(err); \r\n        }\r\n        else {\r\n            console.log(\"Ports \" + JSON.stringify(ports));\r\n            ports.forEach(function (port) {\r\n                console.log(\"Port!\\n\",port,\"\\n\\n\");\r\n            });\r\n        }\r\n    });\r\n\r\n\r\nConsole output: \r\nPorts [{\"comName\":\"\\\\\\\\?\\\\FTDIBUS#VID_0403+PID_6001+FTGDNS37A#0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}\"},{\"comName\":\"UART0\"}]\r\nPort!\r\n { comName: '\\\\\\\\?\\\\FTDIBUS#VID_0403+PID_6001+FTGDNS37A#0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}',\r\n  manufacturer: undefined,\r\n  serialNumber: undefined,\r\n  pnpId: undefined,\r\n  locationId: undefined,\r\n  vendorId: undefined,\r\n  productId: undefined } \r\n\r\n\r\nPort!\r\n { comName: 'UART0',\r\n  manufacturer: undefined,\r\n  serialNumber: undefined,\r\n  pnpId: undefined,\r\n  locationId: undefined,\r\n  vendorId: undefined,\r\n  productId: undefined }"},"comment":{"url":"https://api.github.com/repos/ms-iot/ntvsiot/issues/comments/232843907","html_url":"https://github.com/ms-iot/ntvsiot/issues/93#issuecomment-232843907","issue_url":"https://api.github.com/repos/ms-iot/ntvsiot/issues/93","id":232843907,"user":{"login":"munyirik","id":8389594,"avatar_url":"https://avatars.githubusercontent.com/u/8389594?v=3","gravatar_id":"","url":"https://api.github.com/users/munyirik","html_url":"https://github.com/munyirik","followers_url":"https://api.github.com/users/munyirik/followers","following_url":"https://api.github.com/users/munyirik/following{/other_user}","gists_url":"https://api.github.com/users/munyirik/gists{/gist_id}","starred_url":"https://api.github.com/users/munyirik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munyirik/subscriptions","organizations_url":"https://api.github.com/users/munyirik/orgs","repos_url":"https://api.github.com/users/munyirik/repos","events_url":"https://api.github.com/users/munyirik/events{/privacy}","received_events_url":"https://api.github.com/users/munyirik/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T02:19:10Z","updated_at":"2016-07-15T02:19:10Z","body":"The serialport issues should be fixed in latest release. Let me know if you run into any other issues. \r\nThings to note:\r\n\r\n* You'll still need to run the 'Update npm packages...' command to get the latest UWP serialport with the fix. In future I'll be working on issue #102 so that the patch isn't required anymore.\r\n* manufacturer is only going to be [listed if it's available](https://github.com/munyirik/node-serialport/blob/uwp/src/serialport_uwp.cpp#L490).\r\n"}}
{"actor":{"display_login":"munyirik"}}