send method

void send()

Implementation

void send() {
  final p = malloc<PERIPHERAL_ACC_DATA>();
  ACC_DATA_0.toCInt16(p.ref.ACC_DATA_0);
  ACC_DATA_1.toCInt16(p.ref.ACC_DATA_1);
  p.ref.TIMESTAMP_MILLISEC_0 = TIMESTAMP_MILLISEC_0;
  p.ref.TIMESTAMP_MILLISEC_1 = TIMESTAMP_MILLISEC_1;
  p.ref.HEARTRATE = HEARTRATE;
  malloc.free(p);
}