pubnub / arduino

The Official PubNub Arduino-based API!
Other
103 stars 49 forks source link

Remove retries and enable setting TCP/IP port #26

Closed sveljko closed 5 years ago

sveljko commented 5 years ago

Retries were not limited, making it possible to have a long blocking call, which is not a nice thing in Arduino loop(). Limitting would only partially fix the problem. Removing them altogether works much better and user can retry at her own convenience.

Support for setting the TCP/IP port was added, which is needed when using a TLS/SSL (network) client class. Before, we always used HTTP port, which would not work.