add allow and block filter for AT+ commands

This commit is contained in:
Stefan Allius
2024-05-30 18:38:05 +02:00
parent 17c33601a0
commit 063850c7fb
5 changed files with 52 additions and 9 deletions

View File

@@ -41,6 +41,7 @@ class MemoryStream(SolarmanV5):
self.db.stat['proxy']['AT_Command'] = 0
self.test_exception_async_write = False
self.entity_prfx = ''
self.at_acl = {'mqtt': {'allow': ['AT+'], 'block': []}, 'tsun': {'allow': ['AT+Z', 'AT+UPURL', 'AT+SUPDATE', 'AT+TIME'], 'block': []}}
def _timestamp(self):
return timestamp