Hi Robert, On Wed, Mar 28, 2018, Robert Lubas wrote: > The problem is with the TTL field in the message (not valid value is hard > codded). I proposed a fix by passing ttl into cmd_hb_pub_set (user has to be > aware of valid values of the TTL as well as of another parameters in this > function) > > In the 4.4.1.2.15 Heartbeat Publication state (Mesh Profile spec) in the 3rd > paragraph we can read that if the message is successfully processed (no > invalid key index error) we should update the Heartbeat Publication state to > the corresponding field values (defined in Table 4.120). Going to this table > the Heartbeat Publication TTL state should be updated using message field > TTL. The message field TTL has to be set according to the 4.2.17.4 Heartbeat > Publication TTL (0x00-0x7F values are valid). > > In the spec there is nothing about translation to the system settings > mechanism in case of heartbeat. > > Kindly asking for the review. I think Brian is on vacation, so there will likely be no response from him for awhile. The patch looks good to me, and even though we have the default TTL concept, for testing purposes it's nice to be able to set the TTL explicitly for the heartbeat configuration. So, the patch has now been applied upstream. Thanks. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html