We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d97721 commit 930848eCopy full SHA for 930848e
libraries/GSM/src/GSMClient.h
@@ -26,10 +26,12 @@
26
namespace arduino {
27
28
class GSMClient : public AClient {
29
+private:
30
NetworkInterface *getNetwork() {
31
return GSM.getNetwork();
32
}
33
34
+public:
35
size_t write(uint8_t b) {
36
int ret = 0;
37
do {
libraries/GSM/src/GSMSSLClient.h
@@ -32,6 +32,25 @@ class GSMSSLClient : public arduino::ASslClient {
+
+ size_t write(uint8_t b) {
38
+ int ret = 0;
39
+ do {
40
+ ret = client->write(b);
41
+ delay(0);
42
+ } while (ret == 0 && status());
43
+ return ret;
44
+ }
45
46
+ size_t write(const uint8_t *buf, size_t size) {
47
48
49
+ ret = client->write(buf, size);
50
51
52
53
54
};
55
56
0 commit comments