Age | Commit message (Collapse) | Author | Files | Lines |
|
In Hal-Bt plugin, get bluetooth device 'hci' interface
from 'Path' key send by 'Bluetooth-Manager'.
As, the 'Path' key contains the whole path of the device, some string
manipulations are necessary ...
Change-Id: I320a41fb1589214b0ae6999e1c8b793c7cdd41a7
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Correct a typo in debug print of Hal-Bt plugin.
Change-Id: I2fd2731853f865fcfa09dbe06d6f495ad449ff98
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Prevent segfault when receiving 'get_connected_bt_a2dp_devices'
and 'get_selected_bt_a2dp_device' requests in Hal-Bt plugin.
Change-Id: I1eb5dcab997ae77d8adc3cf28585c2449ec42a2e
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
just ignore devices that do not have any UUIDs
Change-Id: Ic3cb25d8f8521e8f6c73afa173745a26e9c873ce
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Free forgotten application framework call sync json returned object
in Hal-Bt plugin.
Change-Id: Ic9680fd735154b21839fad93b4d13a7609009866
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Improve Hal-Bt print messages by changing the print level of messages,
by adding some messages, and by add information for
some existing messages.
Also improve response of requests.
Change-Id: Icf6dc9f4da1a2ee912dda2850464926c68f2eda6
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Consider an A2DP bluetooth device as connected only if
its seen as 'AVPConnected' by 'Bluetooth-Manager'.
Change-Id: I54511a193ebf64e35a7605723440f3a0fae2b2fd
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Hal-Bt plugin only keeps list of connected bluetooth A2DP devices
instead of a list of all connected bluetooth devices.
Change-Id: I6c06be78a927dcac32ed4683d44431514e7daf06
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Use correct file ('ctl-config.h') instead of (''ctl-plugin.h)
to include controller.
Change-Id: I93a1bcb5dab51211532fc59ffd979ea7acad1530
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Improve Hal-Bt plugin event catcher behaviour by :
- avoiding error generation when bluetooth device is changed.
- avoiding calling 'mixer' when the selected device is changed.
Change-Id: Ia7402f865551ff9df418269ac6927b66581bae9a
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Prevent Hal-Bt plugin from crashing 4A when 'Bluetooth-Manager' api
is not found.
Change-Id: Id8ecc3efcc36825abbb4a2bb8cf553327c45d173
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Correct an error in Hal-Bt plugin when calling 'mixer', response was
not correctly analyzed.
Change-Id: I719076c77501a9c6776559cd8acfcea033a26d1b
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
The plugin search paths are not needed because the default
(hard-coded) search paths are good.
Change-Id: Ibe286219ff9af535cb104e9a7a81e0a8d6479f4a
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Change-Id: I9daa5d665cd727cd26817645e4dd6b987e6f5b05
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
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.
Change-Id: Ia6b8436c627e8f58922677714ef7d7e0bb0df495
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of afb-helpers:
(f0ce5b6 - José Bollo) wrap-json: Fix duplicated lines in header file
(764c355 - Romain Forlot) Add '@' as binder middle name separator.
(74be4cc - Jonathan Aillet) Enhance 'wrap_json_clone_depth' description
(a37225f - Romain Forlot) Fix: use of GetBindingDirPath without dynapi
Change-Id: I9d9512342f02d847747a41e5509cb3d74d55214e
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
In hal bluetooth plugin, implement all call to softmixer used to
enable/disable bluetooth stream and to set bt streamed device.
Change-Id: I16f6fbf6a02f34490876d390883bdd040661647e
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Get hal data in hal-bt plugin.
It will be used, for example, to get softmixer call information.
Change-Id: I3cb2fd8d2f3f656fb4a796e13c1f62e751675861
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Test afb require on 'Bluetooth-Manager' result at hal-bt plugin
load before keep going with plugin hal-bt load actions.
Change-Id: I19983d12ad6634acafc6cc32d96dbae554c70245
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Add handling of bluetoothg hci and bluetooth profile when keep bluetooth
connected devices up to date.
Change-Id: I49b3e67136168bcae711eb8f7ffb2e1ccdbad3ae
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Correct typo.
Remove an unnecessary message print.
Update returned error code.
Change-Id: If52965b8c7158dfd17bbba411d6dc2c4aafe970a
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Force launched hals initialization before ending
hal-manager initialization.
This way, external api requiring 'hal-manager' will be sure that all
launched hals are initialized.
Change-Id: I00b9b14da623828d7cf7bc507873ad6de8ba2391
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Decrease level of a message printed in event catcher
to avoid polluting debug logs.
Change-Id: Id222ddc958f9550da19507537944319888bac016
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Now specifies the device, in addition of the card path.
Also fixes the volume control name that has changed on
the board for some reason.
Change-Id: Ibb217c834addcb8f51195cfec75779928ae61a91
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Changes of app-controller:
(d6eb01e - Romain Forlot) Change loading configuration object behavior
(c3a70d7 - CorentinLGS) app-controller-submodule doc: Changed doc to fit new format.
(82820f4 - Romain Forlot) Fix: compatibility with binder FF.RC4
(02bbf59 - Romain Forlot) Fix: Wrong variable definition
(bdf1a6b - Thierry Bultel) ctl-lua: Fixed memory corruption
(4386ec5 - Romain Forlot) Migration to v3
(789a8ae - Romain Forlot) Adds v3 function to get binding settings
(3891dcc - Romain Forlot) New function returning the binding root directory
(e7132f1 - Romain Forlot) Change the default GLOB pattern
(36ed31c - Romain Forlot) Fix wrong computed length
(29307ea - Romain Forlot) Add path to the installed widget path.
(191292f - CorentinLGS) Controller: Converted README to a gitbook version.
(4e30eb1 - Romain Forlot) New defaults useful functions on lua table
(61cbc9a - Romain Forlot) More precise log message when loading a Lua file
(535df7f - Romain Forlot) Fix: wrong legacy function signature
(b79a761 - Romain Forlot) Split loading JSON controller file.
(c3d7de2 - Romain Forlot) Release arguments once C function returned.
(a58d83b - Romain Forlot) Fix : typo introduced in a previous commit.
(86f65bd - 8000ff) Fixed character counting that was shortening paths
(e32d98c - Jonathan Aillet) Keep json unmodified during action execution
Change-Id: I595f4e3db7dc1b6426875c60e5ba9b493c7651f7
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Add first version of a hal plugin that will handle hal that
wants bluetooth as an audio device.
Change-Id: I4f5628ef9688c417b1b443fc3c4948cb23c17214
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Remove unnecessary 'struct' before json_object.
Change-Id: Id5106c87780ebbf1eff8bd3754d59e1184e37216
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Correct an error when unpacking alsacore event subscription response.
Change-Id: I39d331303d99363c36444fa642e8cb4ca16e84d8
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Functions can now returns a -int ...
Change-Id: If2732bfc8fdc2566da520fcb104b9a595ac2caa6
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Bug-AGL: SPEC-1610
Change-Id: I331bd239e8394025367d25c3e51da4c64a16abab
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Correct 'volume' control in Minnowboard hal.
Change-Id: Ib9b08aec5d4ead4258510544e7a8decf0ae3f65a
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Add Raspberry Pi 3 HAL into community references hal directory.
Change-Id: I86291d46fc4c0455069f5c8839c117b3617c5dde
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Correct print when attach to mixer results in an call sync error.
Change-Id: Id0c06d2c449d2b3dd56822674f496e0f52c31c27
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of conf.d/app-templates:
(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
Change-Id: I2d4faece3aec4c882c301286f2aadf2d6bf101e5
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of app-controller:
(88892db - Romain Forlot) Use prefix variable to find controller's plugins
Change-Id: I567fa283c1447a2ca332056a5464e55f9bf53921
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of afb-helpers:
(4f99d16 - Romain Forlot) Retrieve directory list from environment variables
(f46a0dc - Jose Bollo) Remove the file .gitmodules
Change-Id: I5059e2af65489ddca0c2f844f458512d6b41951c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Remove trailing white spaces in radio configuration file.
Normalize indentation in radio configuration json file.
Change-Id: I4590fec9653ecd1fa0e8f4c7366827ad60326e3c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
This files is an example on how to make the softmixer
directly read from a capture device.
In that particular example, the capture is the radio
capture of the kingfisher board, and the playback is
the ak4613 codecs.
The stream rate and format must match the capture capablities.
Change-Id: Id9796f73299a83822bb80878db6517cadf8001b6
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Update binding entry to became compatible with application framework v3
(used since AGL FF-RC1 release)
Change-Id: Ib51e4a41629b73e849f56c6d0987955a373f1e59
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Bump 'afb-helpers' and 'app-controller' submodules.
Set binding api version directly in top cmake of '4a-hal-generic'
repository (that became mandatory with submodules updates).
Change-Id: I05de046c6435296bc1ea73eba6e12e3b34b4afad
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of app-controller:
(67b6d49 - Clément Bénier) ctl-lua: typo fix
(bac7d6d - Clément Bénier) asynchronism for test: LockWait added
(4a72073 - Romain Forlot) Fix: plugin api assignement order
Change-Id: I0499febe1e253b3994460e578d8e705243582ac5
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Add hal for intel qemu audio configuration since QEMU '/dev/snd/...'
entry is not the same for a qemu audio device than for
generic intel device.
Bug-AGL: SPEC-1558
Change-Id: Id258a649811c603d7973e48f8bcbd81500e9a5fa
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Simplify ping verb call print output to avoid any issues in relation
with app-framework binder version.
Change-Id: I538498c98c458e67e8d98d455def12935c16f830
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Same for CONTROL_PLUGIN_PATH with .../plugins and CONTROL_LUA_PATH
pointing to .../lua
This solves the issue when search for HAL files located in alternate
folders like etc.available or somewhere else in the package dir.
Change-Id: Ia35fe15f06665a58be8873e62fae0097ecd58971
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Changes of conf.d/app-templates:
(eec9f07 - Romain Forlot) Fix: SYSROOT location detection... Wrong test.
Change-Id: I38ba2df5b7aa9ac0987bab5e40c3ae055d5a1b17
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
All hal that shouldn't be enable for the target will be disable using
a recipe in yocto.
4a-hal-generic shouldn't take care of enabling/disabling hals.
Change-Id: I38363fb7933ed73d7a4e855949ae9dd521db2862
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of conf.d/app-templates:
(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
(e400fb3 - Sebastien Douheret) Fixed spelling.
Also, corrects warnings that appeared with this bump.
Change-Id: Iec94bb4f49a6ce2b6cdb32154dc47ef7a31c614c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of app-controller:
(e45d063 - Romain Forlot) Execute ConfigExec only if section is existing
(2d1c3d2 - Romain Forlot) Always set the api member even if NULL.
(9622138 - Romain Forlot) Ability to add a plugin after the initial load
Change-Id: Ic7ad650e6d30af71f8ed3760634e2b14c6507f1d
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of afb-helpers:
(5811a53 - Jonathan Aillet) At search, use the prefix parameter as a prefix
(2c29f15 - Loïc Collignon) Remove deprecated use of cmake/Qt macro
(5bec8c5 - Loïc Collignon) Rename method to avoid conflict with Qt's one
(43ec971 - Sebastien Douheret) Fix warnings due to json-c evolution
(9a1f7ea - jobol) wrap-json: new helper functions for comparison
(c7cd527 - Sebastien Douheret) Removed anonymous function in ScanDir and fixed warnings
(98c64ea - José Bollo) wrap-json: Add clone facility
(5ae2a7a - Sebastien Douheret) Disabled debug code (only used for testing).
Change-Id: Ifea25d4f54b28a374e3add98a516ddf09b73bfa1
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Changes of app-controller:
(0f3063b - Romain Forlot) Be able to dispatch required api at the wanted time
(1ff524b - Romain Forlot) Change LUA package path at LUA interpreter load
(738ae54 - Romain Forlot) Don't load two times a plugin even for LUA
(c04f029 - Sebastien Douheret) Fixed hidden bound variable (apiHandle)
(cfe3919 - Sebastien Douheret) Fixed null value when push Lua arguments
(69c0585 - José Bollo) Adjust to compile with incoming bindings v3
(d7e260c - José Bollo) Remove declaration to not existing functions
(8ac6625 - Romain Forlot) Add 2 lua utilities function
(d3504bb - Jonathan Aillet) Update README.md for new metadata keys.
Change-Id: Iee42482b7a6834977497c27fe634cee9a5f96e0c
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|