We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7ff411 commit f5233e4Copy full SHA for f5233e4
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