send method

void send()

Implementation

void send() {
  final p = malloc<PERIPHERAL_STREAMING_DAY_TOTAL>();
  p.ref.epoch = epoch;
  p.ref.skinTemperature = skinTemperature;
  p.ref.steps = steps;
  p.ref.calories = calories;
  p.ref.distance = distance;
  p.ref.heartRate = heartRate;
  p.ref.skinTouch = skinTouch;
  p.ref.sleepSeconds = sleepSeconds;
  p.ref.acttype = acttype;
  p.ref.uv = uv;
  p.ref.bp_lp = bp_lp;
  p.ref.bp_hp = bp_hp;
  p.ref.atm = atm;
  p.ref.spo2 = spo2;
  p.ref.hrv = hrv;
  p.ref.stress = stress;
  p.ref.sweatsugar = sweatsugar;
  p.ref.lacticacid = lacticacid;
  malloc.free(p);
}