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

nrf52832 talks to a laptop running v4.2 BT, but not v5

Folks,

I have a dev board PCA10040, which is running, I think, soft device s132. Additional load file is:

components/softdevice/s132/hex/s132_nrf52_6.1.1_softdevice.hex

I have written a BLE program with Qt on a laptop running v4.0 and v4.2 Bluetooth and had it talking and playing nicely with the nrf. However, having just got an LG Gram 17 which has BT5.0, I can no longer properly communicate with the nrf. It [Qt program] recognises the nrf, but it only reads two services not the three it actually has and the handles it reads back for my custom service is different from what I read back with older devices (including Light Blue sniffer software on my Android phone (which also runs v4.2 BT)).

Does something need to be set up differently to communicate with BT5 devices? I was under the impression I was running BT 5 code which was backwards compatible with BT4.x. Do I have that wrong?

I thought that maybe this:

    ble_version_t p_version;
    uint8_t vn;
    sd_ble_version_get( &p_version);
    vn = p_version.version_number; 

Would tell me what version I'm running, but gives valuue nothing like what I expected. ie vn is 9 and subversion b7!

I appreciate that it might be an issue with the Qt program, but I wanted to check I wasn't doing something wrong at the Nordic end.

Many thanks. Slight smile

Parents Reply Children
Related