Open puddly opened 5 years ago
If you send me precise details for how to do it (commands and the hardware to do it), I'm happy to just do it (happy to send you money to pay for the hardware, too). Otherwise I can try to figure it out but it might be a few months as I'm rather busy at the moment.
@Hixie I can mail you all the required hardware if you're in the US but I can't guarantee the software will work flawlessly. If nobody else is interested and I can't figure it out by myself in the next couple of weeks, I'll send you an email.
@puddly do you use facebook or another messaging service? I'd be happy to help with this as well.
@jallen2281 I use Telegram but I've also setup a Gitter chatroom that you can sign into with your GitHub account if that's easier.
I'm looking for somebody willing to donate an hour of their time (or their Green Bean for a few days) by capturing some sample USB and bus traffic from a Green Bean.
For capturing the traffic from the computer to the Green Bean, you can either use Wireshark and capture the USB packets, or you can just patch the Node.js module's
sendPacket
andreceiveNextPacket
functions to write the sent/received data to a file.For capturing the traffic to the module, you can use a $12 USB logic analyzer and PulseView. I found 500KHz to be a reasonable sample rate. Just plug in the adapter and hit the Run button. You will somehow need to tap into the bus, which will require you to either sacrifice a short Ethernet cable and carefully cut into housing in the middle to clip into the GND (brown) and COMM (brown/white) wires:
Or find some convenient place on the Green Bean to probe them, like:
There is a four-pin header on the Green Bean but it might just be for communicating with the microcontroller.
@Hixie