This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC2650: cc2650

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650,

Hello,

I'm trying to use SimpleBLEObserver project.

I've faced some problems:

  1. I didn't succeed in sniffing packets (advertisements).
  2. I am not sure the project is configured to my device: CC2650 launchpad
  3. I cannot find any detailed documentation, and therefore I can't understand how the observer project works.

I have the following set-up:

  1. On one CC2650 board, I'm running project zero, and I can see that the device is advertising (in both log and android app).
  2. On another CC2650 I'm trying to sniff the packets, running the SimpleBLEObserver project, and its current output is:
    1. BLE Observer
      0xB0B448BA2683
      Initialized
  3. I'm using the following predefined symbols:

    CC2650_LAUNCHXL
    CC26XX
    HEAPMGR_SIZE=0
    ICALL_MAX_NUM_ENTITIES=6
    ICALL_MAX_NUM_TASKS=3
    POWER_SAVING
    USE_ICALL

  4. I've figured it out that in order to sniff, the board needs to change its state to "discovery mode" and it is should be applied by clicking on buttons, but I did try to click on both buttons and none of them changed a thing (didn't even post any log message).

Waiting for your help and if you got any detailed documentation docs I will be glad to read those....

  • Which BLE Stack version do you use? If I remember correctly, original SimpleBLEObserver is for CC2650DK.
  • I'm using BLE Stack v. 2.2.1.
  • Then, I suppose you have to do some change on the source codes which include to change board file for different buttons and LED mapping and move LCD output to use UART as output.
    1. Yes, indeed I have moved the LCD output to UART (That is how I received the logs from my message above [section 2a].
    2. How should I change the board file? Should I take a board file from another project (such as "project zero") and copy the buttons stuff?
    3. Do you have any reference for documentation for the observer project? It is really exhausting to reverse engineering this code...

    Thanks for your fast replies! 

  • 1&2. Since you have moved LCD to UART, I suppose you only need to map Board_KEY_UP and Board_KEY_LEFT to DIO13 (BTN-1 on LAUNCHXL-CC2650) and DIO14 (BTN-2 on LAUNCHXL-CC2650) respectively.
    3. As I know, there is no dedicated documentation for the observer project. However, it just do BLE scan and list scanned result. It shouldn't be too difficult to read the code and know how it works.