at_sdk_test.go 240 B

1234567891011121314151617
  1. package netAtSDK
  2. import (
  3. "github.com/gogf/gf/text/gstr"
  4. "testing"
  5. )
  6. func startTestServer() {
  7. }
  8. func TestNetATClient(t *testing.T) {
  9. str := "+POLLSTR13: 0,0,\"0D\""
  10. index := gstr.Pos(str, ": ")
  11. t.Log(index)
  12. t.Log(str[index+1:])
  13. }