In my App I config this:
then by AT commands I can see:
then, I turn ON GPIO36 (36 not 38) when the system is still wake and then AT commands answer this:
Why turn On a not used gpio can that change the wake up contiguration?
Why pass to 5? on legato, 5 is off but in At commands, 5 is Both (rising or falling)