mirror of
https://github.com/esp8266/Arduino.git
synced 2025-12-10 20:02:26 +03:00
Temboo: updated bundled library
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# Temboo Arduino library
|
||||
#
|
||||
# Copyright 2014, Temboo Inc.
|
||||
# Copyright 2015, Temboo Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -69,6 +69,8 @@ class TembooChoreo : public Process {
|
||||
#define TEMBOO_ERROR_APPKEY_NAME_MISSING (205)
|
||||
#define TEMBOO_ERROR_APPKEY_MISSING (207)
|
||||
#define TEMBOO_ERROR_HTTP_ERROR (223)
|
||||
#define TEMBOO_ERROR_STREAM_TIMEOUT (225)
|
||||
#define TEMBOO_CHOREO_DEFAULT_TIMEOUT_SECS (901) //15 minutes and 1 second
|
||||
|
||||
class TembooChoreo : public Stream {
|
||||
public:
|
||||
@@ -135,7 +137,8 @@ class TembooChoreo : public Stream {
|
||||
|
||||
// run the choreo on the Temboo server at the given IP address and port
|
||||
// (used only when instructed by Temboo customer support.)
|
||||
int run(IPAddress addr, uint16_t port);
|
||||
int run(uint16_t timeoutSecs);
|
||||
int run(IPAddress addr, uint16_t port, uint16_t timeoutSecs);
|
||||
|
||||
void close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user