APIs for the poll plugin. More...


void emberAfPluginPollSetShortPollInterval (uint8_t intervalQS)
 Sets the short poll interval. More...
void emberAfPluginPollSetLongPollInterval (uint16_t intervalS)
 Sets the long poll interval. More...
void emberAfPluginPollEnableShortPolling (bool enable)
 Enables/disables short polling. More...

Detailed Description

APIs for the poll plugin.


Copyright 2018 Silicon Laboratories Inc. www.silabs.com

The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.

See poll.h for source code.

Function Documentation

void emberAfPluginPollEnableShortPolling ( bool  enable)

Enables/disables short polling.

[in]enableIf this parameter is true, short polling is enabled. Otherwise, the node switches back to long polling.
void emberAfPluginPollSetLongPollInterval ( uint16_t  intervalS)

Sets the long poll interval.

[in]intervalSThe long poll interval in seconds.
void emberAfPluginPollSetShortPollInterval ( uint8_t  intervalQS)

Sets the short poll interval.

[in]intervalQSThe short poll interval in quarter seconds.