Lines Matching +full:steps +full:- +full:per +full:- +full:period
8 * SPDX-License-Identifier: Apache-2.0
52 #define BT_MESH_ADDR_ALL_NODES 0xffff /**< all-nodes */
53 #define BT_MESH_ADDR_RELAYS 0xfffe /**< all-relays */
54 #define BT_MESH_ADDR_FRIENDS 0xfffd /**< all-friends */
55 #define BT_MESH_ADDR_PROXIES 0xfffc /**< all-proxies */
56 #define BT_MESH_ADDR_DFW_NODES 0xfffb /**< all-directed-forwarding-nodes */
57 #define BT_MESH_ADDR_IP_NODES 0xfffa /**< all-ipt-nodes */
58 #define BT_MESH_ADDR_IP_BR_ROUTERS 0xfff9 /**< all-ipt-border-routers */
393 /** Macro for encoding exact message length for fixed-length messages. */
394 #define BT_MESH_LEN_EXACT(len) (-len)
395 /** Macro for encoding minimum message length for variable-length messages. */
622 * @brief Encode transmission count & interval steps.
625 * @param int_ms Interval steps in milliseconds. Must be greater than 0,
631 #define BT_MESH_TRANSMIT(count, int_ms) ((count) | (((int_ms / 10) - 1) << 3))
652 * @brief Encode Publish Retransmit count & interval steps.
655 * @param int_ms Interval steps in milliseconds. Must be greater than 0 and a
690 #define BT_MESH_PUB_MSG_TOTAL(pub) (BT_MESH_PUB_TRANSMIT_COUNT((pub)->retransmit) + 1)
701 #define BT_MESH_PUB_MSG_NUM(pub) (BT_MESH_PUB_TRANSMIT_COUNT((pub)->retransmit) + 1 - (pub)->count)
721 uint8_t retransmit; /**< Retransmit Count & Interval Steps. */
722 uint8_t period; /**< Publish Period. */ member
723 uint8_t period_div:4, /**< Divisor for the Period. */
728 uint32_t period_start; /**< Start of the current period. */
742 * periodic publishing. When set to non-NULL the callback
747 * If the callback returns non-zero, the publication is skipped
759 /** Publish Period Timer. Only for stack-internal use. */
909 /** Model-specific user data */
986 * non-period publishing. For periodic publishing the app only needs
1006 return model->pub->count != BT_MESH_PUB_TRANSMIT_COUNT(model->pub->retransmit); in bt_mesh_model_pub_is_retransmission()
1048 return (mod->rt->elem_idx == 0); in bt_mesh_model_in_primary()
1073 * not be re-scheduled until previous schedule completes.
1088 * All models in an extension list share one subscription list per element. The
1121 * @retval -ENOMEM There is no more space to save this relation.
1122 * @retval -ENOTSUP Composition Data Page 1 is not supported.