http://blissbox.freeforums.org

the first ever all in one, trouble free, and ready to go usb adapter
Home Page Play games in the arcade Home Page Home Page Home Page
  Register
Login 
View unanswered posts View active topics

Delete all board cookies


All times are UTC - 5 hours [ DST ]



Welcome
Welcome to blissbox

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!


Home Page Home Page  [ 17 posts ]  Go to page
 Previous << 
1, 2
  Print view
Previous topic | Next topic 
Author Message
Offline 
 Post subject: Re: A palimerary and soon to be complete API DOC.
PostPosted: Sat Mar 12, 2016 11:20 am 
User avatar
Site Admin

Joined: Wed Apr 21, 2010 8:39 am
Posts: 1388
I'm pretty sure this reverse command stuff will not working knowing the nature of the USB FW I have used for over 8 years. Though give me a sample of some software that sends this or the source code and I can look in to it.


Image
Bliss-Box- a usb adapter for all controllers

Compatibility List


Top
 Profile  
 
Offline 
 Post subject: Re: A palimerary and soon to be complete API DOC.
PostPosted: Sat Mar 12, 2016 12:49 pm 

Joined: Fri Mar 11, 2016 12:33 am
Posts: 7
ulao wrote:I'm pretty sure this reverse command stuff will not working knowing the nature of the USB FW I have used for over 8 years. Though give me a sample of some software that sends this or the source code and I can look in to it.


Will do. We use it for the SHIELD wireless controller and the SHIELD remote. But since I don't work on the Windows side, I don't know if they're able to access the battery stats and settings from an app. There isn't a host driver for it, I know that. But since it runs over USB only (because the wifi connection isn't supported via Windows), I don't know if they really cared about anything except the standard messages.


Top
 Profile  
 
Offline 
 Post subject: Re: A palimerary and soon to be complete API DOC.
PostPosted: Sat Mar 12, 2016 1:04 pm 
User avatar
Site Admin

Joined: Wed Apr 21, 2010 8:39 am
Posts: 1388
Either way its interesting. Any idea if the packets are sent in the normal interrupt pipe or would they be considered bulk. If bulk if may serve as a faster means to get data.


Image
Bliss-Box- a usb adapter for all controllers

Compatibility List


Top
 Profile  
 
Offline 
 Post subject: Re: A palimerary and soon to be complete API DOC.
PostPosted: Sat Mar 12, 2016 2:10 pm 

Joined: Fri Mar 11, 2016 12:33 am
Posts: 7
ulao wrote:Either way its interesting. Any idea if the packets are sent in the normal interrupt pipe or would they be considered bulk. If bulk if may serve as a faster means to get data.


We use the HID Interrupt Output Pipe for SET_REPORT, and receive responses (async) via GET_REPORT over the HID Interrupt Input Pipe. It gets a little trickier when we talk about the SHIELD Controller vs other accessories, since it was first generation and the architecture of the backdoor commands was a mess. Since then, we've moved exclusively to GET_REPORT/SET_REPORT methods, even for flashing the firmware. Using a fixed size array, we'd write byte 0 as the SET command (4) and whenever a HID report comes back with the GET command(3), we know it's a response. The following byte is the "command" we actually wish to execute. So it may be a firmware OTA command, it may be a request for battery level, etc... We can send the same formatted packets over bluetooth and BLE via the HID interface as well.


Top
 Profile  
 
Offline 
 Post subject: Re: A palimerary and soon to be complete API DOC.
PostPosted: Sat Mar 12, 2016 3:01 pm 
User avatar
Site Admin

Joined: Wed Apr 21, 2010 8:39 am
Posts: 1388
I see, currency I use the Output Pipe to catch the FFB custom data and the In Pipe to reply. So it could become useful to prepare the data in the set/get. I look forward in trying this.


Image
Bliss-Box- a usb adapter for all controllers

Compatibility List


Top
 Profile  
 
Offline 
 Post subject: Re: A palimerary and soon to be complete API DOC.
PostPosted: Sun Jul 24, 2016 10:04 am 

Joined: Sun Jun 12, 2016 2:42 pm
Posts: 2
Hello!

Is there any update concerning the api docs? Has anybody written some kind of example program to test the api? The force feedback system you have built there looks pretty interesting but as somebody who has never worked with such a setup the google doc provides not enough info write a demo program.

regards.


Top
 Profile  
 
Offline 
 Post subject: Re: A palimerary and soon to be complete API DOC.
PostPosted: Sun Jul 24, 2016 10:37 am 
User avatar
Site Admin

Joined: Wed Apr 21, 2010 8:39 am
Posts: 1388
I'm still working on the sample apps but you can contact space1 with him on his luspace emu front end. It uses the api. I can also help discuss how it is done in C++.


Image
Bliss-Box- a usb adapter for all controllers

Compatibility List


Top
 Profile  
 
Search for:
Display posts from previous:  Sort by  
Home Page Home Page  [ 17 posts ]  Go to page
 Previous << 
1, 2

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
suspicion-preferred