data_mesgs['record'] null
LudoWeb opened this issue · 8 comments
Hello Adrian :)
I have an issue with the parser. Unfortunatly, data_mesgs['record']
is null and i don't have any data.
This line seems to be the problem :
$this->file_header['data_size'] = $this->file_header['crc'] - $header_size + 2;
It's a session recorded with Garmin Forerunner 920XT.
Many thanks,
If you insert the following after that line, what do you get?
var_dump($this->file_header['crc']);
var_dump($header_size);
die();
$this->file_header['crc']: int 635
$header_size: int 14
Hmmm, seems like a small file
$this->file_header['data_size'] = 635 - 14 + 2 = 623
I will try find some time at the weekend to investigate
Are you able to share the file? You will probably have to change the file extension to .txt
Presumably the file works fine with Garmin Connect / Strava / etc?
Yes, the file seems to work fine with Garmin Connect and Strava.
Here's the share file: error-file.txt
Thanks,
Hello @adriangibbons,
Were you able to check the issue ?
Hi, I had a quick look but didn't get anywhere. Then I've been on holiday a couple of weeks. Back in about a week or so and then will have more time. Have been so busy!