Forums - Mesh message source deviceID

3 posts / 0 new
Last post
Mesh message source deviceID
v.svistelnikov
Join Date: 6 Jun 16
Location: Kharkov
Posts: 13
Posted: Tue, 2016-06-07 08:12

Hi Everyone !

How to determine source deviceID for received mesh message (I mean deviceID that sent this message) ? Is it possible to do in CSRMesh 1.3 during the mesh message processing in AppProcessCsrMeshEvent ?

For example, I received power state changed event so I want to determine which deviceID have initiated changes.

Thank you.

  • Up0
  • Down0
v.svistelnikov
Join Date: 6 Jun 16
Location: Kharkov
Posts: 13
Posted: Thu, 2016-06-16 06:44

Hi CSR !

Can you please answer the question in startpost.

  • Up0
  • Down0
Jesse Tsai Moderator
Join Date: 5 Apr 16
Posts: 12
Posted: Thu, 2016-06-16 21:07

Hi v.svistelnikov,

Only sensor and data model contain the source id information. Please refer to their event strutures SENSOR_MODEL_EVENT_T and CSR_MESH_STREAM_EVENT_T.

Thanks.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.