Hi guys,
I'm checking the code and see something may not right.
When we press the button to off the companion, it will call powerOff()

Then it will call enterDeepSleep(0);

Then it will reach here.
The companion will wake up if it receives a LoRa packet.
esp_sleep_enable_ext1_wakeup( (1L << P_LORA_DIO_1), ESP_EXT1_WAKEUP_ANY_HIGH);  // wake up on: recv LoRa packet
When we poweroff the companion, the companion should wake up again ONLY IF we press the button again.
Thanks a lot.