Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
Discuss [Req] App to hack Nike+iPod Sport Kit at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; On the raw data you are receiving, seems like the first 6 bytes on each ...
  1. #11
    Senior Professional Array spektro's Avatar

    Join Date
    Mar 2008
    Posts
    178
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    15

    Default

    On the raw data you are receiving, seems like the first 6 bytes on each row are the mac address of footpod, or your ipod. I think the next byte is related to a command mode for the software running on ipod and the 3 next bytes can possibly be a command action. All other bytes seems to be the payload itself and i really could not figure out them.


  2. #12
    Newbie Array

    Join Date
    May 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    thx for ya help. I think you're right with your guess I've got the same notion like you.
    But the fu***** problem exists, how to decrypt the raw data.
    I think if these bytes are commands which are interpreted by the ipod software we've got a very little chance to get this project to good end

    But i'll try to keep on working.

    Is there any any way to decrypt the ipod firmware?

  3. #13
    Senior Professional Array spektro's Avatar

    Join Date
    Mar 2008
    Posts
    178
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    15

    Default

    If you can get your hands on the ipodīs binary file, i think at least there is a hope. As i donīt know how can we navigate through the iPodīs file system, i donīt know what to tell you then. I donīt own a nano or something (only a shuffle) and we know on iPhone or iTouch we can access using SSH.

  4. #14
    Former Bender
    Guest

    Default

    You can Access the iPod file system by using this command in OS X Terminal:

    Code:
    defaults write com.apple.Finder AppleShowAllFiles YES
    To revert it replace YES by NO.

    In Windows you can also access the hidden files by modifying the Folders Settings.

    You may search in iPod_Control folder.
    Last edited by Former Bender; 06-27-2008 at 03:44 AM.

  5. #15
    Senior Professional Array spektro's Avatar

    Join Date
    Mar 2008
    Posts
    178
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    15

    Default

    Nice piece of info. I'll try this on my shuffle on macbook later, since now i'm on a pc. Thank you for this.


  6. #16
    Senior Professional Array goodluck4287's Avatar

    Join Date
    Sep 2007
    Posts
    103
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Honestly, and obviously I don't know much about App development or hacking. However, might it be a good idea to get in touch with the guys who have the Linux on iPod project going? Because the first gen Nano was sufficiently hacked enough to add a Linux bootloader (or something like that). They did not make a Linux version of Nike+ but, can't you use Linux to dump some of the commands or at least figure out how it receives data? from the receiver?

  7. #17
    Rookie Array

    Join Date
    Sep 2007
    Posts
    11
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    In each row, the FF 55 is the serial packet header.

    The next byte is payload size.

    Everything after is the payload.

    The payloads contain 09 0D 0D 01 (the Sport Kit transmission data header)
    Then a 4-byte identifier code for Sensor creating the transmission. This ID has some relation to the Sensor's serial number, but I've no idea how to calculate it. I've always gotten them just by snooping the connection between a linked sensor and receiver pair.
    After the ID, is the sensor data.

    The sensor data packets are sent every time the sensor detects a "step."

    So, without decoding the data in the packets, you can use the existance of the packets themselves as your data for for pedometer type applications. However, the accuracy of your calculated distance and speed will depend heavily on an accurate measurement of the specific user's gait length.

    This is the traditional problem with old-fashioned pedometers, because gait length varies not only between user, but speed (when I'm running at race pace, my gait is 20% longer than when I'm doing an easy practice jog).

    What I believe is in the data of the packet is information about how long the foot is on the ground. This data, combined with time between complete steps and average gait length, can be used to develop a much better estimate of actual gait length (and henceforth distance and speed).

    I have no idea how this data is encoded, or if that's all that's there. But considering that the sensor is merely a piezoelectric switch, and not an accelerometer, there's not a whole lot of data that can be pulled from it. Just WHEN a motion occurs, not how quickly the motion occured. The only other possibility that I can think of is that if the sensor itself is doing some of the claculation of distance covered, based on time between steps and time on ground, and passing on pre-processed data. Which would explain why the data packet is so long, but it seems willy to me to put processing in a cheap, low-power device like the sensor, when it can be just as easily performed in the ipod.

    Anyway, I was trying to do something similar to you, but I got annoyed at the hand-shaking protocol between ipod and receiver, especially when it came to generating the acknolwedgement code for the linked receiver.

    If you've gotten past that point, you should be able to at least do SOMETHING with the step-timed data packets, even if we never figured out how to read their contents.

    Good luck. And if you need any more help (or have even a minor breakthrough), let me know, and I'd be happy to help analyze things.
    Last edited by MKramer; 06-30-2008 at 10:56 PM.

  8. #18
    Newbie Array

    Join Date
    May 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Thank you MKramer nice post

    I think apple could be a bit more 3rd party friendly
    so on i'm trying to get it working but until now no chance

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. MacNN: Nike de-emphasizing Nike+iPod?
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 12-13-2010, 11:40 PM
  2. MacNN: Nike+ GPS gives Nike+iPod experience without adapters
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 09-07-2010, 04:20 AM
  3. Replies: 0
    Last Post: 06-03-2009, 09:10 PM
  4. [all] Nike + iPod Sport Kit for iPhone?
    By jkenzo in forum General
    Replies: 5
    Last Post: 03-05-2008, 09:57 AM
  5. Replies: 0
    Last Post: 10-08-2007, 08:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 01:30 AM.
twitter, follow us!