1 (edited by FedericoBusero 2018-11-29 19:23:17)

Topic: BLE doesn't work on Android if packet larger then 20 bytes

When using RemoteXY on Android using BLE communication, I found that in case the RemoteXY-struct is larger then 15 bytes, the app no longer works. This is related to the 20 bytes packet size of BLE.

Is this normal, or is the system designed to also support bigger structs?

2

Re: BLE doesn't work on Android if packet larger then 20 bytes

Hello. Which bluetooth module do you use? We do not have similar errors with HC-06, HC-06, HM-10 modules.

3

Re: BLE doesn't work on Android if packet larger then 20 bytes

Thanks. We were looking for a solution to this question.
In iOS xcode, there is a need to select write type, and it is .withoutResponse. iOS doesn't work without it.
The Android uses default value if not specify. This is value is different on different devices. Maybe it depends on the BLE module.
We will try to set the definite value .WRITE_TYPE_NO_RESPONSE
Can you send me your email that is used on Android device, I add you to tester list. You would test a new fixed version. Send to our email info@remotexy.com

4

Re: BLE doesn't work on Android if packet larger then 20 bytes

The bug has been fixed in release 4.4.3 for Android