If you have any inquiry, please ask questions here! Thanks! we will answer you within 1-2 business day(s)
January 09 , 2016 23:28 | 3 answers
January 14 , 2016 12:24
Hi,
You should use Beacon Connection method to connect with the Beacon, Once it connected successfully, you can read all parameters of Beacon. Please refer to following Characteristics Demo:
@Override public void onAuthenticated(final BeaconCharacteristics beaconChars) {
runOnUiThread(new Runnable() {
@Override public void run() {
statusView.setText("Status: Connected to beacon");
StringBuilder sb = new StringBuilder()
.append("UUID: ").append(beaconChars.getBeaconUUID()).append("\\n")
.append("Major: ").append(beaconChars.getMajor()).append("\\n")
.append("Minor: ").append(beaconChars.getMinor()).append("\\n")
.append("Advertising interval: ").append(beaconChars.getBroadcastRate()).append("ms\\n")
.append("Broadcasting power: ").append(beaconChars.getBroadcastingPower()).append(" dBm\\n")
.append("Device Name: ").append(beaconChars.getBeaconName()).append("\\n")
.append("Beacon State: ").append(beaconChars.getBeaconState());
beaconDetailsView.setText(sb.toString());
afterConnectedView.setVisibility(View.VISIBLE);
}
});
}
If other questions when program, please contact us.
Best regards,
JAALEE
January 31 , 2016 03:17
Thanks very much.
January 31 , 2016 03:25
I've noticed that the password can not be read with any method described above. Is it true ?
Best Regards,
Antonio.