[DUG] Bluetooth LE connection Problems
Tony Blomfield
tonyb at precepthealth.com
Fri Jul 3 09:53:28 NZST 2020
HI Ian. My email is tonyb at precepthealth.com<mailto:tonyb at precepthealth.com>.
Please report this bug.
I have not yet written an Android app, but am planning to do so in the near future. BTLE is important to me.
I'm also interested to make a Linux app for ARM A53. Do you have any experience with Linux on ARM?
Tony
From: delphi-bounces at listserver.123.net.nz [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Ian Fear
Sent: Thursday, 2 July 2020 11:46 PM
To: 'NZ Borland Developers Group - Delphi List' <delphi at listserver.123.net.nz>
Subject: Re: [DUG] Bluetooth LE connection Problems
Hi Tony
Have mucked around with firemonkey mostly seems OK once you get your head round the slightly different syntax etc
With BTLE for Android not sure if it has been well implemented seems to be missing a function RequestMTU which sets the data pack size for gatt Android
And as a result the default size of 23 is used (ios and win don't appear to have this issue)
Had to do an ugly hack to set this to 75 my packet size
Also not sure of the Issue about disconnecting etc
Regards
Ian
From: delphi-bounces at listserver.123.net.nz<mailto:delphi-bounces at listserver.123.net.nz> <delphi-bounces at listserver.123.net.nz<mailto:delphi-bounces at listserver.123.net.nz>> On Behalf Of Tony Blomfield
Sent: Thursday, 2 July 2020 10:31 PM
To: NZ Borland Developers Group - Delphi List <delphi at listserver.123.net.nz<mailto:delphi at listserver.123.net.nz>>
Subject: Re: [DUG] Bluetooth LE connection Problems
I know nothing but am keen to know more. At this point have not tried compiling for Android for BTLE, but Id be keen to have someone to talk to.
What is your overall impression of using Delphi for Android?
From: delphi-bounces at listserver.123.net.nz<mailto:delphi-bounces at listserver.123.net.nz> [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of David O'Brien
Sent: Thursday, 2 July 2020 7:55 PM
To: NZ Borland Developers Group - Delphi List <delphi at listserver.123.net.nz<mailto:delphi at listserver.123.net.nz>>
Subject: Re: [DUG] Bluetooth LE connection Problems
Sorry, Don't know anything about the equipment, sounds like you are receiving data, perhaps you need to ping it occasionally to keep the connection alive? My Boom 3 disconnects if it gets nothing incoming for a while...
From: delphi-bounces at listserver.123.net.nz<mailto:delphi-bounces at listserver.123.net.nz> <delphi-bounces at listserver.123.net.nz<mailto:delphi-bounces at listserver.123.net.nz>> On Behalf Of Ian Fear
Sent: Thursday, 2 July 2020 4:49 PM
To: delphi at listserver.123.net.nz<mailto:delphi at listserver.123.net.nz>
Subject: [DUG] Bluetooth LE connection Problems
using Delphi 10.4 have a BLE Connection on Android tablet to Gatt server on Industrial device
have two characteristics to subscribe to this works fine
but about every minute it disconnects at which point I Must reconnect
and resubscribe to the characteristics taking about 15 or so seconds
as my incoming data is every second this is quite unsatisfactory
Any Ideas on what I have done wrong or need to do to improve the situation greatly appreciated
the issue appears to be in the Delphi App as nRF Connect does not demonstrate this problem
any Ideas Help Greatly Appreciated
Regards
Ian Fear
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20200702/82fdab8e/attachment.html
More information about the Delphi
mailing list