Is there anything that needs to be done for the B404 to publish a last reset reason due to the reset button being pressed? If I power cycle it I get the last_reset message on the event stream but if I press the reset button I don’t.
You should get a last_reset of pin_reset when using the reset button the B404. This is a BRN404X but it should behave the same way.
I also tested it with a real B404 running 6.3.4 and Tinker and I also got the last_reset of pin_reset when using the reset button.
Which version of Device OS are you using?
It is on 6.2.1 right now I can go up to the latest just to verify it.
I don't think it's a Device OS issue; I just tested it with a B404 and 6.2.1 and I also get a pin_reset last_reset.
I'd enable trace logging:
SerialLogHandler logHandler(LOG_LEVEL_TRACE);
and see if there's anything logged. You'll need to use particle serial monitor --follow because you want to logs after reset. If you are using Windows it still might not reconnect fast enough to get useful logs.
Oddly enough adding the log portion seems to have fixed it.
Do the B404 actually have the capability of recognizing a brownout?
Theoretically yes, but I've never seen it happen, so essentially probably not, in practice.
Glad I’m not the only one then. Seems I am having that issue but don’t get anything from the reset reason.
