This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Change UUID programatically

I would like to change UUID programatically,initially we are trying to establish connection between phone and beacon. We tried to change BLE_GAP_ADV_TYPE_ADV_NONCONN_IND to BLE_GAP_ADV_TYPE_ADV_IND and added m_adv_params.interval = NON_CONNECTABLE_ADV_INTERVAL in advertising_init(), but beacon stopped transmitting. Can any one help me?

We are using ibeacon example for this.

Parents Reply
  • m_adv_params.type = BLE_GAP_ADV_TYPE_ADV_IND; m_adv_params.p_peer_addr = NULL; // Undirected advertisement. m_adv_params.fp = BLE_GAP_ADV_FP_ANY; m_adv_params.interval = APP_ADV_INTERVAL; m_adv_params.timeout = APP_ADV_TIMEOUT_IN_SECONDS; this was the parameters we added. are we in right direction towards connection establishment?

Children
No Data
Related