/Android-BLE-Connect

Connection between Android and BLE (eg. MI Band 2)

Primary LanguageKotlinApache License 2.0Apache-2.0

Android Sample Application to connect BLE device

Preview

img

This is Sample Application to connect between Android and Bluetooth Low Energy Device. I used Service which is Android Component for constant interaction with BLE device.

  1. Connect to the paired BLE device

    The wearable device type of this application is preset as MI Band 2. You can change device name to test other BLE device in HERE.

  2. Get the value of wearable device.

    You can access to heart rate through UUID.


Diagram

img


Reference Site


License

Copyright 2020 Seulgi Kim

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.