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

How to Simply process Advertising Data

Hello to everyone,

My problem/question now is about the MasterEmulator. I´m working with the nRF51822(SoftDevice) and i have my own program already working more or less like I want. The main idea is that the device will send some information in the advertising data (my own data that don´t match with any existing Service).

But i´m trying to find out to make my own program for the PCA10000 that should only be scanning for Advertising devices, and process that advertising packets ( with processing it, i mean more or less store every data that see with the time stamp in a file).

I´m taking a look in the "nRFUart" and the "HeathThermoDemo" codes for the PCA1000 dongle but, i´m not so familiar with the "app programing" and I´m not be able to make only that "simply" part of scanning and have the data to work with.

Till now I´m only able to connect to the usb-dongle like in the "hello world" example, but not so much more. Any help like some other "easy start" codes, recommendation, etc.. will be so appreciated.

Thanks, Alvaro.

Parents
  • These are not good news for me. :(

    I have another question but maybe should be in a new post.

    I have notice that to have both packet Advertising and Scan Response with a broadcaster in not connectable mode is not possible.

    With BLE_GAP_ADV_TYPE_ADV_NONCONN_IND, I see the advertising packet but not the Scan response one.

    With BLE_GAP_ADV_TYPE_ADV_SCAN_IND, I see the Scan response packet but no the Advertising one.

    Only with a connectable mode can I see both. And the point is that I would like to have both in a non connectable mode, Is that possible?

    Thanks one more time.

Reply
  • These are not good news for me. :(

    I have another question but maybe should be in a new post.

    I have notice that to have both packet Advertising and Scan Response with a broadcaster in not connectable mode is not possible.

    With BLE_GAP_ADV_TYPE_ADV_NONCONN_IND, I see the advertising packet but not the Scan response one.

    With BLE_GAP_ADV_TYPE_ADV_SCAN_IND, I see the Scan response packet but no the Advertising one.

    Only with a connectable mode can I see both. And the point is that I would like to have both in a non connectable mode, Is that possible?

    Thanks one more time.

Children
Related