func (resp *response) IsReply() bool {
	return resp.Command == 0xC5
}
IsReply returns true if this response is a reply to a command (as
opposed to measurements).
package sds011
import (
	"bytes"
	"encoding/binary"
	"errors"
	"fmt"
	"io"
	"time"
	log "github.com/golang/glog"
	"github.com/jacobsa/go-serial/serial"
)
type command byte
type mode byte
const (
	commandReportMode command = 2
	commandQuery      command = 4
	commandDeviceID   command = 5
	commandWorkState  command = 6
	commandFirmware   command = 7
	commandCycle      command = 8
	modeGet mode = 0
	modeSet mode = 1
	reportModeActive byte = 0
	reportModeQuery  byte = 1
	workStateSleeping  byte = 0
	workStateMeasuring byte = 1
)
type response struct {
	Header   byte  
	Command  byte  
	Data     [6]byte
	CheckSum byte
	Tail     byte  
}