Serial port activity?
#4
Well, it turns out that I already have the interface code for this!  Register S30 is the inactivity timer.  However, I do not have this enabled in the code.  I will add that for the next update!

The Wiki for the AT Command set (which I follow with the WiModem series) is located here: https://en.wikipedia.org/wiki/Hayes_command_set

You can see the entry for S-Register 30:

S30 Inactivity Disconnect Timer 0–255 tens of seconds 0 (disable)

So, setting S30=1 would set the connection inactivity timer for 10 seconds.  ie

ATS0=1 <RETURN>

If  you wanted to set the disconnect timer to 5 minutes (300 seconds) you would use ATS0=30  (which is 300/10).  Using a value of 0 (the default) disables the Inactivity Disconnect Timer.
Reply


Messages In This Thread
Serial port activity? - by DarkLord - 08-25-2021, 09:44 AM
RE: Serial port activity? - by admin - 08-25-2021, 12:21 PM
RE: Serial port activity? - by DarkLord - 08-25-2021, 11:19 PM
RE: Serial port activity? - by admin - 08-26-2021, 12:50 AM
RE: Serial port activity? - by DarkLord - 08-26-2021, 07:28 AM
RE: Serial port activity? - by admin - 08-28-2021, 05:32 PM
RE: Serial port activity? - by DarkLord - 08-28-2021, 06:53 PM
RE: Serial port activity? - by DarkLord - 08-29-2021, 07:03 AM
RE: Serial port activity? - by admin - 08-29-2021, 10:45 AM
RE: Serial port activity? - by DarkLord - 08-29-2021, 07:51 PM
RE: Serial port activity? - by admin - 08-30-2021, 03:32 PM
RE: Serial port activity? - by DarkLord - 08-30-2021, 04:29 PM



Users browsing this thread: 1 Guest(s)