NetAthlon .NAP/.N2P File Format
Introduction
The .NAP (NetAthlon version 1) and .N2P (NetAthlon version 2) files are binary
representations of rides. They contain similar data to their .RAW equivalents,
but at a higher sample rate. They also contain a lot of data at each sample
point whose meaning I have not determined, however there should be enough
information here to extract the performance data.
Format
The format of the .NAP and .N2P files is identical, just differing in the version number in the header block.
Header
There is a short header record before the ride data, which is 12 bytes in size.
| Version | 0 | 4 | Single | | 3 = NetAthlon 1, 4 = NetAthlon 2 |
| Unknown | 4 | 4 | Int32 | | Always 0? |
| Ride duration | 8 | 4 | Single | seconds | |
| Total | | 12 | | | |
Ride Data
The ride data records follow. The format of each record is:
| Time | 0 | 4 | Single | | |
| Speed | 4 | 4 | Single | mph | |
| HR | 8 | 4 | Int32 | bpm | |
| Cadence | 12 | 4 | Int32 | rpm | |
| Power | 16 | 4 | Int32 | watts | |
| Grade | 20 | 4 | Single | | |
| Altitude | 24 | 4 | Single | m? | |
| Unknown | 28 | 76 | | | |
| Total | | 104 | | | |
NB: the speed data appears to be in mph.
|