Open plush opened 5 months ago
Thank you for the report and sorry for the late response.
Adding proper support for the newer API version should be possible, but I need more data. If you can find out the working commands and send them to me including the full output, I'll look into it.
About the first three points: Allowing the $
prompt should not be an issue. If I understand correctly, the other two steps can be done manually by the user, right?
I was able to get go-dsl working with my ALLNET ALL-BM300 modem after applying some quirks. I don't have a straight up patch because some of the quirks go beyond what go-dsl does right now, and others conflict with some of its assumptions. Here is what I had to do:
$
, not#
(lantiq/telnet.go line 37).commandLegacy
entries in lantiq/data.go to get more data:commandLegacy
entries for my modem:0x
prefix on the state code in line 235, but only to strip it, not to distinguish between hex and decimal numbers. This is wrong for my modem. The code has no0x
prefix and it isn't hex, but decimal. Decoding it as such in line 239 gave me the correct line state.