Turning LED ON/OFF through EC600U Module

I am working on EC600U module using QuecOpen SDK and connected LED on Pin Number 59.

As per the image, can anyone tell me, what is default function and gpio_dir, gpio_pull, gpio_lvl?

My code is correct or not in line number 108?

Hi @sindhuroy,
The default function is just the default function when this pin is initiated, you can change it to 0 so it will initiate as GPIO.
If you want to use it to control the LED, set the pin using ql_pin_set_gpio(pin_num); and use it to control the pin output.