I'm trying activate the CarKit in my A52 with a microcontroller (89C51). I have an original CarKit from Siemens and it send the following command to the phone to activate the CarKit mode:
RX = cellphone recieve
TX = cellphone Transmit
RX - AT^SACD=2,"1A" [0D 0A]
TX - AT^SACD=2,"1A" [0D 0A]
TX - OK [0D 0A]
RX - AT^SACD=2,"1A,00,2,1" [0D 0A]
TX - AT^SACD=2,"1A,00,2,1" [0D 0A]
TX - OK [0D 0A]
TX - ^SACD: 1A,01,1,0,SSSSSSSSSSSSSSSS [0D 0A](16 numbers Hexa)
RX - AT^SACD=2,"1A,01,2,RRRRRRRRRRRRRRRR" [0D 0A] (16 numbers Hexa)
TX - OK [0D 0A]
The cellphone sent the S's numbers to carkit and it answer the R's numbres.
How can I calculate the R's numbers ? It's seens a kind of CRC of the given S's numbers.
Thanks for the help !
PS: Example of R and S numbers:
^SACD: 1A,01,1,0,F7342B2832344221
AT^SACD=2,"1A,01,2,442AB576CC3CEBA0"
Bookmarks