Hi all! I'm trying to use ULP mode for sleep because i have a MOSFET that needs to remain high (fixing later). I was wondering why when i include ".network(NETWORK_INTERFACE_ALL, SystemSleepNetworkFlag::INACTIVE_STANDBY);" ULP mode stops working. Ive read the docs, is this needed? How do i disable all network comms w/ ULP mode? if im using "graceful" disconnect before sleep config is this enough?
Particle.disconnect(CloudDisconnectOptions().graceful(true).timeout(5000));
Particle.process();
delay(3000);
SystemSleepConfiguration config;
config.mode(SystemSleepMode::ULTRA_LOW_POWER)
.duration(SLEEP_DURATION_DEFAULT * 1000L)
.network(NETWORK_INTERFACE_ALL, SystemSleepNetworkFlag::INACTIVE_STANDBY);
System.sleep(config);