Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

Expected completion time of this lab: 

Excerpt

15 min

.

Table of Contents

Tip

Make sure you are subscribed to notifications!

  • Wait for Create the following flow
    Image Added 

  • After a few seconds until , you receive both an "oap" notifications and a notification. What does it contain?

    Info
    titleAnswer 16.1:

    Fill in the table below with the notification you have just received"notifData" notification. These correspond to the same information: the manager publishes the (raw) "notifData" notification, the JsonServer then understands that this is an OAP notfication and parses that.

  • In the "notifData" notification, find fields.data field. First, copy-paste the bytes in the notification into the from that field "value received" column below. Second, use the tools guide SmartMesh IP Tools Guide (http://www.linear.com/docs/42453), Section 9 “On-Chip Application Protocol” to interpret those bytes and fill in the "explanation" column.

    Info
    iconfalse
    titleAnswer 16.21:


    field name

    length

    value received

    explanation

    control byte

    1 byte


    N.A.

    id byte

    1 byte


    N.A.

    command

    1 byte



    type

    1 byte



    channel

    type

    1 byte



    length

    1 byte



    value

    1 byte



    timestamp

    12 bytes



    rate

    4 bytes



    num samples

    1 byte



    sample size

    1 byte



    sample

    2 bytes





  • Tip

    The “On-Chip Application Protocol” (OAP) is specified in the SmartMesh IP Tools Guide (http://www.linear.com/docs/42453), Section 9 “On-Chip Application Protocol”.

    What is the reported temperature?

    Info
    iconfalse
    titleAnswer 16.32: