I have been trying to subscribe to the GPIO Service on my Q24Plus (Q24PL001). Unfortunately, I keep receiving parameter errors regardless of the GPIO mask. Here is my code snippet.
As far as I can see there is nothing wrong with the direction, default value, or the polling parameters. Am I missing something? Thank you for your time.
Your culprit is GPO_0. It is reserved for 1.8V SIM operation (requiring you to add the level shifter outside and attach it to GPO0). However, you can disable this feature. Had exactly this issue just yesterday.
I then spent hours wondering why +WIOR=2 etc gives me errors. It was simply because they are outputs and on wavecom you cannot read an output.
If you still have trouble, try enabling and disabling UART2 again:
AT+WMFM=0,1,2
AT+WMFM=0,0,2
All this should preferably be done when your OAT app is stopped.
Disabling the feature worked. Unfortunately, I cannot do this on the production version of the code and will have to use another I/O pin (not used by the two UARTS, SPI, or this 1.8V feature).
You can try to call these AT commands from your OAT app, but if you do have a choice of IO, rather stay away from any muxed IO and simply use one that is all on its own.