Age | Commit message (Collapse) | Author | Files | Lines |
|
To avoid memory leaks g_variant_unref() needs to be called on
dbus replies.
Bug-AGL: SPEC-2361
Change-Id: Ie8db961f182e77fe5a36c91acddff1e549e7f60a
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Use the BLUEZ_AT_DEVICE macro instead of explicit string
references.
Bug-AGL: SPEC-2361
Change-Id: Icddf5914433123e65d2a7d40629bab362b60c1c1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Remove function prototype from bluetooth-common.h for the deleted
bluetooth-rfkill.c source file.
Change-Id: I2bc9e789868a01a0b62643b6406970c436308567
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
In order to upgrade to future versions easier don't use versioned
structs but the respective typedefs
Change-Id: Ic789dc7c74e0a2a1352effa1cfeea4998cbc56f3
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Report back property changes in the adapter_changes event, which is
required for detecting when an adapter is truly powered on.
Bug-AGL: SPEC-2295
Change-Id: I58441369277d2e778f2bb077e7b1be4aa3a3b1b4
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Previously org.bluez.MediaPlayer1 paths could only resolve to player0 but certain
phones request another instance for another application (e.g. player1).
This patchset changes the default media player path to last connected, and which
in theory should be from the media application in use on the phone. From limited
experiments not in use interfaces will be reaped shortly after going idle.
Bug-AGL: SPEC-2281
Change-Id: Id4bdc89cd395d5cd3ac043394761a95b306e5c6d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
|
|
- bring latest version of autobuild script in
- move conf.d/autobuild to root folder
- update autobuild script to fix warnings triggered by
cp operation error.
Change-Id: I1e5f09cda1254e7ec9afd27e70ef97162189fda6
Bug-AGL: SPEC-2164
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
adapter_changes event allows clients to know when an adapter's status changes
as in addition or removal.
Bug-AGL: SPEC-1763
Change-Id: I7a442ece7cf6b508d6290130a939fccc1bddebb9
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-2047
Change-Id: I55a080af35dad1514ee0423eff80e65331891bc7
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Remove bluetooth-rfkill.c and replace with agl-service-network calls
which in turn allows ConnMan to correctly manage bluetooth rfkill state.
Bug-AGL: SPEC-2124
Change-Id: Ibe0460be0f29957f99ea06975a1fa12d01840080
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Fix avrcp_controls verb markdown header to correct number
Change-Id: I5b2599c16ea74ab98ce6cf8bca5c2b45cada1bc4
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Allow clients to select what Bluetooth transport they want a discovery
scan to attempt to detect. This will improve scanning in for example
when a client only wants to detect bredr or ble devices .
Bug-AGL: SPEC-2094
Change-Id: I2a983f5243aefcb582a7476bbae34d6ba88c39a6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
There is sometimes when you don't want AFB_ERROR to be displayed on a dbus
failure. Example would be in the initial autoconnect attempt on binding startup.
Don't display the AFB_ERROR if error pointer that is passed is NULL
Bug-AGL: SPEC-1630 SPEC-1986
Change-Id: I2bc1e8575037a8e84721d2c2c369a409986eda43
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Fix logic check and run g_variant_unref() on reply of dbus call
Bug-AGL: SPEC-1630
Change-Id: I7e89031d8cad64c3303227c0ec7fd85a6c85f0c3
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
To allow initial reporting of MediaTransport1 of audio transports
add them to the managed_objects verb.
Bug-AGL: SPEC-1630 SPEC-1986
Change-Id: Icc09ae063e5dfc52e5396b9ea7149178b1d8aaac
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-1630
Change-Id: I6ad1f85d4edc00239f891edf6994db416e8a2dbd
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Allow setting of default adapter for use by other verbs within
the binding. This allows to select an adapter on boards with more than one.
Bug-AGL: SPEC-1630
Change-Id: Iec77b0abaa9f4c092dc5c827522efb1744953fce
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Allow subscribers to connect/disconnect to a2dp/avrcp Bluetoothp profiles
Bug-AGL: SPEC-1630
Change-Id: I5c4c2a2f06636b2b74cb453a3af576beb8026ab1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-1630
Change-Id: I161c1033f3357a1049a133c4f7382d5bafb25c37
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Report back MediaPlayer1 interface events for A2DP media playback
Bug-AGL: SPEC-1630
Change-Id: I777f19af2de247fe676d5bede4bacbbad8ca9844
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Since MediaPlayer1 controls are part of bluez it makes sense
to keep them here for now
Bug-AGL: SPEC-1630
Change-Id: Ia02341179a322082357b0e7eff07264e34197d57
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Attempt connection on each paired device till one is successful
on startup.
Bug-AGL: SPEC-1630
Change-Id: I213876f65528d0eaeaa5b55a745f541b286f26b5
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-1630
Change-Id: I615cbf19d180556b0650dbf6b5ba48848be49f97
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Don't send adapter name in 'device' parameter on removal of
bluetooth interface.
Bug-AGL: SPEC-1630
Change-Id: I15cb4dcc791d36beb8e8b41993644cad331d3cae
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Validate device input to filter out special characters being sent that
may cause the dbus call to hang or segfault.
Bug-AGL: SPEC-1630
Change-Id: I31aa458154c030181b905b7ccc9d6a8aa0f84ef0
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-1630
Change-Id: Iae18f069b7a8091331efda97a270b70d05de3e79
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Allow clients to request devices only with certain profile UUIDs to be
displayed in an discovery scan. This allows to filter out things like
location tokens, smart scales, and etc which can't possibly have a2dp
or hfp profiles for instance.
NOTE: This is a write only setting. In the future should be read/write
to see current discovery filters.
Bug-AGL: SPEC-1630
Change-Id: Ic8b18656f84ac8047b170d6e601fcc2e63786af0
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-1630
Change-Id: I7e76a5a6e5ea49b331068d4cb21fd97e5d1287e6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-1630
Change-Id: I8e55d273ab58992e6f6327523853c6d330505278
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Concatenate adapter and device parameters to return a bluez path for
usage within the binding's dbus calls.
Bug-AGL: SPEC-1630
Change-Id: I4c96fa48baaf12b23aac98ba35f1ca82f7005bcb
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
segfaults can happen if the dbus call reply fails but doesn't set a
GError.
Bug-AGL: SPEC-1630
Change-Id: I83ea2f7997a8fcef1cdd73a7df2cf9ad97e00d91
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
To allow this binding API to be bluetooth stack agnostic remove pure
bluez paths, and replace with generic fields.
Bug-AGL: SPEC-1630
Change-Id: Iadba73782b6339df2ca5937e16a654e7ef3e477b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Possible to have an PropertiesChanged events that produces no changes
that are useful to report.
Bug-AGL: SPEC-1630
Change-Id: I09b25943e3676abd5dd0f1c8caa2c0a2414f409f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Report API as 2.0 to middleware + application clients
Bug-AGL: SPEC-1630
Change-Id: I4ce889a06a0cd287af2d08068a59bbc7d359c20b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-1630
Change-Id: I33cfec70283fa29f47b76f9e6be3e8e6cd6a2f54
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL SPEC-1682
Change-Id: I2fa1714779391e1a22b5cf527bd8741ba28c9f2b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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: If4dcde74d1d51ca1c4997fc571dbc84986fd7113
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Since homescreen now uses libqtappfw to set the Bluetooth status icon, and
no longer uses dbus the setHMIStatus function can be removed.
Change-Id: I9155a4eb9b380c034deca6402de43bf785b323cd
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Due to ofono code removal the HFPConnected status wasn't being reported to
clients that depended on it. Ideally this needs to be in agl-service-telephony
binding, but till then just report HFP as 'connected' if both device is connected
and has the HFP UUID in the advertised services.
Bug-AGL: SPEC-1765
Change-Id: I6a1c5afe1d89a6ac6a4e84b07777d04368a4e772
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Add version verb to allow middleware and application to know which verb
schema to use in the future.
Bug-AGL: SPEC-1736
Change-Id: Ie18871836b86cd5fed54e44ddf957e34d8e1b606
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Allow subscribers to get the respective devices adapter from
a BlueZ path
Bug-AGL: SPEC-1720
Change-Id: Ie7fc43558d386bb010f34e64e967c0bf0f054b45
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Provide complete path to BlueZ object from dbus so clients can deduce which
adapter is being used for that paired device.
Change-Id: Ic26c028eaec4cb7f85739d248e21773214c83d3a
Bug-AGL: SPEC-1720
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Request for the binding to be the default agent, so phones can initiate
pairing exchanges versus just the Settings UI
Change-Id: I74844383022774ce713ab55796761f6060a843ba
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
clean up current bluetooth binding with removing unused code
Change-Id: I3bd5f05dcbde4285abcb60042d89b19ec0f2f01e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
qmake is no longer used to build the binding so remove pro file
Change-Id: I0ca1f76c6a40354b1ee31ba2e705f57bad9baecd
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Change-Id: Iddf7d0ae298b2e94c35199b1444d344dc0703a5a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Put the json array into a single entry map to make it consistant with
other binding APIs and verbs. This also makes libqtappfw access for
response data much easier
Bug-AGL: SPEC-1385
Change-Id: I2eeb6ead1e386503a765dc1e252c969bb647eeee
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
To avoid corrupting syntax in project we need to add an per project
.vimrc to signal formatting. You must enable in user home directory
.vimrc with 'set exrc' and 'set secure' lines
Bug-AGL: SPEC-1387
Change-Id: I2b1162aac5ae359ded2ceabef8f62316d12e5228
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
AFB_SESSION_NONE is defined as zero so it doesn't need to be
explicitly set.
Change-Id: I63e072d211b1f21c294966144dd2d8ef025eaeed
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|