You are here: Forum Home → ANT Developers Forums → ANT+ FIT Forum Has Moved → Thread
newRecord.AddDeveloperField(doughnutsEarnedField
super.fe = [[FitEncode alloc] initWithVersion:fit::ProtocolVersion::V20]
"Missing FIT message definition for local message number 1. Error at byte: 0"
for (auto record : records) { [super.fe WriteMesg:record];}
fit::EventMesg event1;
event1.SetTimestamp(fitEndTime);
event1.SetEvent(FIT_EVENT_TIMER);
event1.SetEventType(FIT_EVENT_TYPE_STOP_ALL);
event1.SetEventGroup(0);
[super.fe WriteMesg:event1];
"malloc: *** error for object: pointer being freed was not allocated" and from the stack trace seems to have to do with the developer field.Moreover if I try to decode a valid FIT file with extra developer fields, the provided FIT decoder (from the example) seems to work, but the records report 0 developer fields. The developer field description seems to be decoded correctly though.
Lambros,
We will have a fix for this in the next release of the FIT SDK. There is a fix for both encoding and decoding FIT files containing developer data. I'll let you know when we have an exact date, but it should be in the next 3-5 weeks.
Ben
Hi, i am planning to develop my own iOS app which should able to receive ANT+ sensors HR data from at least 30 sensors. So, do you have the iOS SDK support this ? Any suggestion to do this ? Would be a great help.
Thanks.