{"action":"created","issue":{"url":"https://api.github.com/repos/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/7","repository_url":"https://api.github.com/repos/dekuNukem/Nintendo_Switch_Reverse_Engineering","labels_url":"https://api.github.com/repos/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/7/comments","events_url":"https://api.github.com/repos/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/7/events","html_url":"https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/7","id":214444990,"number":7,"title":"HID Protocol for Bluetooth / USB","user":{"login":"ojbr","id":1485473,"avatar_url":"https://avatars2.githubusercontent.com/u/1485473?v=4","gravatar_id":"","url":"https://api.github.com/users/ojbr","html_url":"https://github.com/ojbr","followers_url":"https://api.github.com/users/ojbr/followers","following_url":"https://api.github.com/users/ojbr/following{/other_user}","gists_url":"https://api.github.com/users/ojbr/gists{/gist_id}","starred_url":"https://api.github.com/users/ojbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojbr/subscriptions","organizations_url":"https://api.github.com/users/ojbr/orgs","repos_url":"https://api.github.com/users/ojbr/repos","events_url":"https://api.github.com/users/ojbr/events{/privacy}","received_events_url":"https://api.github.com/users/ojbr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":103,"created_at":"2017-03-15T16:19:45Z","updated_at":"2017-09-18T21:45:38Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nLoving the work you've done - thanks ever so much. Couldn't find you on social media, so am just gonna drop a message here. \r\n\r\nHave you been able to sniff the USB or Bluetooth HID protocol it's using? Been trying to bodge a driver together, and don't really have the tools to analyse the protocol. Whilst the buttons and joysticks work fine, I believe the console sends a feature report to the joy-cons to activate gyroscope input. So far I've not had much luck getting the gyroscope and accelerometers to send anything over the standard protocol. \r\n\r\nCould be me, or it could be Nintendo's very kind way of introducing security through obscurity.\r\nSome help on the matter would be great if you are free. \r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/comments/330365583","html_url":"https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/7#issuecomment-330365583","issue_url":"https://api.github.com/repos/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/7","id":330365583,"user":{"login":"timmeh87","id":31858838,"avatar_url":"https://avatars2.githubusercontent.com/u/31858838?v=4","gravatar_id":"","url":"https://api.github.com/users/timmeh87","html_url":"https://github.com/timmeh87","followers_url":"https://api.github.com/users/timmeh87/followers","following_url":"https://api.github.com/users/timmeh87/following{/other_user}","gists_url":"https://api.github.com/users/timmeh87/gists{/gist_id}","starred_url":"https://api.github.com/users/timmeh87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmeh87/subscriptions","organizations_url":"https://api.github.com/users/timmeh87/orgs","repos_url":"https://api.github.com/users/timmeh87/repos","events_url":"https://api.github.com/users/timmeh87/events{/privacy}","received_events_url":"https://api.github.com/users/timmeh87/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T21:45:38Z","updated_at":"2017-09-18T21:45:38Z","author_association":"NONE","body":"If i reply to the 0x74 report, it continues sending them to me. I was unable to capture the whole thing in my serial terminal thingy as it overflowed the buffer\r\n\r\nafter many 0x74's, it went like this and then told me the firmware update failed\r\n\r\n```\r\nReport: 0x74 0xFE 0xE3 0x03 0xF8 0xF9 0x00 0x07 0x03 0x00 0x00 0xF6 0x02 0x00 0x00 0xE5 0x02 0x00 0x00 0xD4 0x02 0x00 0x00 0xC2 0x02 0x00 0x00 0xAF 0x02 0x00 0x00 0x9C 0x02 0x00 0x00 0x89 0x02 0x00 0x00 0x75 0x02 0x00 0x00 0x61 0x02 0x00 0x00 0x4D 0x02 0x00 0x00 0x38 0x02 0x00 0x00 0x23 0x02 0x00 0x00 0x0E 0x02 0x00 0x00 0xF8 0x01 0x00 0x00 0xE2 0x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x71 things\r\nHID_Set_Report_Response: Function Successful.\r\nReportLength: 8, \r\nReport: 0x71 0x00 0x80 0x02 0xF8 0xF9 0x00 0x1C \r\n\r\nHID Get Report Indication, ID: 0x0001, ReportType: rtFeature, got one of those 0x72 things\r\nHID_Get_Report_Response: Function Successful.\r\nReportID: 114, Size: grSizeOfReport, BufferSize: 0\r\n\r\nHID Data Indication, ID: 0x0001, ReportLength: 49, \r\nrcvd: 0x01 0x0A 0x18 0x63 0x8C 0xF1 0x18 0x63 0x8C 0xF1 \r\n0x06\r\nReceived subcommand 06 : Reset connection (Disconnect)\r\nSent: 0x21 0x00 0x8E 0x00 0x00 0x00 0x01 0x18 0x80 0x01 0x18 0x80 0x80 \r\n0x80 0x06 \r\n\r\nHID Data Indication, ID: 0x0001, ReportLength: 10, \r\nrcvd: 0x10 0x0B 0x18 0x63 0x8C 0xF1 0x18 0x63 0x8C 0xF1 \r\n\r\nHID Data Indication, ID: 0x0001, ReportLength: 10, \r\nrcvd: 0x10 0x0C 0x00 0x63 0x8C 0xF1 0x00 0x63 0x8C 0xF1 \r\n```\r\n"}}
{"actor":{"display_login":"timmeh87"}}