Text.go 210 B

1234567891011121314151617
  1. package QuectelAT
  2. const (
  3. Text = "Text"
  4. )
  5. type SentenceText struct {
  6. Message string
  7. }
  8. func (s SentenceText) DataType() string {
  9. return Text
  10. }
  11. func NewText(raw string) Sentence {
  12. return SentenceText{}
  13. }