Subject: | multi-part response does not work? |
It looks like multi-part responses are not supported. This is part of
the response:
"PGEFC-1-2-4::PROVPEC=NTTP01CF,CTYPE=\" GE LX [10k]/FC100 SM 1310nm
LC
SFP\",SNMPINDEX=285478916,PEC=NTTP01CF,REL=01,CLEI=WMOTAH1JAA,SER=EXLGJPD751590594:IS,ACT"
Show quoted text
>
"Asd001A_OME1T" 08-11-19 04:11:48
M 42 COMPLD
"10G-1-6::PROVPEC=NTK526LA,CTYPE=\"1xOC-192/STM-64 STS-1/HO DWDM
1538.19nm\",SNMPINDEX=285487104,PEC=NTK526LA,REL= 05
,CLEI=WMOTBD0JAA,SER=NNTM01Q1D46W8,MDAT=2004-50,AGE=03-158-22-47,ONSC=00-124-17-43:IS,IDLE"
get_resp() only returns the part up to the line with the single greater
than sign. If I change the _read_msg() code into $msg !~ /^[;<]/xm I
only get the second part. It does not return the complete response.