HiJack Qustion / Request.

Posted by: TommyE

HiJack Qustion / Request. - 04/01/2002 09:39

Hello

Just wondering if HiJack could add new commands to the serialport??
I would really love a serial command for the 'HUSH' feature.

Even better, one for 'Hush on' and one for 'Hush off'.

Don't know if this is possible at all but...

TommyE
Posted by: mlord

Re: HiJack Qustion / Request. - 04/01/2002 09:57

Well, that's certainly possible.

Specifically what byte(s) would you want to send into the Empeg over the serial link to indicate this action?

I suppose I could implement it using something like the [ir_translate] functionality..

-ml
Posted by: TommyE

Re: HiJack Qustion / Request. - 04/01/2002 10:04

I have a MKI with the older remotecontroll and today
have remapped the number '9' on my remotecontroll
for the 'HUSH' feature. by this line in config.ini.

b94609=20df16.L ;hush

It would have been cool to have a serial command like
'hush on' and 'hush off'.

Not sure if this is feasible, as the hush command is a 'toggle' command.
Maybe just 'hush' for hush on/off relative to what mode it is in?!

The reason for asking is that I made this little PIC microcontroller program that I've
hooked up to my GSM handsfreeset, and it would be much cooler to have
the Empeg go into HUSH mode, rather than just off, like I do today.

TommyE
Posted by: mlord

Re: HiJack Qustion / Request. - 04/01/2002 10:49

Again, tell me very specifically what bytes you want to send into the serial port (and ensure they don't conflict with existing commands..), and perhaps I'll give it a trial run.

-ml
Posted by: number6

Re: HiJack Qustion / Request. - 04/01/2002 12:00

How difficult would it be to 'capture' all incoming serial bytes from the Serial port and then provide the ability to remap them to IR or whatever commands?

The problem with the current serial interface to the player software is that the currently known serial commands don't implement all the newer features [like hush] which the IR interface does - ocne you know the 'codes' you can add this code to the map and this to the serial port interface.

Being able to map incoming character X to command Y would mean that we wouldn't have to hard code them in the kernel and it would mean that I could have different serial commands from you that suit my devices better.
Some of the current serial commands are not that obvious as to their meaning and the set hasn't been extended since the mark 1 days AFAIK.

Of course the Serial 'remap' process should be optional - if I want a userland to be able to deal with the serial port directly then this translation should be disabled.

[this is similar to the concept behind the *notify=1 options in config.ini].

Posted by: TommyE

Re: HiJack Qustion / Request. - 04/01/2002 13:09

Hello again.

Just tried the serial port.
It seems that the letter 'H' is unused, so if 'H' + 'CR' would 'HUSH/UNHUSH'' the player it would be cool.

TommyE
Posted by: mlord

Re: HiJack Qustion / Request. - 04/01/2002 17:13

Okay, I'll think about it for a bit.

But I really want to get back to the FTPD work for the time being. Could you email a reminder to me in a week or so?

Thanks
Posted by: TommyE

Re: HiJack Qustion / Request. - 04/01/2002 17:17

Sure no I'm in no hurry. Thanks.

TommyE
Posted by: thenominous

Re: HiJack Qustion / Request. - 04/01/2002 17:39

If you dont mind I'll send you a wee email about this if it would be possible to do as well?

Cheers

Dave
Posted by: mlord

Re: HiJack Qustion / Request. - 04/01/2002 17:42

Yeah.. that does sound interesting.. in other ways than the current discussion, too. Sure, send me an email on it in a week or so.

Thanks