3.3.2.4 GPIO Pin Unlocking
int IndoorTouch.GPIOUnlock(int pin);
Pin is the PIN index, refer to 3.3.2.1 GPIO Pin Reading. Unlocks the selected PIN that was locked via GPIOLock.
The return value is as follows:
- IndoorTouch.RC_OK = 0;
- IndoorTouch.RC_ERR_CONN = -1; API daemon connection error
- IndoorTouch.RC_ERR_LOCKED = -8; already locked by another process via GPIOLock
- IndoorTouch.RC_ERR_NOTLOCKED = -9; PIN is not locked and need not be unlocked