1. Are you ready for the Galaxy S20? Here is everything we know so far!

Unknown characters "��" received via Bluetooth Low Energy in Android Studio

Discussion in 'Android Development' started by AdrienBoub, Nov 5, 2020.

  1. AdrienBoub

    AdrienBoub Lurker
    Thread Starter

    Good morning all,
    I am working on a project to transmit data from a microchip card with Bluetooth Low Energy module (BM64 Microchip) to a mobile application developed in Android Studio.

    While reading data on my phone, I notice receiving unknown characters from time to time. The characters received are sometimes good sometimes bad.

    Here is an example of the data received, I send 15 and I receive: �5 or 1� and sometimes I receive 15.

    Here is an excerpt from the code I used in C to program the sending of the data:

    Here is an excerpt from the code I used in JAVA to program the reception of the data:

    Can someone help me with this? I thank you in advance.
    Have a nice day.

    1. Download the Forums for Android™ app!



Share This Page