send method

void send()

Implementation

void send() {
  final p = malloc<PERIPHERAL_RRI_DATA>();
  RRI.toCUInt16(p.ref.RRI);
  p.ref.BP_LP = BP_LP;
  p.ref.BP_HP = BP_HP;
  p.ref.SPO2 = SPO2;
  p.ref.STEP = STEP;
  p.ref.RESERVED_DATA = RESERVED_DATA;
  p.ref.TIMESTAMP = TIMESTAMP;
  p.ref.HEARTRATE = HEARTRATE;
  malloc.free(p);
}