It reminds me something, not sure what but, can you try to replace the square bracket with parenthesis within the SERIN2 lines?
something like
EDIT: For testing purpose I would get rid of the Timeout...Code:serin2 PC_RX,Baud_Rate,500,PC_Data,[.... apn_name(0),apn_name(1)......]
Damn I'm rusty
Bookmarks