[Interest] ANCS example

2016-06-09 Thread Marco Trapanese
Hello! I'm wondering if there is any Qt example how to subscribing from a device to an iPhone's notifications using BLE. The platform is a Raspberry Pi 3 with raspbian, and Qt5.6. Or at least some guidelines to understand what I need to do! Thanks!

[Interest] Accept (or reject) incoming pairing requests

2016-07-19 Thread Marco Trapanese
Hello, using the requestPairing() method of QBluetoothLocalDevice I can actually request a pairing to a discovered device. How to do the opposite? i.e. when is the phone that discovers me and requests the pairing? Thanks Marco

[Interest] Weird behavior with QMediaPlayer and A2DP

2016-07-20 Thread Marco Trapanese
Hello, with Qt5.7.0 on RPi3 and Rasbian Jessie (kernel 4.4.11-v7+) if I have a running A2DP connection and I play something with QMediaPlayer the A2DP streaming appears to stop when the media ends. In fact it's just muted... playing something else, leads to resume A2DP audio when it ends.

[Interest] HFP handling

2016-07-17 Thread Marco Trapanese
Hello, is there any example to show how to handle HFP communication within Qt5.7? I'm interested in basic stuff: - wait for incoming calls - answer or reject - retrieve phonebook contacts - make a call There are some python scripts out there,

Re: [Interest] QQmlApplicationEngine::load hangs

2016-09-01 Thread Marco Trapanese
Il 27/08/2016 17:26, Thiago Macieira ha scritto: If a power cycle is required, then the main issue is not a Qt bug. It's either a hardware problem or a driver problem. There may be a minor Qt bug that causes the driver to make something even worse. But the

[Interest] Memory consumption when starting QML application

2016-09-04 Thread Marco Trapanese
I have a QML application which often hangs during launch. I found the GPU memory usage has a very high peak when my application starts. Then it returns to a reasonable value. If this "peak" is so high to use all the available memory my application (of course!)

Re: [Interest] Memory consumption when starting QML application

2016-09-04 Thread Marco Trapanese
Il 04/09/2016 12:57, Nils Jeisecke ha scritto: Hi! I don't think this is a general problem. I've seen this behaviour when for example using a repeater on a filter model. If initially no filter is set, the repeater will happily instantiate delegates for every

[Interest] Best approach for html5 application

2016-09-18 Thread Marco Trapanese
Hello, I've already developed several web-based application using Qt5 as engine for data processing. The webpages are accessed from remote terminal, often from smartphones. Here my current approach: - on the server machine (often a small SBC) I run any http server, i.e. lighttpd - I develop

Re: [Interest] Qt5.7 BLE advertising, contents added twice

2016-08-27 Thread Marco Trapanese
Il 26/08/2016 17:39, Christian Kandeler ha scritto: advertisingData.setDiscoverability(QLowEnergyAdvertisingData::DiscoverabilityGeneral); This information takes one byte plus two bytes of meta data. You have 28

[Interest] QQmlApplicationEngine::load hangs

2016-08-27 Thread Marco Trapanese
I'm facing a weird issue I cannot always replicate. QtCreator 3.6.1, Qt5.7, host machine: Debian Jessie x86, target machine: RPi3 running Raspian Jessie Lite. I remotely deploy and start the application through ssh (inside QtCreator). I'm working on this project

[Interest] Qt5.7 BLE advertising, contents added twice

2016-08-26 Thread Marco Trapanese
Hello! With Qt5.7 under Linux Debian (kernel 4.4.11-v7+, bluez 5.40) I set up my own GATT server. In my code I set up the advertising packet in this way: QLowEnergyAdvertisingData advertisingData; advertisingData.setDiscoverability(QLowEnergyAdvertisingData::DiscoverabilityGeneral);

[Interest] Duration property of PropertyAnimation

2018-07-03 Thread Marco Trapanese
Hi to all, I'm working on a project that use Qt 5.9.2 on RPi3B+, with eglfs platform. Here a full working code: import QtQuick 2.9 import QtQuick.Window 2.3 Window {     visible: true     property real _degree: 0     property real _time: 50     Component.onCompleted: move()     function