summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2015-12-12Added --token=xxxxx for initial shared secretFulup Ar Foll7-122/+44
2015-12-12Fixed Plugin.private bug, added "no session mode" fixed plugin APIFulup Ar Foll12-114/+149
2015-12-12Added Session ManagementFulup Ar Foll15-193/+642
2015-12-11Add Radio API pluginManuel Bachmann6-8/+548
Add Radio API plugin source code, build with CMake. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-10Fix &query errorFulup Ar Foll6-86/+74
2015-12-10Fix Json Message StructureFulup Ar Foll6-50/+162
2015-12-10Remove nbprojet/private from commitFulup Ar Foll1-56/+25
2015-12-10Added Netbean to work with cmakeFulup Ar Foll19-796/+450
2015-12-10Added nbproject/private empty dir for Netbeans to accept projectfulup2-2/+5
2015-12-10main: fix command-line help typosManuel Bachmann1-5/+5
Some "]" were missing in the command-line help text. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-10README.md: fix typosManuel Bachmann1-10/+11
Turn requirements list into real list, add carriage returns after each command line, add "$" before each command line. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-10README.md: add CMake build instructionManuel Bachmann1-0/+14
List requirements, give build commands workflow. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-10Add CMake build files (required by Yocto build process)Manuel Bachmann4-2/+55
We now can use CMake by doing : $ mkdir build $ cd build $ cmake .. $ make $ make install Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-09DocFulup Ar Foll3-6/+65
2015-12-09fix a bug on by default indexFulup Ar Foll3-41/+26
2015-12-09Implemented --alias and made timeout reentrantFulup Ar Foll5-57/+101