Advertising Name Unsable

Hi everyone!

I am having some issue with firmware 1.3.4. If I set the advertising name like this:
private Settings settingsModule;
private Macro macroModule
macroModule.record(new Macro.CodeBlock() {
@Override
public void commands() {
settingsModule.configure()
.setDeviceName(deviceName)
.commit();
}
});

The new name is sometimes lost.It can uppen whan the sensor runs out of battery or apparently for no reason.

I have never seen this behavior in the previous versions of the firmware.

Do you have any suggestion?

Thanks
Lucia

Comments

  • edited September 2017
    Did the record operation succeed in these instances of the name change reverting to default settings?  Are the boards switching to MetaBoot mode?

    Try using Android SDK v3 instead of the older v2 SDKs.  


    final Macro macro = metawear.getModule(Macro.class);
    final Settings settings = metawear.getModule(Settings.class);

    macro.startRecord(true);
    settings.editBleAdConfig()
    .deviceName(deviceName)
    .commit();
    macro.endRecordAsync();
This discussion has been closed.