Sometimes (it's rather rare but when I run this script 100 times per day on 60 routers you can observe 40 scripts in invalid state) I get response from router (command is /interface/wireless/registration-table/getall) where first byte is correct encoded length of the following word but second byte is 0x00 and normal response starts from 3rd byte.
It causes that php script usually loop till i have to kill it (it looses synchronization and interprets bad bytes in following words as their length).
Example:
I can get this:
Code: Select all
XY=wmm-enabled=true
As a response I read word as:
Code: Select all
Y=wmm-enabled=tru
Have you seen that?
Thanks