summaryrefslogtreecommitdiffstats
path: root/src/stkutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stkutil.c')
-rw-r--r--src/stkutil.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/stkutil.c b/src/stkutil.c
index 9beac310..a945ef32 100644
--- a/src/stkutil.c
+++ b/src/stkutil.c
@@ -5042,6 +5042,19 @@ const unsigned char *stk_pdu_from_envelope(const struct stk_envelope *envelope,
case STK_ENVELOPE_TYPE_EVENT_DOWNLOAD:
ok = build_envelope_event_download(&builder, envelope);
break;
+ case STK_ENVELOPE_TYPE_TIMER_EXPIRATION:
+ ok = build_dataobj(&builder,
+ build_envelope_dataobj_device_ids,
+ DATAOBJ_FLAG_CR,
+ envelope,
+ build_dataobj_timer_id,
+ DATAOBJ_FLAG_CR,
+ &envelope->timer_expiration.id,
+ build_dataobj_timer_value,
+ DATAOBJ_FLAG_CR,
+ &envelope->timer_expiration.value,
+ NULL);
+ break;
default:
return NULL;
};