Search found 4 matches

by darinkay
Thu Sep 06, 2018 10:44 pm
Forum: Talking LiveCode
Topic: USB Device - HIDAPI or ?
Replies: 61
Views: 46839

Re: USB Device - HIDAPI or ?

Hi. Thanks for that information. This community is so willing to be helpful. Most of that looks to deal with a USB serial device, mine is HID (driverless) and in my research I haven't found a way to make MacOS recognize it as a serial device (I have tried extensively). But it looks like there is fai...
by darinkay
Thu Sep 06, 2018 5:32 am
Forum: Talking LiveCode
Topic: USB Device - HIDAPI or ?
Replies: 61
Views: 46839

Re: USB Device - HIDAPI or ?

yes that is what I have, I am looking for anyone who know how to connect to an HID device with LiveCode, I have it implemented in XOJO and node.js so I know what the packet structure looks like, just need a hint of how to connect to it with LiveCode
by darinkay
Thu Sep 06, 2018 12:54 am
Forum: Talking LiveCode
Topic: USB Device - HIDAPI or ?
Replies: 61
Views: 46839

Re: USB Device - HIDAPI or ?

here is the relay I have if anyone has any insight
its a sainsmart 16-channel-usb-hid-programmable-control-relay-module
(i was going to post a link to it but apparently i can't)

I think I could have livecode execute some terminal commands through applescript to control it but that seems pretty clumsy
by darinkay
Wed Aug 29, 2018 10:42 pm
Forum: Talking LiveCode
Topic: USB Device - HIDAPI or ?
Replies: 61
Views: 46839

USB Device - HIDAPI or ?

I searched the forum and did not find anything. Does anyone know how to communicate with a USB HID Device using LiveCode? I am specifically wanting to control a 16 channel relay that has a HID USB interface (no serial). I know the packet structure and I have it fully implemented in xojo using HIDAPI...