mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-07-16 15:42:52 +02:00
Generate device EUI from MAC
This commit is contained in:
@ -86,6 +86,14 @@ bool TheThingsNetwork::provision(const char *devEui, const char *appEui, const c
|
||||
return provisioning_save_keys();
|
||||
}
|
||||
|
||||
bool TheThingsNetwork::provisionWithMAC(const char *appEui, const char *appKey)
|
||||
{
|
||||
if (!provisioning_from_mac(appEui, appKey))
|
||||
return false;
|
||||
|
||||
return provisioning_save_keys();
|
||||
}
|
||||
|
||||
void TheThingsNetwork::startProvisioningTask()
|
||||
{
|
||||
#if !defined(CONFIG_TTN_PROVISION_UART_NONE)
|
||||
|
Reference in New Issue
Block a user