You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
AutoConnect/mkdocs/apiupdate.md

35 lines
1.3 KiB

## <i class="fa fa-code"></i> Constructor
### AutoConnectUpdate
```cpp
AutoConnectUpdate(const String& host, const uint16_t port, const String& uri, const int timeout, const uint8_t ledOn)
```
<dl class="apidl">
<dt>**Parameters**</dt>
<dd><span class="apidef">host</span><span class="apidesc">Update server address</span></dd>
<dd><span class="apidef">port</span><span class="apidesc">Port number. **AUTOCONNECT_UPDATE_PORT**</span></dd>
<dd><span class="apidef">uri</span><span class="apidesc"></span></dd>
<dd><span class="apidef">timeout</span><span class="apidesc">**AUTOCONNECT_UPDATE_TIMEOUT**</span></dt>
<dd><span class="apidef">ledOn</span><span class="apidesc">Active signal to light the LED ticker during the update. specifies **HIGH** or **LOW**</span></dt>
</dl>
## <i class="fa fa-code"></i> Public member functions
### <i class="fa fa-caret-right"></i> attach
### <i class="fa fa-caret-right"></i> enabled
### <i class="fa fa-caret-right"></i> handleUpdate
### <i class="fa fa-caret-right"></i> isEnabled
### <i class="fa fa-caret-right"></i> status
## <i class="fa fa-code"></i> Public member variables
### <i class="fa fa-caret-right"></i> host
### <i class="fa fa-caret-right"></i> port
### <i class="fa fa-caret-right"></i> uri