Skip to content

Commit f3ebad3

Browse files
committed
Adding typedef's so to not break compilability with ArduinoIoTCloud
1 parent fa7446d commit f3ebad3

4 files changed

+8
-0
lines changed

src/Arduino_GSMConnectionHandler.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ class GSMConnectionHandler : public ConnectionHandler {
7474

7575
};
7676

77+
typedef GSMConnectionHandler TcpIpConnectionHandler;
78+
7779
#endif /* #ifdef BOARD_HAS_GSM */
7880

7981
#endif /* #ifndef GSM_CONNECTION_MANAGER_H_ */

src/Arduino_LoRaConnectionHandler.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,6 @@ class LoRaConnectionHandler : public ConnectionHandler {
8686

8787
};
8888

89+
typedef LoRaConnectionHandler LPWANConnectionHandler;
90+
8991
#endif /* ARDUINO_LORA_CONNECTION_HANDLER_H_ */

src/Arduino_NBConnectionHandler.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ class NBConnectionHandler : public ConnectionHandler {
7575

7676
};
7777

78+
typedef NBConnectionHandler TcpIpConnectionHandler;
79+
7880
#endif /* #ifdef BOARD_HAS_NB */
7981

8082
#endif /* #ifndef NB_CONNECTION_MANAGER_H_ */

src/Arduino_WiFiConnectionHandler.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class WiFiConnectionHandler : public ConnectionHandler {
7373

7474
};
7575

76+
typedef WiFiConnectionHandler TcpIpConnectionHandler;
77+
7678
#endif /* #ifdef BOARD_HAS_WIFI */
7779

7880
#endif /* ARDUINO_WIFI_CONNECTION_HANDLER_H_ */

0 commit comments

Comments
 (0)