8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e852a6 commit ca4e1a4Copy full SHA for ca4e1a4
libraries/GSM/src/GSMClient.h
@@ -29,6 +29,24 @@ class GSMClient : public AClient {
29
NetworkInterface *getNetwork() {
30
return GSM.getNetwork();
31
}
32
+
33
+ size_t write(uint8_t b) {
34
+ int ret = 0;
35
+ do {
36
+ ret = client->write(b);
37
+ delay(0);
38
+ } while (ret == 0 && status());
39
+ return ret;
40
+ }
41
42
+ size_t write(const uint8_t *buf, size_t size) {
43
44
45
+ ret = client->write(buf, size);
46
47
48
49
50
};
51
52
0 commit comments