send method

void send()

Implementation

void send() {
  final p = malloc<PERIPHERAL_AIR_DATA>();
  p.ref.air_aqi = air_aqi;
  p.ref.air_pm25 = air_pm25;
  p.ref.air_pm10 = air_pm10;
  p.ref.air_so2 = air_so2;
  p.ref.air_no2 = air_no2;
  p.ref.air_o3 = air_o3;
  p.ref.air_co = air_co;
  p.ref.level_aqi = level_aqi;
  p.ref.level_pm25 = level_pm25;
  p.ref.level_pm10 = level_pm10;
  p.ref.level_so2 = level_so2;
  p.ref.level_no2 = level_no2;
  p.ref.level_o3 = level_o3;
  p.ref.level_co = level_co;
  malloc.free(p);
}