Age | Commit message (Collapse) | Author | Files | Lines |
|
- 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>
|
|
Change-Id: Ie543eb9628d2632427dd2d6ca215c92358d5920e
Signed-off-by: cle©mentbeénier <clement.benier@iot.bzh>
|
|
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>
|
|
Change-Id: I1bd0cea12128ac3d78d6f4c4ee472cd74e69469d
Signed-off-by: clement benier <clement.benier@iot.bzh>
|
|
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>
|
|
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>
|