Re: [MBS] MacUSBMBS question
I see some added functionality in MacHIDMBS in the new PR, I'm ready to test. Is there some new documentation? Dean On Wed, Jan 8, 2014 at 8:59 PM, Dean Davis after...@gmail.com wrote: Ok here is some more information about the device I got from the manufacturer... The USB firmware is a human interface device class interface. In the initialization phase of the USB startup it tells the PC it is a HID class device and that it has 2 endpoint reports. The endpoint zero report contains a single sensor report and its measured RSSI value. The second report contains a single measurement and some coefficients needed to scale the measurement properly. Report 0 The report zero is 9 bytes long Report 1 Report 1 is 24 bytes in length -- It makes no mention that I have to SEND this device any data in order to receive the data. When I dump some properties of the device I get this... Opening HID class device... Max Lengths: Input: 33 Output: 2 Feature: 1 So maybe the data I need is just an output report 0 and 1 but since it doesn't require me to send any data to receive I don't know how to use SendMessage in a way that I would expect output. Dean On Wed, Jan 8, 2014 at 6:08 PM, Christian Schmitz supp...@monkeybreadsoftware.de wrote: Am 08.01.2014 um 17:08 schrieb Dean Davis after...@gmail.com: In my case it may be specifically a Feature Report See this... How hard would it be to add these functions to MacHIDMBS? Well, we use other APIs from Apple. Now I could add function to send Feature Report instead of Output Report which SendMessage does now. I could add that in the next days. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] MacUSBMBS question
Am 13.01.2014 um 17:55 schrieb Dean Davis after...@gmail.com: Initial test look very good. Is it going to be possible at some point to get the data back async in the DataAvailable event? The event provides what comes in on interrupt. The ReadMessage methods can query other things or the same. You can try. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] MacUSBMBS question
No worries, I'll use it in a thread so I can do constant ReadMessage without pausing the UI. Are there equivalent WinHIDMBS functions available? Dean On Mon, Jan 13, 2014 at 11:57 AM, Christian Schmitz supp...@monkeybreadsoftware.de wrote: Am 13.01.2014 um 17:55 schrieb Dean Davis after...@gmail.com: Initial test look very good. Is it going to be possible at some point to get the data back async in the DataAvailable event? The event provides what comes in on interrupt. The ReadMessage methods can query other things or the same. You can try. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] MacUSBMBS question
Am 13.01.2014 um 18:27 schrieb Dean Davis after...@gmail.com: No worries, I'll use it in a thread so I can do constant ReadMessage without pausing the UI. Are there equivalent WinHIDMBS functions available? Sure. First byte of a package is report ID. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] MacUSBMBS question
Am 08.01.2014 um 03:59 schrieb Dean Davis after...@gmail.com: How hard is it to work with USB devices? Very hard. When I try to connect to is using MacUSBMBS I get an error hE2C5 Google tells me that the device is already open. But this is impossible. I bet one of the system extensions was loaded to handle the device. You you need the device to try and work with it? A lot of clients choose to provide me a device for testing if they have problems. This way I got a lot of little gadgets in my office :-) Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] MacUSBMBS question
Am 08.01.2014 um 17:08 schrieb Dean Davis after...@gmail.com: In my case it may be specifically a Feature Report See this... How hard would it be to add these functions to MacHIDMBS? Well, we use other APIs from Apple. Now I could add function to send Feature Report instead of Output Report which SendMessage does now. I could add that in the next days. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
Re: [MBS] MacUSBMBS question
Ok here is some more information about the device I got from the manufacturer... The USB firmware is a human interface device class interface. In the initialization phase of the USB startup it tells the PC it is a HID class device and that it has 2 endpoint reports. The endpoint zero report contains a single sensor report and its measured RSSI value. The second report contains a single measurement and some coefficients needed to scale the measurement properly. Report 0 The report zero is 9 bytes long Report 1 Report 1 is 24 bytes in length -- It makes no mention that I have to SEND this device any data in order to receive the data. When I dump some properties of the device I get this... Opening HID class device... Max Lengths: Input: 33 Output: 2 Feature: 1 So maybe the data I need is just an output report 0 and 1 but since it doesn't require me to send any data to receive I don't know how to use SendMessage in a way that I would expect output. Dean On Wed, Jan 8, 2014 at 6:08 PM, Christian Schmitz supp...@monkeybreadsoftware.de wrote: Am 08.01.2014 um 17:08 schrieb Dean Davis after...@gmail.com: In my case it may be specifically a Feature Report See this... How hard would it be to add these functions to MacHIDMBS? Well, we use other APIs from Apple. Now I could add function to send Feature Report instead of Output Report which SendMessage does now. I could add that in the next days. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
[MBS] MacUSBMBS question
How hard is it to work with USB devices? I have a USB device and the manufacturer has given me a description of the protocol. I can connect to it sung MacHIDMBS but I can't communicate with it because I don't think this device is expecting to communicate using this method. When I try to connect to is using MacUSBMBS I get an error hE2C5 Google tells me that the device is already open. But this is impossible. No other program on my Mac could possibly communicate with it. Plus I've just plugged it in when I try to do a connection even after a restart. You you need the device to try and work with it? Dean Davis ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info