provisioning example, waitForProvisioning()

This commit is contained in:
Manuel Bleichenbacher
2018-07-23 14:30:03 +02:00
parent b179ce6884
commit 3e084a4ed9
6 changed files with 142 additions and 12 deletions

View File

@ -111,6 +111,16 @@ public:
*/
void startProvisioningTask();
/**
* @brief Wait until the device EUI, app EUI and app key have been provisioned
* via the provisioning task.
*
* If device is already provisioned (stored data in NVS, call to 'provision()'
* or call to 'join(const char*, const char*, const char*)', this function
* immediately returns.
*/
void waitForProvisioning();
/**
* @brief Activate the device via OTAA.
*