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

Scanner(Central) stop scanning at random event

I am scanning beacons data in ble central profile with gap scan parameter 

static ble_gap_scan_params_t const m_scan_params =
{
.extended = 1,
.active = 1,
.interval = 0x640,
.window = 0x640,
.timeout = 0,
.scan_phys = BLE_GAP_PHY_1MBPS,
.filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,
};

my code consist of buttonless dfu,central,peripheral role,all working together very well,but after sometime central only provide its own data through uart i.e.scanning data missing,please guide

  • Hi,

    I have a similar problem using Thingy52, SDK 13.0.0, SD S132 v4.0.5, that sends periodically beacon eddystone UID every 200ms, and at the same time scans the beacon sent by the other Thingy52.

    Everything works fine but sometimes it stops to receive the adv events, without any specifc error.

    These are the values used to configure the scan in ble_gap_scan_params_t:

    #define SCAN_INTERVAL 0x0050 /**< Determines scan interval in units of 0.625 millisecond. */
    #define SCAN_WINDOW 0x0040 /**< Determines scan window in units of 0.625 millisecond. */
    #define SCAN_TIMEOUT 0x0000 /**< Timout when scanning. 0x0000 disables timeout. */

    Any help or suggestions?

Related