7 #ifndef NODECONFIGURATION_H_ 
    8 #define NODECONFIGURATION_H_ 
   67                                 const uint8_t * my_authentication_key_p,
 
   68                                 const uint8_t * my_encryption_key_p)
 
   74     if (lib_settings->getNodeAddress(&node_addr) != 
APP_RES_OK)
 
   77         res = lib_settings->setNodeAddress(my_addr);
 
   84         if (my_authentication_key_p != NULL
 
   85             && lib_settings->getAuthenticationKey(NULL) != 
APP_RES_OK)
 
   88             res = lib_settings->setAuthenticationKey(my_authentication_key_p);
 
   96         if (my_encryption_key_p != NULL
 
   97             && lib_settings->getEncryptionKey(NULL) != 
APP_RES_OK)
 
  100             res = lib_settings->setEncryptionKey(my_encryption_key_p);
 
  110     if (lib_settings->getNetworkAddress(&network_addr) != 
APP_RES_OK)
 
  113         res = lib_settings->setNetworkAddress(my_network_addr);
 
  122     if (lib_settings->getNetworkChannel(&network_ch) != 
APP_RES_OK)
 
  125         res = lib_settings->setNetworkChannel(my_network_ch);
 
  144     if ((address & 0xFF000000) == 0x80000000)
 
  147         address &= 0x7fffffff;
 
  182     res = lib_settings->setNodeAddress(new_addr);
 
  187     res = lib_settings->setNodeRole(new_role);
 
  192     res = lib_settings->setNetworkAddress(new_network_addr);
 
  197     res = lib_settings->setNetworkChannel(new_network_ch);
 
  226 #if defined(NETWORK_ADDRESS) & defined(NETWORK_CHANNEL)