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
RE: Serial port activity? - by DarkLord - 10-24-2022, 10:33 AM
RE: Serial port activity? - by admin - 10-24-2022, 11:17 AM
RE: Serial port activity? - by DarkLord - 10-24-2022, 06:17 PM
RE: Serial port activity? - by admin - 10-25-2022, 04:08 AM
RE: Serial port activity? - by admin - 10-25-2022, 04:19 AM
RE: Serial port activity? - by admin - 10-25-2022, 01:49 PM
RE: Serial port activity? - by admin - 10-25-2022, 02:24 PM
RE: Serial port activity? - by DarkLord - 10-25-2022, 04:14 PM
RE: Serial port activity? - by DarkLord - 10-25-2022, 04:18 PM
RE: Serial port activity? - by admin - 10-25-2022, 05:43 PM
RE: Serial port activity? - by DarkLord - 10-25-2022, 10:23 PM
RE: Serial port activity? - by admin - 10-25-2022, 10:54 PM
RE: Serial port activity? - by DarkLord - 10-25-2022, 11:12 PM
RE: Serial port activity? - by admin - 10-26-2022, 04:36 AM
RE: Serial port activity? - by DarkLord - 10-28-2022, 09:28 AM
RE: Serial port activity? - by admin - 11-01-2022, 12:50 PM
RE: Serial port activity? - by DarkLord - 11-01-2022, 12:56 PM



Users browsing this thread: 1 Guest(s)