struct bt_message_message_iterator_inactivity *message;
struct bt_message *ret_msg = NULL;
+ BT_ASSERT_PRE_DEV_NO_ERROR();
BT_ASSERT_PRE_NON_NULL(msg_iter, "Message iterator");
BT_ASSERT_PRE_NON_NULL(default_clock_class, "Default clock class");
BT_LIB_LOGD("Creating message iterator inactivity message object: "
{
struct bt_message_message_iterator_inactivity *inactivity = (void *) msg;
- BT_ASSERT_PRE_NON_NULL(msg, "Message");
- BT_ASSERT_PRE_MSG_IS_TYPE(msg, BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
+ BT_ASSERT_PRE_DEV_NON_NULL(msg, "Message");
+ BT_ASSERT_PRE_DEV_MSG_IS_TYPE(msg,
+ BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
return inactivity->default_cs;
}