I know how to use the estimote sdk to alter the beacon's uuid, major and minor values but I was wondering if there exists an .apk that already does this to save me time.
Asked
Active
Viewed 1,039 times
2 Answers
2
You can change Major, Minor, Broadcasting Power, Advertising interval at official app by Estimote. But changing of UUID is possible only by SDK.

gio
- 4,950
- 3
- 32
- 46
-
Just to improve the answer; the trick is in the BeaconConnection class http://estimote.github.io/Android-SDK/JavaDocs/ – 4gus71n Mar 30 '15 at 13:09
-
@gio can't i change the beacon uuid without using the estimote sdk? If not can you please explain a little why not? – zealvault May 28 '18 at 09:21
-
@zealvault sorry, but not sure about other ways – gio May 29 '18 at 10:21
1
I leave the code here, maybe someone will find it usefull, It'a pretty much the same for the three of them, only changes the writeMajor
.
private void setMajorID(final int majorid,final Beacon beacon) {
mMajorsConnection = new BeaconConnection(this, beacon, new BeaconConnection.ConnectionCallback() {
@Override
public void onAuthenticated(BeaconConnection.BeaconCharacteristics chars) {
Log.d(TAG, "Authenticated to beacon: " + chars);
mMajorsConnection.writeMajor(majorid, new BeaconConnection.WriteCallback() {
@Override
public void onSuccess() {
runOnUiThread(new Runnable() {
@Override
public void run() {
mAdapter.update(beacon);
}
});
Log.d(TAG, "Successfully writted the major id!");
mMajorsConnection.close();
}
@Override
public void onError() {
Log.d(TAG, "Error while writting the major id!");
}
});
}
@Override
public void onAuthenticationError() {
Log.d(TAG, "Authentication Error");
}
@Override
public void onDisconnected() {
Log.d(TAG, "Disconnected");
}
});
mMajorsConnection.authenticate();
}

4gus71n
- 3,717
- 3
- 39
- 66