Sub-IoT / Sub-IoT-Stack

Sub-IoT: Open Source Stack for Dash7 Alliance Protocol
https://sub-iot.github.io/Sub-IoT-Stack/
Other
150 stars 90 forks source link

Pass origin_itf_status to alp_unhandled_read_action_cb #95

Closed sjorsdewit closed 4 years ago

sjorsdewit commented 4 years ago

The first parameter of alp_unhandled_read_action_cb appeared to be obsolete (no usefull data was passed). This patch passes origin_itf_status instead.

This gives the app extra flexibility in implementing files on-the-fly: for example, the file contents can be different depending on details from the origin_itf_status (such as UID ).

glennergeerts commented 4 years ago

LGTM, thanks!