Fix bugs in Radio sequence, parameters, add ping/refresh
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Fri, 18 Dec 2015 19:00:27 +0000 (20:00 +0100)
committerManuel Bachmann <manuel.bachmann@iot.bzh>
Fri, 18 Dec 2015 19:05:57 +0000 (20:05 +0100)
commit61354a55ac2abd9e83e1f869cdb735654d6eb74a
treeb90c2a2d408b89c7e2cbc159a500d521bcba920c
parent3bce4a6a8648c91b6ddea478116b3b0679ef4648
Fix bugs in Radio sequence, parameters, add ping/refresh

Fixed the following :
- in some cases, powering off a playing radio would block ;
- Radio API "mode" should be "AM/FM", not "true/false".

Radio and Audio APIs now have dedicated functions to ping
status and refresh a session token.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
plugins/audio/audio-api.c
plugins/radio/radio-api.c