summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-12-22New Session Model [compile but not tested]Fulup Ar Foll8-115/+98
2015-12-22Does not compileFulup Ar Foll5-38/+35
2015-12-22Merge origin/masterFulup Ar Foll6-18/+18
2015-12-22Fix Post with invalid pluginsFulup Ar Foll1-8/+12
2015-12-22Centralize dependencies, add D-Bus dep. to README.mdManuel Bachmann4-10/+5
README.md now mentions D-Bus. Checking dbus presence is now done at the same place as json-c, libmicrohttpdd... Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-22Improve plugin logic, pass plugins count to sessionManuel Bachmann2-8/+13
We now pre-reserve for 20 plugins (arbitrary for now, we downsize if necessary). Plugins count is now passed to the session in the "pluginCount" variable. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-22Merge origin/masterFulup Ar Foll4-21/+68
2015-12-22Fix Post JSON bugFulup Ar Foll2-26/+104
2015-12-22Audio API: manage multiple-channel volumeManuel Bachmann4-21/+68
You can now set the volume for multiple channels independantly by using the "value=<1>,<2>..." syntax. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-22Fix "no plugins" detection, rename HelloWorld APIManuel Bachmann2-5/+12
afb-daemon now gracefully exits if no plugins are present. HelloWorld's API has been renamed to "hello". Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-21Fix naming issue with DBusJosé Bollo1-1/+1
Change-Id: I369b4905c7d53669a0ebd581759a2aa67ff6b9c6
2015-12-21Add plugin for the framework afm-mainJosé Bollo5-0/+873
Change-Id: Ib0bfba52aac8a60afc9a80a564202689e28b18ff
2015-12-21improved use of const qualifierJosé Bollo2-2/+2
Change-Id: I371bfb6fdbaec91c14c0f3e2f2a45952252f8e27
2015-12-21Export getFileUpload to helper-api.cFulup Ar Foll4-51/+48
2015-12-21Merge origin/masterFulup Ar Foll5-5/+21
2015-12-21Hack --plugins=pathFulup Ar Foll10-186/+277
2015-12-21Fix Audio API on Renesas Porter/Koelsch boardsManuel Bachmann1-0/+13
Porter/Koelsch do not expose a standard "Master" playback mixer on their default interface, as it is common with desktop audio cards. Add a bit of discovery logic for this. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-21Fix Radio and Audio plugin symbolsManuel Bachmann4-5/+8
radio-api/audio-api.so were not valid, because they were not linked correctly with librtlsdr/ALSA. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-21Fix HelloWorldFulup Ar Foll4-16/+84
2015-12-21FixeFulup Ar Foll4-65/+44
2015-12-21Switch to a plugin modelManuel Bachmann13-39/+95
Each API now compiles to a ".so" file, which gets searched for in the "${libdir}/afb" directory at startup. We can now load an arbitrary number of plugins (> 10). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-21Untie Radio and Audio APIsManuel Bachmann7-119/+200
Radio and Audio API functions do not cross-call themselves directly anymore ; this is necessary to have independent plugin binaries (.so) in the near future. (PS : audio buffer securization is WIP) Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-21Post File Working in Most casesFulup Ar Foll7-126/+156
2015-12-20Fix frequency setting bug in Radio APIManuel Bachmann2-4/+6
Passing floats between functions seems to cause problems... not sure why ; anyway, fix this by using a double variable. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-18Fix bugs in Radio sequence, parameters, add ping/refreshManuel Bachmann2-43/+55
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>
2015-12-17Final modifications for Radio-Audio API communicationManuel Bachmann12-102/+159
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-17Fix Audio API runtimeManuel Bachmann2-3/+3
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-17Finalize Audio pluginManuel Bachmann8-15/+281
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-12-17Remove Hashtable for session and cleanupFulup Ar Foll4-213/+136
2015-12-16Initial Audio pluginManuel Bachmann10-27/+196
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16Added Timeout in ResponseFulup Ar Foll1-0/+2
2015-12-16Fix radio plugin runtimeManuel Bachmann4-44/+223
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16Fix radio plugin loadingManuel Bachmann1-1/+1
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16Fix plugins loading, cleanup and dispatch Radio API codeManuel Bachmann11-587/+673
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16En courtFulup Ar Foll3-60/+58
2015-12-16Migrate Radio API to new modelManuel Bachmann1-146/+306
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16Add HelloWorld sample to CMake buildManuel Bachmann1-1/+1
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16New tree organization, update CMake req. to 2.8.8.Manuel Bachmann13-330/+246
Use CMake-2.8.8-specific feature to allow building the daemon from various source directories. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16Add Middleware and change Hashtable technoFulup Ar Foll11-264/+364
2015-12-15Post En court Ne fonctionne pasFulup Ar Foll4-71/+69
2015-12-15Intermediary Version Does not CompileFulup Ar Foll11-235/+595
2015-12-14Post En court Ne fonctionne pasFulup Ar Foll4-51/+165
2015-12-14Integrated Post for Fileupload TestFulup Ar Foll3-7/+71
2015-12-14Merge branch 'master' of git:iotbzh/afb-daemonFulup Ar Foll5-219/+124
2015-12-14Added Doc dir and remove nbprojet from gitFulup Ar Foll5-3/+257
2015-12-14Document UUID dependency, make radio plugin buildableManuel Bachmann5-219/+124
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-14Fix Rootdir redirect for static filesFulup Ar Foll2-14/+119
2015-12-13Fixed Session Context Free with ctxFreeCBFulup Ar Foll8-51/+63
2015-12-12Proposal for Integration with sessionFulup Ar Foll1-46/+198
2015-12-12Added --token=xxxxx for initial shared secretFulup Ar Foll1-2/+2