send method

void send()

Implementation

void send() {
  final p = malloc<PERIPHERAL_DAILY_ACTIVITY_INFO_CONTEXT>();
  p.ref.sleepLightSeconds = sleepLightSeconds;
  p.ref.sleepSoundSeconds = sleepSoundSeconds;
  p.ref.sleepRemSeconds = sleepRemSeconds;
  p.ref.wakeUpTimes = wakeUpTimes;
  p.ref.heartRate = heartRate;
  p.ref.skinTempeature = skinTempeature;
  p.ref.steps = steps;
  p.ref.distance = distance;
  p.ref.caloriesActive = caloriesActive;
  p.ref.caloriesIdle = caloriesIdle;
  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.sweatsugar = sweatsugar;
  p.ref.lacticacid = lacticacid;
  p.ref.spo2 = spo2;
  p.ref.hrv = hrv;
  p.ref.stress = stress;
  malloc.free(p);
}