From c3d250fbc63c05d7f0ad5c4d95d725a16f3cece4 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Mon, 21 Aug 2017 17:01:54 +0200 Subject: forwarding node availability to volume lib --- HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h') diff --git a/HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h b/HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h index 94d5a1c..1147993 100644 --- a/HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h +++ b/HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h @@ -90,6 +90,13 @@ extern uint8_t lib_most_volume_exit(void); */ extern uint8_t lib_most_volume_set(enum lib_most_volume_channel_t channel, uint8_t volume); +/** Must be called when the availability of a node has changed + * \param address The node address + * \param available Availability: 0 - not available, 1 - available + * \return '0' on success, otherwise value >'0'. + */ +extern uint8_t lib_most_volume_node_available(uint16_t address, uint8_t available); + /** Shall be called either cyclically (e.g. 50ms -> polling) or after "timeout" * when "service_fptr" is fired (-> event triggered). * \return '0' on success, otherwise value >'0'. -- cgit 1.2.3-korg