[App_rpt-users] Multiple Cop commands

Mike mm at midnighteng.com
Thu Jun 14 04:03:17 UTC 2018


The post was for parallel port but works similar with gpio,

You must create a command for on and off.

but you must be using radiousb for gpio.

Parallel port needs this...

iobase=0x378     ;lpt1  Parallel port address (using for cor/ptt & 
switches +dh-rbi

in rpt.conf

Personally, I don't hack fobs. But not everyone has a parallel port I guess.

You can also get a usb i/o card on ebay and address it to send strings 
via command if you want to do this larger and cleaner.

...mike/kb8jnm


On 6/13/2018 9:53 PM, Scott Weis wrote:
> According to the reference in the app_rpt.c:
>
>
>   *  61 - Send Message to USB to control GPIO pins (cop,61,GPIO1=0[,GPIO4=1].....)
>   *  62 - Send Message to USB to control GPIO pins, quietly (cop,62,GPIO1=0[,GPIO4=1].....)
>
> -----Original Message-----
> From: App_rpt-users [mailto:app_rpt-users-bounces at lists.allstarlink.org] On Behalf Of Mike
> Sent: Wednesday, June 13, 2018 9:51 PM
> To: app_rpt-users at lists.allstarlink.org
> Subject: Re: [App_rpt-users] Multiple Cop commands
>
> Bob, I thought I was anonymous LOL
>
> Those old pages... I may have to go back and look... but afraid to since it gets hacked more than I wish to say.
>
> I use it more to record the latest hack techniques.
>
> anyway,
>
> this is from my actual command list with reference. Make sure you use long/longer numbers to avoid commend conflicts in the future and not loose future number possibilities. You can make sequence changes via grouped macro.
>
> 8910=cop,61,pp1=0    ;pport pin 1 off  --First 3 pins used for DH RBI-1 -data-clock-reset
> 8911=cop,61,pp1=1    ;pport pin 1 on   --
> 8920=cop,61,pp2=0    ;pport pin 2 off  --
> 8921=cop,61,pp2=1    ;pport pin 2 on   --
> 8930=cop,61,pp3=0    ;pport pin 3 off  --
> 8931=cop,61,pp3=1    ;pport pin 3 on  --
> 8940=cop,61,pp4=0    ;pport pin 4 off
> 8941=cop,61,pp4=1    ;pport pin 4 on
> 8950=cop,61,pp5=0    ;pport pin 5 off
> 8951=cop,61,pp5=1    ;pport pin 5 on
> 8960=cop,61,pp6=0    ;pport pin 6 off
> 8961=cop,61,pp6=1    ;pport pin 6 on
> 8970=cop,61,pp7=0    ;pport pin 7 off
> 8971=cop,61,pp7=1    ;pport pin 7 on
> 8980=cop,61,pp8=0    ;pport pin 8 off
> 8981=cop,61,pp8=1    ;pport pin 8 on
> ;XXX=cop,61,PP4=1    ; EX: Parallel Port Pin 4 1=(high-true) 0=(low/off)
> ;xxx=cop,62 as above -quite telemetry-
>
>
> ...mike/kb8jnm
>
>
> On 6/13/2018 8:45 PM, Bob Pyke wrote:
>> It seems to me it should look more like:
>>
>> [function]
>>
>> 991=cop,61,gpio1=0
>> 992=cop,61,gpio4=1
>> 993=cop,61,gpio5=0
>>
>> [macro]
>>
>> 30=*991 *992 *993 #
>>
>> See Mike’s page, themidnightengineer.com
>>
>> Thanks,
>> Bob
>> k6ecm
>> 73
>> Sent from my iPhone
>>
>>> On Jun 13, 2018, at 4:19 PM, John Rudolph- N2YP <John at n2yp.com> wrote:
>>>
>>> When using cop 61 or 62 to change gpio states can you change more than one pin with the same command or do you have to break it out as one pin at a time?
>>> Example:
>>> cop,61,GPIO1=0,GPIO4=1,GPIO5=1
>>>
>>> If so is this the right format and if not what would it be?
>>> _______________________________________________
>>> App_rpt-users mailing list
>>> App_rpt-users at lists.allstarlink.org
>>> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>>>
>>> To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
>>> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
>> _______________________________________________
>> App_rpt-users mailing list
>> App_rpt-users at lists.allstarlink.org
>> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>>
>> To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
>> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at lists.allstarlink.org
> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at lists.allstarlink.org
> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.




More information about the App_rpt-users mailing list