[App_rpt-users] USB FOB options

Eric Westbrook K5BFC apprptusers at westbrook.com
Sun Mar 23 22:35:44 UTC 2014


There are no such actual bits, per the CM108/CM119 datasheets.

Button states, and hence LEDs, are *read-only* to the USB host.  The only
lines that are writable, and hence usable for PTT control, are the GPIO
lines, which of course are inaccessible with a potted chip.  The interface
to both is through USB HID reports.

I'd like to be wrong about it, but the datasheets (section 7.4 in each)
seem pretty clear.

$0.02,
Eric
K5BFC


On Sun, Mar 23, 2014 at 10:59 AM, Doug Crompton <doug at crompton.com> wrote:

> If there are some other than standard bits that are available on these
> encased FOBs and you can identify what they are it can be customized in the
> SW.
>
>  else if(o->hdwtype==3)  // custom version
>         {
>                 o->hid_gpio_ctl         =  0x0c;        /* set GPIO 3 & 4
> to output mode */
>                 o->hid_gpio_ctl_loc     =  2;   /* For CTL of GPIO */
>                 o->hid_io_cor           =  2;   /* VOLD DN is COR */
>                 o->hid_io_cor_loc       =  0;   /* VOL DN COR */
>                 o->hid_io_ctcss         =  2;   /* GPIO 2 is External
> CTCSS */
>                 o->hid_io_ctcss_loc =  1;       /* is GPIO 2 */
>                 o->hid_io_ptt           =  4;   /* GPIO 3 is PTT */
>                 o->hid_gpio_loc         =  1;   /* For ALL GPIO */
>                 o->valid_gpios          =  1;   /* for GPIO 1 */
>         }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20140323/3f918bec/attachment.html>


More information about the App_rpt-users mailing list