pc-ble-driver use with API6 to support extended scanning

Hi,

   1. Ubuntu Linux LTS 64-bit (tested on Ubuntu 16.04)

   2. PCA10059 nRF52840 { Dongle }

   3. Using examples/heart_ rate_ collector

static const ble_gap_scan_params_t m_scan_param =
{
#if NRF_SD_BLE_API >= 6
0, // Set if accept extended advertising packetets.

as mentioned above, using the default parameter 0 is normal. If 0 is changed to 1, it will be abnormal.

when an error occurs, print the relevant log as follows:

Serial port used: /dev/ttyACM0
Baud rate used: 1000000
Info: Successfully opened /dev/ttyACM0. Baud rate: 1000000. Flow control: none. Parity: none.
Status: 6, message: Target Reset performed
Status: 7, message: Connection active
BLE stack enabled
Scan start failed with error code: 9

Related