This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

connection between nRF52 and android bluetooth

I have an android smartphone of bluetooth version 4 and i am developing one application where i am using nRF52 (bluetooth version 5). Is it possible to write data from the custom app by using mobile's bluetooth to the nRF52 device? I am using the custom uuid to write data from the custom app to the bluetooth module but after connecting GATT service i cannot write data to the nRF52 bluetooth module. Please help me in this.

Parents Reply
  • I am initializing GATT service and before that i create a method which will discover the bluetooth devices/modules.  After searching i can connect with the chosen bluetooth device from the list of other bluetooth devices/modules. My android phone and the bluetooth module is connected with each other, but while sending/writing data to the bluetooth module from android device, i am using BluetoothGattCallback. There i am getting  android.bluetooth.BluetoothGattCharacteristic.setValue() as null refernce. The data is getting from android device but while sending to nRF52 it is not sending there.

Children
Related