#define DEBUG_LOG_MODULE_NAME "PROXY APP"
#define DEBUG_LOG_MAX_LEVEL LVL_INFO
 
#define JOINING_TX_POWER        8
 
 
#define ENABLE_LOCAL_PROVISIONING false
 
static const uint8_t authentication_key[] =  {NET_AUTHEN_KEY};
 
static const uint8_t encryption_key[] =  {NET_CIPHER_KEY};
 
static bool beacon_tx_enabled = false;
 
{
    (void)button_id;
    (void)event;
 
    
    if (beacon_tx_enabled)
    {
        beacon_tx_enabled = false;
    }
    else
    {
        beacon_tx_enabled = true;
    }
}
 
bool start_cb(const uint8_t * uid,
              uint8_t uid_len,
{
    
           authentication_key,
 
    return true;
}
 
 
{
    
    static const uint8_t factory_key[] = {
                            0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
                            0x08, 0X09, 0X0A, 0X0B, 0X0C, 0X0D, 0X0E, 0X0F,
                            0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
                            0x08, 0X09, 0X0A, 0X0B, 0X0C, 0X0D, 0X0E, 0X0F
                            };
    {
        .payload = NULL,
        .num_bytes = 0,
        .is_local_sec_allowed = ENABLE_LOCAL_PROVISIONING,
        .is_local_unsec_allowed = ENABLE_LOCAL_PROVISIONING,
        .key = factory_key,
        .key_len = 32,
        .start_cb = start_cb
    };
 
 
    
    {
        
        return;
    }
 
    
    
#ifdef LOW_LATENCY_NODE
#else
#endif
 
 
 
    
    lib_state->startStack();
}