I am trying to send text data between two Android devices using beacon. I am using Android Bluetooth Low Energy APIs to develop the application. But i am stuck in reading the data.
Whenever i am trying to set Values to the Characteristics , the other device not able to receive the data. The Characteristics getValues return null.
I have already asked this question in other thread in Stackoverflow. But still again i am conveying my queries in Graphical format.
This is the above image which explains the scenario.
Please suggest me some solution and technique to resolve my issue.
Most "Beacon" devices only transmit messages via advertising packets and don't accept connections. (The name kind of hints at this) Some beacon devices allow you to connect to them to modify the message they're transmitting, but I don't think there's any Beacon devices that make connections to other devices to relay messages.
So, while you may be able to connect to the Beacon to set a message, the Beacon will then send that message as a public broadcast that any device can pick up. But again, most Beacon devices only transmit a fixed code that can't be altered.