Hi,
I was trying out the long range example provided on the NordicPlayground GitHub repo, and worked great when communicating between two nRF52840 dev kits. I however noticed that it wasn't possible to scan for the peripheral device when using the application provided by nordic NRFConnect(Using 1MBPS phy), but when using the nRF52840 central device, it could find it and achieve a connection between these two devices? Are there any restrictions that cause the mobile phone not to find the peripheral device? Or are there any limitations in the SD 6.0.0-6 alpha that causes the device not to be scanned when the board advertises?
I noticed when assigning the scannable parameter with 1 that the dev kit returns invalid params??
adv_params.properties.connectable = 1; adv_params.properties.scannable = 1; adv_params.properties.legacy_pdu = 0; adv_params.p_peer_addr = NULL; adv_params.fp = BLE_GAP_ADV_FP_ANY; adv_params.interval = APP_ADV_INTERVAL; adv_params.duration = APP_ADV_TIMEOUT_IN_SECONDS * 100; #if defined(S140) adv_params.primary_phy = BLE_GAP_PHY_1MBPS; adv_params.secondary_phy = BLE_GAP_PHY_1MBPS; #else adv_params.primary_phy = BLE_GAP_PHY_1MBPS; adv_params.secondary_phy = BLE_GAP_PHY_1MBPS; #endif NRF_LOG_INFO("Starting advertising."); ret_code_t err_code = sd_ble_gap_adv_start(BLE_GAP_ADV_SET_HANDLE_DEFAULT, &adv_params, APP_BLE_CONN_CFG_TAG);