summaryrefslogtreecommitdiffstats
path: root/plugins/samples
AgeCommit message (Collapse)AuthorFilesLines
2016-05-24adds the tic-tac-toe exampleJosé Bollo2-0/+527
Change-Id: I9c52b2e4f17ad3f02e0ef64fdd78864b3761e0b2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Setting and checking LOAJosé Bollo1-0/+50
Change-Id: I02c3795c6e212491605861228eb60b731be78537 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18improves the build systemJosé Bollo2-3/+14
Change-Id: Idad84e88cd8c21d111ce7ed44340f6d2b0fccb37 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17event sender: better namingJosé Bollo1-1/+1
Change-Id: I82d918cd14b1e368ef509fa3a1b21c3e55a6b98d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17improves plugin interfaceJosé Bollo3-18/+24
This commit improves the names and the organisation of the plugin interface for the developpers. Change-Id: Iaf191efbf8fd5d248884304b648258f0770ec5f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17provides developper filesJosé Bollo3-3/+3
Change-Id: I0e41a0db778c69b5f5ce71115d495b2bb8b4cffe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13cleaning copyrightsJosé Bollo3-3/+3
Change-Id: I4ff7349b1a87f92a7d9f378c715054061f06df57 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13new verbose and clean upJosé Bollo1-1/+1
Change-Id: I5217b216d706fd0286c8754e966bca3965d4ea62 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13implements the example for file uploadingJosé Bollo1-1/+5
Change-Id: I3171edbb702eecde401a218f8a56cc365aeaadbb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10explicit use of json-cJosé Bollo3-3/+3
Change-Id: Iebf7309255d1285a5833c5490d32f518a9232ede Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21manages reference counting for eventsJosé Bollo1-1/+1
Events are sent to an unknown count of receivers. For this reason, the function push should not consume the json object given. Change-Id: Ie6c60074bd3822e7107d670f905cc86f56f826bf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19initial event handlerJosé Bollo1-4/+14
Change-Id: Idb92d6de9904d050b37ef0a5d664e82573ff640d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19refactoring context handlingJosé Bollo1-36/+6
Change-Id: I0e5a900efbd94b66f309ff4d0d49a6406585203f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19prepares event propagationJosé Bollo3-3/+0
Change-Id: Ib824c6dea1837cc1cbb70a2c82363c9b0a0517d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-18changing the license to apache 2José Bollo3-30/+27
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08refactoring req interfaceJosé Bollo2-39/+4
Change-Id: I6fc9246099c34f62c82e060cf014a63b0e8f63d8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07minorJosé Bollo1-6/+6
Change-Id: I25e8fd32146af4c1986d25dd9dbf4085c06400b7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07fix file postingJosé Bollo2-2/+4
Change-Id: If7e0aa3122af3a308a8441b518021f8a5cbe9473 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07improves file handlingJosé Bollo2-36/+17
Change-Id: I285cb6333d939a8afed07d8388d1d7850e50fe28 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06upload of filesJosé Bollo2-80/+73
Change-Id: Ifbe226ddc11f67223b4215db66af1ad1108a11f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06make a sigv even in releaseJosé Bollo1-6/+1
Change-Id: Id54965016abbe749121c43ec675c6aeb06f5610e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05fix context valuesJosé Bollo1-3/+3
Change-Id: I8a904fe7e0e895854729ae852b63c090f6c5bb5f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-04work in progress, session handlingJosé Bollo2-6/+6
Change-Id: I0393346280825e24a34e8db386160d857723b841 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo2-65/+93
Change-Id: I1c4b48bc56a17b7351b57c3d4da53bd89465fff4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo1-7/+11
Change-Id: I01f72892530bb4ef14a7216a112812026a367bfa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progressJosé Bollo2-15/+21
Change-Id: I3df95def03bb26ca4d1a52f7cd94b0fb67375d4c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31refactoring (in progress, tbf)José Bollo1-5/+5
Change-Id: Id9a98da85bb838b9401dad48a6652207ab4db191 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31refactoring (in progress, tbf)José Bollo2-16/+6
Change-Id: I8f2684a38d0894d827510d9a171ee6d5c39fb55e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactoringJosé Bollo3-13/+11
Change-Id: I8dd46cf7fa57962e20e02f0fe34b3ffaa4c94f08 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23several improvementsJosé Bollo1-0/+21
Change-Id: Id21bd735b7e1e24993ae93bc9f3634c0298d6f12 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-16Add warning detection and improveJosé Bollo2-2/+2
Change-Id: Id4fc86b86d55aac578d84b4d2357c1a2e600c58b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-26fixe getPostPath for afm-mail pluginFulup Ar Foll1-11/+6
2016-01-26Fixed Post File UploadFulup Ar Foll1-8/+4
2016-01-26GetPostPath OngoingFulup Ar Foll1-1/+1
2015-12-24Fixed Client Session Context by PluginFulup Ar Foll4-2/+153
2015-12-22New Session Model [compile but not tested]Fulup Ar Foll1-1/+2
2015-12-22Fix "no plugins" detection, rename HelloWorld APIManuel Bachmann1-1/+1
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-21Export getFileUpload to helper-api.cFulup Ar Foll1-9/+6
2015-12-21Merge origin/masterFulup Ar Foll1-0/+2
2015-12-21Hack --plugins=pathFulup Ar Foll1-103/+45
2015-12-21Fix Radio and Audio plugin symbolsManuel Bachmann1-0/+2
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-21FixeFulup Ar Foll1-1/+1
2015-12-21Switch to a plugin modelManuel Bachmann3-4/+15
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-21Post File Working in Most casesFulup Ar Foll2-68/+108
2015-12-17Remove Hashtable for session and cleanupFulup Ar Foll1-59/+3
2015-12-16Fix plugins loading, cleanup and dispatch Radio API codeManuel Bachmann1-3/+1
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16New tree organization, update CMake req. to 2.8.8.Manuel Bachmann2-0/+289
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>