summaryrefslogtreecommitdiffstats
path: root/ahl-binding/ahl-binding.hpp
AgeCommit message (Collapse)AuthorFilesLines
2018-12-18Added an 'activerole' verbLoïc Collignon1-1/+3
Control the currently opened role with the higher priority. Volume changed event nows specify if the corresponding role was the active one when the event was emitted. Bug: SPEC-1313 Change-Id: I87ae89ef03357a3537ada86f1dd3f319d13cbe85 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-18Clean up some codeLoïc Collignon1-11/+6
Added comments, remove unused declarations and move around some declarations and implementations to be more logic and tidy. Change-Id: I4b392f9aa2471067b6d102532b620acc6afe3cb2 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-18Fix indentation and trailing whitespacesLoïc Collignon1-26/+26
Convert every indentation to tab instead of spaces and get rid of mixed tab/spaces indentations. Also remove few trailing whitespaces. Change-Id: Ic4a8f2adcacb99789a403aefe6a16daaffee5cd6 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-13Added volume_changed event plus verbsLoïc Collignon1-1/+5
New subscribe and unsubscribe verbs to get the volume_changed event. Bug: SPEC-2053 Change-Id: Iedeb542c7c3d880f0d6294b0310d2662e0ac11f1 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-22Migration to Afb API v3Loïc Collignon1-7/+7
Migrate the API to get rid of dynapi by using API v3 instead. Also fix possible bugs and memory leaks when startup fails. Bug: SPEC-1546 Change-Id: I7cf8e9454d6910b1258dfe671dedde3b84855fc4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-29Fix build for migration to the binder from masterLoïc Collignon1-8/+1
Some definitions changed between eel and master versions of the app-framework-binder. Change-Id: I92d6f4af3193a693580d421adbd4331fcb249392 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-29ahl-binding: enable AFB_BINDING_WANT_DYNAPI symbol to be compatible with ↵Stephane Desneux1-5/+6
legacy dynapi calls Change-Id: I130408705f8052fec0bd6a6a49740922630ecb0c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-12Update to last softmixer and hal, plus some fixesLoïc Collignon1-37/+15
Use the last 4a-softmixer and 4a-hal-generic versions. Fix some potential crash and performance bottleneck. Now support sessions to disallow multiple opening or closing by not owner. Change-Id: I95b020a3fab03b1e1058812adae1d8d5986f282b Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-12Add some policy emulationLoïc Collignon1-4/+30
Add a very simplistic policy emulation just for demo. The real policy engine will be brought back soon. Change-Id: I6f77c8dc58ba335eabd1a1d858354a84559d9e7f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-12Rewrite of the High Level API using the new HAL modelLoïc Collignon1-0/+74
The new HAL model need the High Level API to be rewritten. This is the first version of this rewrite, still in progress but should work. Change-Id: I5c94cf39d84cefae6b7a179c09d95e645673e8d4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>