summaryrefslogtreecommitdiffstats
path: root/HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h
diff options
context:
space:
mode:
authorTobias Jahnke <tjahnk@users.noreply.github.com>2017-08-21 17:01:54 +0200
committerTobias Jahnke <tjahnk@users.noreply.github.com>2017-08-23 13:12:01 +0200
commitc3d250fbc63c05d7f0ad5c4d95d725a16f3cece4 (patch)
treec900da6adf7299870ae67c1406d60eb7482cb653 /HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h
parentd0dae04c2ae6e4219e0ebac205dd05fa7e9427cf (diff)
forwarding node availability to volume lib
Diffstat (limited to 'HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h')
-rw-r--r--HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc/libmostvolume.h7
1 files changed, 7 insertions, 0 deletions
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'.