crownstone / bluenet

Bluenet is the in-house firmware on Crownstone hardware. Functions: switching, dimming, energy monitoring, presence detection, indoor localization, switchcraft.
https://crownstone.rocks
91 stars 62 forks source link

Error state reset does not update the event bitmask #50

Closed AlexDM0 closed 5 years ago

AlexDM0 commented 7 years ago

This command: https://github.com/crownstone/bluenet/blob/master/src/processing/cs_CommandHandler.cpp#L572

does not update the bitmask in the advertisement: https://github.com/crownstone/bluenet/blob/master/src/ble/cs_ServiceData.cpp#L259

This makes it impossible to clear an error completely.

vliedel commented 5 years ago

Has been fixed.