Re: Portech MV-37x patch

Anton Osennikov <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
13.11.2014 17:50, Stipe Tolj пишет:
> Am 12.11.2014 18:42, schrieb Anton Osennikov:
>>
>> Hello.
>>
>> Here was another try to solve the same problem, for ALLVoIP
>> AV3402 device. The device looks the same: same additional command, same
>> additional response.
>>
>> http://www.mail-archive.com/[email protected]/msg11934.html
>
> Hi Anton,
>
> thanks a lot for the input here.
>
> Just to get you right, adding your patch to support \r escape codes
> would solve both plaform requirements in terms of adding more input on
> the AT command interface?

It does so for ALLVoIP AV3402 device. We successfully use this patch 
with this device for several months now.

I hope the patch will also work for Portech MV-37x devices, since 
additional prompts and responses are very similar.

Here's log with "module1" command embedded into smsc-password:

smsc-password = "23*****74\r\nmodule1"

2014-11-13 18:37:17 [9295] [7] INFO: AT2[mts]: opening device
2014-11-13 18:37:17 [9295] [7] DEBUG: Connecting to <93.191.111.114>
2014-11-13 18:37:17 [9295] [7] DEBUG: AT2[mts]: device opened. Telnet 
mode = 0
2014-11-13 18:37:17 [9295] [7] INFO: AT2[mts]: Logging in
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <--
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- >
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: --> voip^M
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- sername: voip>
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: --> 23*****74
module1^M
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- password: **********
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- user level = admin.
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- command: logout, 
module1, module2, state1, state2, info.
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- ]
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- module1
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- getting module 1 ...
2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: <-- got!! press 'ctrl-x' 
to release module 1.
2014-11-13 18:37:22 [9295] [7] DEBUG: AT2[mts]: --> AT^M
2014-11-13 18:37:23 [9295] [7] DEBUG: AT2[mts]: <-- 0

-- 
Best regards, Anton.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.