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.

CC2650DK: Observer

Part Number: CC2650DK


where I can receive event  data in observer file after scanning ?

  • Hi,

    I am not sure if I follow your question, but in the simple_observer code, once the device is done with discovery, it will enter
    static void SimpleBLEObserver_processRoleEvent(gapObserverRoleEvent_t *pEvent)
    {
    ....
    ....
    case GAP_DEVICE_DISCOVERY_EVENT:
    }
    All the device information is stored in *pEvent, which has the following structure
    /**
    * Observer Event Structure
    */
    typedef union
    {
    gapEventHdr_t gap; //!< GAP_MSG_EVENT and status.
    gapDeviceInitDoneEvent_t initDone; //!< GAP initialization done.
    gapDeviceInfoEvent_t deviceInfo; //!< Discovery device information event structure.
    gapDevDiscEvent_t discCmpl; //!< Discovery complete event structure.
    } gapObserverRoleEvent_t;