Hello,
I am trying to implement a sensor board which contains multiple sensors to transmit the data to mobile application via BLE. I am using BLE peripheral example code to implement the functionality. I was successfully able to code all the sensors and make it compatible and working with latest SDK. But the issue is with BLE communication between the sensor Board(peripheral) and Mobile App. I observed that the custom characteristics can be created/added by following the tutorial-3 document. But the data which I am trying to send to the app is not received. The characteristics I have configured is WRITE and NOTIFY, Can the Notify characteristic changed to READ characteristics? this is because my mobile app is always expecting the ready data instead of a notification.
I request someone to help me on this.
Thanks in advance.
Hi Nithin92,
I am not sure i get the question the fact that you dont get data to your custom application can be anything and not only related to the properties of the characteristics. For example if you have added the notify property on your characteristic and you wish your peripheral to send the data to the central application, has the central application registered to the notifications that you would like to receive ? are you sending any notifications ? If you have the characteristic's properties are notify and write, you will not be able to read the characteristic. Please check the example that come with the SDK with a generic BLE android or iOS application. What do you mean change the Notify characteristic to read ? You can give your custom characteristics the properties that you would like.
Thanks MT_dialog