Error Status 5 is with respect to I/O error. I think gpio 104 pin is not there or it is not configured.
status of the pin configured can be seen using as below:
root@swi-mdm9x28:~# microcom -E /dev/ttyAT
where 1st element refers to GPIO pin number.where as if 2nd element is 16 mean it is configured and can be used.if 2nd element is 0 mean it is not configured.you can configure it via the command,
which mean you are configuring GPIO 36 and you can use.