summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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