summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-09Change .gitmodules following submodule migrationhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.17.90.06.99.46.99.36.99.26.99.1Frederic Marec1-3/+0
Remove app-template in .gitmodules Remove .gitmodules Remove conf.d/app-templates Change-Id: I5054e3b97b9e19e04db5dc0847d7f6988a5f122f Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-09Improve iiodevices testFrederic Marec5-97/+137
ADD $SUDO variable to be able to run test natively and on target ADD afterall script to remove dummy devices ADD new tests Remove test/afb-test.sh following new afm-test process Change-Id: Ib04e21f23518e8836c7bec00999f15f5d8212ae9 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-10-31Migrate app-templates to CMake moduleRomain Forlot2-4/+7
Bug-AGL SPEC-1682 Change-Id: I707b8d6a9aee0a1bce8b3bad17d4a07d981a0c3a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-12iiodevices: add afb_req_failClément Bénier1-4/+16
add afb_req_fail when a request is not desired Change-Id: Ifacf7203cf503229689db195c7844a73a4b1de13 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-10-12set_channel: no next channel when it doesn't existClément Bénier2-3/+23
in set_channel, when channel does not exist, next_channel has to be set to NULL Change-Id: I512691126200b2a1cc5041b1d2855087b8da1895 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-10-09Use feature 'required-binding'Jose Bollo1-1/+1
The feature "urn:AGL:widget:required-binding" is now preferred to the feature "urn:AGL:widget:required-api" for requiring a local binding. Bug-AGL: SPEC-1800 Change-Id: I81f2b8531ce91954726687c8384a0ed748f48442 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-10-04Add tests for iiodevice bindingFrederic Marec8-16/+218
Add test for accelerometer, compass and gyroscope Add script beforeAll.sh to initiate iio dummy devices Add Readme.md to describe how to use test Fix BUILD_TYPE in cmake.config Change-Id: I39edfce6a43b519c0ff6bc0a7d2f1d2477098cff Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-09-14Init test directory for iiodevicesFrederic Marec8-0/+221
Change-Id: I8b76687cfff4824d1d83a7f77336a136fa79b9d6 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-09-13Update version of conf.d/app-templates submodule.Frederic Marec1-0/+0
Changes of conf.d/app-templates: (76e12e7 - CorentinLGS) app-templates doc: Changed doc to fit new format. (02f45f1 - Romain Forlot) Update Docs (52ae181 - Romain Forlot) Fix: typo (f0b24b0 - Romain Forlot) Rollback about TEST build type (e841a77 - Romain Forlot) Adding a TEST build type (994ebc1 - Romain Forlot) Change default compilation options. (85d5ffd - Romain Forlot) Test widget only if there are test materials (d14bdce - Romain Forlot) Handles more test LABELS. (70cf8fd - Romain Forlot) Missing flag for COVERAGE build type (3c99b8a - Romain Forlot) Create a test widget (9c1a0fb - Romain Forlot) Fix: interpreted '&' character (9202fac - Romain Forlot) More accurate comment about widget template file. (f94e45e - Romain Forlot) Align sample on actual default compile options (d0acc2a - Romain Forlot) Add support to binding version 3. (6fb3846 - Romain Forlot) Warning if not using wgtpkg-pack to make a widget (35f3af1 - Sebastien Douheret) Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var (332f377 - Romain Forlot) Be able to overwrite BUILD_TYPE using CLI (1ec7531 - Romain Forlot) Use CACHE variable for other common CMAKE variable (0880356 - Romain Forlot) Fix:: wrong wgt using RELEASE BUILD TYPE (eec9f07 - Romain Forlot) Fix: SYSROOT location detection... Wrong test. (291aa4e - Romain Forlot) Change the default debug compilation options. (22a2cbf - Romain Forlot) Clearer coverage compilation options configuration (aa68dbd - Romain Forlot) Don't overwrite the autobuild script if it exists (a13e7b9 - Romain Forlot) Disable the in-tree build method. (51026d2 - Romain Forlot) Detect Yocto as OS distribution (1f2944e - Romain Forlot) Fix: wrong compile options added (92646f6 - Romain Forlot) Fallback using zip format if no wgtpkg-pack found (f65761c - José Bollo) 02-variables.cmake: Avoid checking CXX version if not required (3965d37 - José Bollo) config.cmake.sample: Remove dependency to libsystemd (a45ae0c - José Bollo) config.cmake.sample: Remove dependency to libmicrohttpd (9b17efe - Thierry Bultel) Added -D_FORTIFY_SOURCE=2 to CFLAGS (66f7bc8 - Thierry Bultel) start-on-target: uses RSYNC_PREFIX path for config Change-Id: I97d8dd43f93444688b1803410a26bc102e581c9e Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-06-29README: add client demo example and fix some spellingsguppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder_5.99.1flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.2flounder/5.99.16.90.05.99.65.99.55.99.45.99.35.99.25.99.1test-iiodevicesClément Bénier1-3/+41
Change-Id: Iba5fb857ae7e87aa8e2f142495e894aa634229b7 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-29config.xml.in: fix provided-api to iiodevicesClément Bénier1-1/+1
Change-Id: Ia34f61677561a37fe0d01feb6475d74f90190ad8 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-29Merge "Remove useless code and declare iio_infos in C code"Jan-Simon Moeller3-14/+14
2018-06-28Merge "config.cmake: fix WIDGET_ENTRY_POINT to right library called ↵Jan-Simon Moeller1-1/+1
iiodevices-binding.so"
2018-06-29Remove useless code and declare iio_infos in C codeClément Bénier3-14/+14
- Remove treat_iio_infos function that is no used at all in source code. - it's really not a good idea to define static variable in header file (causing redefinition each time header file is included), so move static definition of iio_infos in C code. Change-Id: I66c6c5593c9d10581b49ce5f2a9b2f4952584259 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh> Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-28Merge changes from topic 'iio'Jan-Simon Moeller2-1/+10
* changes: Add git ignore file/dir list Add missing afb-daemon dependency
2018-06-28README: fix spelling mistakesClément Bénier1-10/+10
spelling mistakes remove channel static info in remaining issues Change-Id: Ia834d6fb7de44e28f03064a375d77212810d74f3 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-27config.cmake: fix WIDGET_ENTRY_POINT to right library called ↵Clément Bénier1-1/+1
iiodevices-binding.so Change-Id: I68a4c2d3f3b8c72cd152bc3e411aaf84f5d45705 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-27Add git ignore file/dir listSebastien Douheret1-0/+8
Change-Id: I2853507d7215dc2531f9718b52bafe881393769a Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-25Add missing afb-daemon dependencySebastien Douheret1-1/+2
Change-Id: I8c417fd6cf6e8946ddbb649b55bb56c063f056e6 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-22string copy: use n copy(snprintf, strncpy)cle©mentbeénier2-14/+16
Change-Id: Ie543eb9628d2632427dd2d6ca215c92358d5920e Signed-off-by: cle©mentbeénier <clement.benier@iot.bzh>
2018-06-21gitreview: update it to iiodevicesclement benier1-1/+1
Change-Id: I8d699d8d0126d88eb9892e99430bf953456acb4f Signed-off-by: clement benier <clement.benier@iot.bzh>
2018-06-21read static infos: improve read static infos for channelsclement benier1-15/+53
gather all same static infos and add suffix for different values between channels. Change-Id: I48d3b01667b829411efa39405347d6e396211431 Signed-off-by: clement benier <clement.benier@iot.bzh>
2018-06-21add client_sub structure: split channel_fd structure into channel and client_subclement benier2-240/+254
Change-Id: I1bd0cea12128ac3d78d6f4c4ee472cd74e69469d Signed-off-by: clement benier <clement.benier@iot.bzh>
2018-06-21context_set vs uid: remove json key uid and set context for afb_reqclement benier2-44/+19
Remove the uid json argument and using afb_req_context_set/get to identify client session. Change-Id: Ib57f4443d20f4ee7cec9db17b6c6b81d6ca0e24c Signed-off-by: clement benier <clement.benier@iot.bzh>
2018-06-21config.cmake: set project infosclement benier1-5/+5
Change-Id: Icd0607abfa205ea0382eac78f70e76c87c0e9147 Signed-off-by: clement benier <clement.benier@iot.bzh>
2018-06-21README: updateclement benier1-59/+26
Change-Id: If4abd319aa466abaa1bca067bdd1f709152215ff Signed-off-by: clement benier <clement.benier@iot.bzh>
2018-06-21binding iiodevices: handles 3 iiodevicesClément Bénier8-184/+679
handle accel, magn et anglvel iiodevices args key indicates the desired coordinates at subcription frequency can be also specified at subscription Example for subscription: - iiodevices subscribe { "event": "accel", "uid": "1", "args": "xyz", "frequency": "0.1" } - iiodevices subscribe { "event": "magn", "uid": "1", "args": "xz", "frequency": "0.1" } Change-Id: I7f300f56b5d69506434f31fbb6e552c7afdf7489 Signed-off-by: Clément Bénier <clement.benier@iot.bzh> Signed-off-by: clement benier <clement.benier@iot.bzh>
2018-06-21initial commit: draft work in progressClément Bénier13-0/+1009
Change-Id: I8c0c17c66a484df9bc152046466d80224cf65498 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-19Initial empty repositoryJan-Simon Moeller0-0/+0