1 Reply Latest reply on Nov 8, 2014 1:22 AM by userc_6396

    What causes the sensor Tag to send measurements?

      I just downloaded the Android code and started reviewing it.  One question that also comes to mind, what causes the sensor tag to send the measurements?  Is there some kind of message sent to the sensor tag to get a response, or does the sensor tag use a fixed timer to send periodic measurement reports once paired with a BLE device?

       

      In general, there doesn't seem to be a comprehensive interface document that rigorously defines what goes between the sensor tag and the application.

        • 1. Re: What causes the sensor Tag to send measurements?

          Very good question and important to know (e.g. if you debug):

          BLE knows Notification and Indications (first is unreliable, second is reliable due to acknowledge from receiver/client expected).

           

          If a client (Android Smartphone) has subscribed to a Notification or Indication, the server (BLE device) will send ONLY if a NEW value is there.
          Therefore, it can happen: if the sensor value does not change = nothing sent and nothing received on client.

          A periodic timer (no idea) in case of very fast changes - I think the server/device can decide, e.g. every 1 second as fastest update speed, but still: just if value is new and changed.

          If sensor value will never be changed - nothing sent and updated on client.

          1 of 1 people found this helpful