send method

void send()

Implementation

void send() {
  final p = malloc<PERIPHERAL_GOGPS_HEADER_V2>();
  p.ref.workoutType = workoutType;
  p.ref.blkIndex = blkIndex;
  p.ref.timestamp = timestamp;
  p.ref.latitude = latitude;
  p.ref.longitude = longitude;
  p.ref.calories = calories;
  // p.ref.reserve1 = reserve1;
  // p.ref.reserve2 = reserve2;
  malloc.free(p);
}