LeandroSQ / android-ble-made-easy

An Android Library for handling Bluetooth Low Energy on Android Easy
MIT License
88 stars 29 forks source link

Added MTU request method #26

Closed valexi7 closed 1 year ago

valexi7 commented 1 year ago

I added a method to request MTU change discussed in issue: MTU size request #25

Usage: connection?.requestMTU(512)

Usage: connection?.readRSSI()

LeandroSQ commented 1 year ago

Hello, thank you for your PR :) I appreciate it, sorry for the delay, life has been crazy.

Is it possible to remove the files not associated with the change from this PR? e.g .idea folder, or the gradle files.

karansingla007 commented 1 year ago

@LeandroSQ when will you merge this branch? I think when I get large-size data from the BLE device then it disconnected from the Android device.

valexi7 commented 1 year ago

@LeandroSQ when will you merge this branch? I think when I get large-size data from the BLE device then it disconnected from the Android device.

Hi, In the meantime you can use this: https://jitpack.io/#valexi7/android-ble-made-easy

karansingla007 commented 1 year ago

@valexi7 this is I am getting

image

LeandroSQ commented 1 year ago

Some files were deleted on this PR, I reverted the deletion and the most recent on this feature is feature/mtu branch. Will create another PR so we can put this into master and plan a new release.

Thank you @valexi7 for this contribution, I appreciate it.

karansingla007 commented 1 year ago

@LeandroSQ when are you planning to merge this branch into the main?

LeandroSQ commented 1 year ago

Yes, tracking on #26

valexi7 commented 1 year ago

@valexi7 this is I am getting

image

If you have Jitpack implementation it should work like this:

implementation 'com.github.valexi7:android-ble-made-easy:-SNAPSHOT'

karansingla007 commented 1 year ago

@valexi7 See this image