Lingo 02 button commands FULL Set

Ipod Dock connector talk only
lets get this sucker reversed

Lingo 02 button commands FULL Set

Postby MitchJS » Wed Jan 04, 2006 8:10 pm

Here is the extended button status command:

OLD ipods wont do past index0
3G needs newest firmware.
if you got a 3G or less... id buy a new one :o

Code: Select all
Button Name             Byte Index    Button Bitmask
----------------------------------------------------
Play/Pause                  0x0           0x01
Volume Up                   0x0           0x02
Volume Down                 0x0           0x04
Next Track                  0x0           0x08
Previous Track              0x0           0x10
Next Album                  0x0           0x20
Previous Album              0x0           0x40
Stop                        0x0           0x80
Play/Resume                 0x1           0x01
Pause                       0x1           0x02
Mute toggle                 0x1           0x04
Next Chapter                0x1           0x08
Previous Chapter            0x1           0x10
Next Playlist               0x1           0x20
Previous Playlist           0x1           0x40
Shuffle setting advance     0x1           0x80
Repeat setting advance      0x2           0x01
Power On                    0x2           0x02
Power Off                   0x2           0x04
Backlight for 30 seconds    0x2           0x08
Begin FF                    0x2           0x10
Begin REW                   0x2           0x20
Menu                        0x2           0x40
Select                      0x2           0x80
Up Arrow                    0x3           0x01
Down Arrow                  0x3           0x02


here is some examples:

Code: Select all
PLAY:
TO iPOD: FF 55 04 02 00 00 01 F9

FF = Sync byte (autobaud)
55 = Header
04 = Length
02 = Lingo 02
00 = Button Status

00 01  (index0, index1 contains 01) (play as in table)

F9 checksum


Code: Select all
Scroll down (menu function):
TO iPOD: FF 55 06 02 00 00 00 00 02 F6

FF = Sync byte (autobaud)
55 = Header
04 = Length
02 = Lingo 02
00 = Button Status

00 00 00 02   (index0, index1, index2, index3 contains 02) (Down Arrow as in table)

F6 checksum


Got it?

dont forget to send the button up status!!!

Code: Select all
TO iPOD: FF 55 03 02 00 00 FB


mitch
MitchJS
Site Admin
 
Posts: 1021
Joined: Thu Jul 14, 2005 3:54 am
Location: Phila, PA

Re: Lingo 02 button commands FULL Set

Postby ridax » Sun Jan 08, 2006 7:39 am

MitchJS wrote:OLD ipods wont do past index0
3G needs newest firmware.

I can't get the index 1-3 commands to work on the 3rd gen iPod with firmware 2.3. Are you sure it should work with 3rd gen iPods? What does the documentation say on this? Does it specifically say that it will work with firmware 2.3 or does it say it will not work with firmware up to 2.2 without mentioning anything about newer firmwares?
ridax
 
Posts: 9
Joined: Wed Nov 23, 2005 1:57 am

Postby MitchJS » Sun Jan 08, 2006 4:04 pm

first, get a newer ipod :)

looks like 3g is SOL on the button commands:

id habe to make a table

but only buttons 1-4 are avail on 3G no matter what firmware

4G is where it starts...

sorry for any confusion, since its a confusion doc

anyway, i never liked the ipod till the clickwheel... so dump 3g and below
:roll:

mitch
MitchJS
Site Admin
 
Posts: 1021
Joined: Thu Jul 14, 2005 3:54 am
Location: Phila, PA

Postby ridax » Sun Jan 08, 2006 4:44 pm

MitchJS wrote:first, get a newer ipod :)
anyway, i never liked the ipod till the clickwheel... so dump 3g and below
:roll:

I already have a iPod nano and iPod video. But I have the 3rd gen iPod as well for compatibility testing.
ridax
 
Posts: 9
Joined: Wed Nov 23, 2005 1:57 am

Postby ridax » Wed Jan 11, 2006 4:29 am

Can't get PowerOff to work on iPod nano, but it works on iPod video.
ridax
 
Posts: 9
Joined: Wed Nov 23, 2005 1:57 am

Postby MitchJS » Wed Jan 11, 2006 8:27 am

did i tell you, you have too many IPODS

ridax, would you like my program, IPOD Explorer?

will make life easier to test and build your reports

mitch
MitchJS
Site Admin
 
Posts: 1021
Joined: Thu Jul 14, 2005 3:54 am
Location: Phila, PA

Postby bigcookie » Wed Jan 11, 2006 1:29 pm

Hi MitchJS,

if there wouldnt be much difficulty, I am interested in that program. Unfortunately I am a bad programmer concerning serial interfaces, I am more into PIC programming ;-). Still working on my iPod2T+A-remotecontrol adapter, but also for the other series of hifi stereo systems from T+A. To test my iPod (3gen) concerning the different comment sets, I would appreciate very much, using the application...

Anyway, if you get the iPod cables for a reasonable price, I might be interested in getting some. Unfortunately I wont need a huge number ;-)... Anyway thanks for your work and the final contribution on ipodlinux...

Email would be andre(at)fantasymail(dot)de, just in case, you would get into contact...

Thanks for your work,

Andre
bigcookie
 
Posts: 3
Joined: Tue Dec 06, 2005 3:00 pm

Postby ridax » Thu Jan 12, 2006 1:58 pm

MitchJS wrote:did i tell you, you have too many IPODS
ridax, would you like my program, IPOD Explorer?
will make life easier to test and build your reports

Too many iPods??? Is it possible?

Anyhow, I found out that there was a annoying backslash missing in the source code, thus the PowerOff button up command wasn't sent correctly. The iPod video worked anyhow (powered off) while the iPod nano didn't power off, but instead entirely forgot to turn off the backlight. After adding the missing backslash in the source, everything is working with both video and nano.

I am programming a Microchip PIC 16F88 and have no interface between iPod and PC to run your iPod explorer. But I may build one to experiment later. But thanks very much for the offer!
ridax
 
Posts: 9
Joined: Wed Nov 23, 2005 1:57 am

Detecting ipod gen.

Postby bigcookie » Fri Jan 13, 2006 4:08 am

Hi Ridax,

how is your project going forward? Did you find any way of getting the controls enabled in AiR-mode again? And could you successfully detect the iPods generation by software? If yes, some hints would be nice. Since I only develop on a 3G, I cannot try...

Greetings,

Andre
bigcookie
 
Posts: 3
Joined: Tue Dec 06, 2005 3:00 pm

Re: Detecting ipod gen.

Postby ridax » Fri Jan 13, 2006 4:26 am

bigcookie wrote:Hi Ridax,

how is your project going forward? Did you find any way of getting the controls enabled in AiR-mode again? And could you successfully detect the iPods generation by software? If yes, some hints would be nice. Since I only develop on a 3G, I cannot try...

I told you before how I enabled the controls again when in AiR mode. Other than that I don't know. I am not working with AiR mode anymore (except when a 3G iPod is used) but only with the simple remote interface, as I feel it is much nicer anyhow. I am not detecting iPod generation.
ridax
 
Posts: 9
Joined: Wed Nov 23, 2005 1:57 am

Postby bigcookie » Sat Jan 14, 2006 10:15 am

Hi ridax,

sorry for that, I thought you might have figured out something else... That's somehow a pitty, but since the newer iPods support some more commands, it's probably not needed anymore... Unforunately I have a third gen, and I would like to get both enabled (further command set and manual control). Anyway, probably I stick to the simple remote protocol...

thanks again
bigcookie
 
Posts: 3
Joined: Tue Dec 06, 2005 3:00 pm

Postby ripper » Fri Apr 14, 2006 12:33 pm

Total newbie question but I am confused by the checksum calculation

For play you send

FF 55 04 02 00 00 01 F9

For Volume up you send

FF 55 04 02 00 00 02 ?

How do you calculate the checksum where the question mark is?

I assumed you add the 7 preceding bytes before the checksum
and then add 7 for the byte count and then AND that with 7F to get the checksum?

I've calculated them before using a method like I describe..if this is wrong can someone tell me the right way to calculate the correct checksum using the windows scientific calculator...greatly appreciated!
ripper
 
Posts: 2
Joined: Fri Apr 14, 2006 3:53 am

Postby MitchJS » Fri Apr 14, 2006 2:06 pm

add all the bytes up of the sequence, without sync and header bytes

also volume up = FF 55 03 02 00 02 CK
(3 = len, 2 = lingo2, 00 = cmd, 2 = vol+ at index 0)

remember

FF = sync byte
55 = header byte

so

03 + 02 + 00 + 02 = 07

checksum = 0x0100 - 07
checksum = 0xf9

so

03 02 00 02 F9

as in ipod explorer: TO iPOD: FF 55 03 02 00 02 F9

dont forget keyup when done ramping...


mitch
MitchJS
Site Admin
 
Posts: 1021
Joined: Thu Jul 14, 2005 3:54 am
Location: Phila, PA

Postby MitchJS » Fri Apr 14, 2006 2:08 pm

buy a ipod exporler from me
i give u the software

its fun fun fun!

only $35
MitchJS
Site Admin
 
Posts: 1021
Joined: Thu Jul 14, 2005 3:54 am
Location: Phila, PA

Postby ripper » Fri Apr 14, 2006 3:07 pm

I bought 3 :-) and since then ahve figured out the checksum thing..I was supposed to add a decimal number for the bytes and not a hex..problem solved.
ripper
 
Posts: 2
Joined: Fri Apr 14, 2006 3:53 am

Next

Return to IPOD Dock Connector

Who is online

Users browsing this forum: No registered users and 1 guest

cron
 

MKPortal C1.2.2 ©2003-2008 mkportal.it
Page generated in 0.11294 seconds with 13 queries