Avior


A progressively increasing numbering scheme is adopted for the assignment of unique numbering to firmware versions with the development of the Avior main processor code.



01

.

00





VERSION

Changed when new features are released

or significant improvements are introduced




BUG

Increased when there is a bug fix

Restart from 0 for all new major versions






FW 02.19

  • Added "recursive" memory variables
  • Fixed embedded webserver start on WiFi abilitation
  • Fixed bug for "readlog" endpoint of embedded webserver
  • Deleted AUDIO folder in SD card
  • Added command AT#DDIR to delete folder in filesystem
  • Fixed bug for parameters N16 and N17 (they were reversed)
  • Added parameters for MQTT
  • Added check for BLE start-up if heap memory is not sufficient


FW 02.20

  • Increased stack size for command management task


FW 02.21

  • Fixed bug for highest/lowest measure of analog inputs
  • Fixed bug for analog input average value type
  • Added possibility to write a tag including value of other tag (eg. V10=$A19)
  • Added analog input used as digital inputs
  • Fixed bug for system logs related to "interconnected devices"


FW 02.22

  • Added feature to execute rules in incremental order


FW 02.23

  • Added check to parse cell parameters MCC,MNC,LAC,CID
  • Fixed reply of AT#RM command: removed char 0x00 at the end of reply
  • Added URL escape sequence for HTTP POST request


FW 02.24

  • Added system log for observed device in BLE
  • Increased buffer size for HTTP request
  • Fixed AT#RU command to read single user
  • Added MQTT functionality
  • Added command AT#TRIGGER


FW 02.25

  • Fixed various bug for MQTT
  • Fixed reply to "readmap" endpoint of embedded webserver


FW 02.26

  • Upgraded framework version to v3.2.4


FW 02.27

  • Fixed bug to read tag paramters if a space is not present after tag (eg. $A120)
  • Fixed bug in "data" field for AT#HTTP command


FW 02.28

  • Improved management of configuration parameter;
    saved in flash memory only if they change its current value
  • Added name of last user call/sms for system log
  • Added SSL for MQTT connection (MQTTS)
  • Added SSL for HTTP request (HTTPS)
  • Fixed bug for log and email sent to cloud
  • Added command AT#UART to modify COM port parameters
  • Added log types
  • Increased priority for wiegand management task
  • Improved saving of pulse counters in case of overflow
  • Added log for unknown detected BLE 
  • Fixed bug for "out" and "mem" pulse command with duration of 1 second
    (eg. out1=1,1)
  • Modified calculus of "recursive" memory variables
  • Fixed bug for AT#EU command
  • Fixed bug for BLE detected users
  • Added log for unknown wiegand user
  • Added iBeacon UID support for BLE in observer mode


FW 02.29

  • Fixed bug for file audio list read from embedded webserver
  • Added trigger for mem and out if tag Mx2 and Ox2 are used (eg. M12=1)
  • Fixed bug for update of parameter D14 and D15 at start-up
  • Upgraded framework version to v3.2.5
  • Added feature to have tag in filename for AT#AFILE and AT#WFILE commands
  • Modified out and mem commands to accept case insensitive text
    (eg. OuT=1 ouT=0...)
  • Fixed bug for wiegand system log
  • Added removal of observered BLE user when corresponding user is deleted
  • Added removal of last IR code if resource is turned OFF
  • Deleted feature mDNS
  • Fixed management of commands from APPID
  • Increase modem commands queue to 32 positions
  • Added wiegand mode for 26bits and 34bits
  • Fixed bug for SD card flag presence on cloud
  • Increased size for APN parameter
  • Fixed bug for user cancellation file
  • Included workaround to get incoming call
  • Added check for analog input in NTC mode


FW 02.30

  • Added log for FW upgrade at start-up
  • Fixed bug for interconnected devices initialization
  • Fixed reply for command AT#UART
  • Added 3 fast blinks of blue led for data connection failed via cellular modem
  • Added Modbus RTU feature
  • Added escape sequence parsing in AT#MQTT command


FW 02.31

  • Increased timeout Modbus RTU to 2500ms
  • Fixed bug for trigger of command received from embedded webserver
  • Modified parameters for BLE scan in observer mode
  • Fixed bug for date update at start-up
  • Fixed bug for NTC open and short value
  • Fixed various string overflow bugs


FW 02.32

  • Added new MQTT implementation
  • Fixed bug for MQTT broker parameter if it is void
  • Fixed bug for AT#SPK commands sequence (eg. AT#SPK=5 AT#SPK=4)
  • Added log for users and rules editing
  • Fixed a couple of system log messages
  • Modified WiFi mode in STA+AP
  • Added system log for observer BLE user not detected
  • Fixed bug for user name recovered from user list
  • Added operator "search name" for memory variables (eg. var1=$N20?T)


FW 02.33

  • Added parameter Y10 "last disconnected interconnected device"
  • Fixed bug for MQTT over WiFi
  • Fixed bug for last SMS sender not saved after reboot


FW 02.34

  • First official release of MQTT in production


FW 02.35

  • Added event MID for new connection to Modbus TCP server 
  • Fixed bug for power supply runtime counters 
  • Fixed bug for PLMN operator which triggers MQTT and cloud update even if it is not changed 
  • Modified range for MQTT keepalive to 1080 minutes 
  • Added check for command from APPID,CHAT and EMAIL from MQTT 
  • Added AT#CHECKINTERNET command for checking internet connection 
  • Added resources for BLE door switch and BLE temperature sensor 
  • Added command AT#CFILE to copy files 
  • Modified replies to some commands (AT#RFILE, AT#LFILE, AT#RU, AT#RR) if eceived from MQTT 
  • Fixed bug for MQTT messages retries via cellular modem 
  • Improved replies to multiple MQTT commands with "subCDR" 
  • Fixed bug for DNS request failed if WiFi works in AP+STA mode 
  • Fixed bug for invalid data sent to SMM server: caused by a semaphore not given if previous upload of data fails 
  • Fixed number of tag present in MAP 
  • Fixed bug for tags K01..K06 not converted to unsigned integer 64-bit 
  • Increased maximum length to 320 bytes for AT#MQTT command 
  • Added escape sequence (e.g. %0A) for payload of AT#MQTT command 


FW 02.36

  • Fixed bug for AT#UART command: parity was not set correctly 
  • Added command "AT#UART?" command to read back UART settings 


FW 02.37

  • Added command AT#FORMAT=D to clear all system files 
  • Added retry for forward MQTT commands to internal command queue 
  • Modified initialization for users and group message tasks 
  • Added a pre-condition for memory variables value calculus: value is cleared if expression is void


FW 02.38 

  • Added command AT#LOG to add in system log a custom line (e.g. AT#LOG="My custom text string") 
  • Forced clock update request after a firmware upgrade is performed 
  • Added support for Telegram reply if command is sent with password (works like SMS) 
  • Added system logs for incoming command from MQTT 
  • Added operator HMAC-SHA256 (§) for variable to hash strings with secret key (e.g. var1=$D01§myKey) 
  • Added delay at start-up for analog inputs used as digital inputs to allow correct measure 
  • Fixed reply for command AT#ER from MQTT if XXX index is specified: now reply with resolved index 
  • Fixed reply for command AT#EU from MQTT if start/stop/weekdays are not specified: now reply with resolved ones 
  • Fixed bug for DLAN activation while WiFi is turned off. It caused software reset 
  • Fixed bug for ModbusTCP read of memory variables value 
  • If output is disabled (Ox0=0), it is immediately turned off 
  • Fixed bug for default name of BLE door switch sensor (door1->doorA, door2->doorB, etc..) 
  • Added Log for activation and de-activation of WiFi resource 
  • Fixed bug for ModBusRTU writing of single word register (function code 06h): it was interpreted as double word 
  • Fixed bug for ModBusRTU writing of double word register (function code 10h): data content was incorrectly formatted 
  • Fixed bug for ModBusRTU reply in writing double word register (function code 10h): reply was not parsed correctly 
  • Fixed bug for ModBusRTU: if local console is open requests are discarded 
  • Added log for events enable/disable (command AT#EVENT) 
  • Fixed bug for AT#SYNC command which failed to upload all rules and users to cloud through cellular modem in some particular cases 
  • Fixed bug for BLE temperature sensor if temperature drops below 0deg.


FW 02.39

  • Added reply to both Telegram chatbot if command is sent with password 
  • Added parameter D26: connectivity (cellular or WiFi) used for internet connection 
  • Added rule name (if present) on trace log for rule execution 
  • Added to command AT#EU the ability to add tickets to user using "+xxx" 
  • Improved reactivity of digital inputs with activation time (debounce) equal to 0 seconds 
  • Increased modem task stack size to 6KB 
  • Fixed autologout of 30 minutes for COM port console 
  • Added command AT#LGROUP to list "groups" present in user 
  • Added command AT#USMM to unlock device cloud account 
  • Fixed reply to AT#LFILE and AT#RFILE commands from MQTT (if CDR is specified) 
  • Improved AT#SYNC command over cellular modem (solve bug still present on FW 02.38)


FW 02.40

  • Fixed bug for MQTT activation on cellular modem in case WiFi is turned ON but SSID is void 
  • Fixed regression for MQTT publish of topic "map" 


FW 03.00

  • Added memory variables varG...varZ 
  • Added ACCESSORY users and rules 
  • Fixed write command for ModbusRTU parameters E01..E32: they were saved without type sub-parameter so they were not able to readback 
  • Fixed bug for outputs/memory bit time with expiring date in format YYMMSShhmm 
  • Added more memory bits: memG...memZ 
  • Added wireless output plugs plugA...plugH 
  • Added to ModbusTCP channel coils and registers for BLE sensors and plug outputs 
  • Fixed parsing for command AT#MQTT to accept topic parameter enclosed with doubloquotes 
  • Improved command AT#SMAP to selectively upload to cloud single tag parameter 
  • Modified location (GEO) upload management 
  • Added command AT#RGEO to request Reverse GEOcoding to cloud 
  • Fixed bug for BLE doors and temperature sensors value if BLE is turned off or in advertising mode 
  • Resources whose name starts with '.' prefix don't upload to cloud their parameters


FW 03.01

  • Modified autolog timeout management for embedded webserver 
  • Fixed default value of INTERCONNECTED DEVICE mode 
  • Fixed log message for WiFi plugs 
  • Reduced buffer size for HTTP webserver requests


FW 03.02

  • Fixed bug for digital input status value at start-up 
  • Added condition to avoid log "Event rules enabled" at midnight if events are already enabled 
  • Fixed bug for parsing command AT#ER received from MQTT 
  • Removed GATT Server functionality in BLE advertizer 
  • Reduced queue for HTTP request 
  • Operator LOGIC AND (&) for memory variable extended also to bit-wise operation 
  • Operator LOGIC OR (|) for memory variable extended also to bit-wise operation 
  • Reduced stack size for ModbusTCP task 
  • Refactored variables for FW upgrade over UART and data from cellular modem 
  • Fixed parsing of AT#HTTP command in case data is contained inside single quotes ' ' 
  • Fixed bug for parameter "status of connection to MQTT broker" (Q15) if MQTT is disabled 
  • Fixed bug for WiFi plugs discovery UDP server if WiFi connection was lost 
  • Modified publish of MQTT map: split in 4 sections to lower memory allocated from the heap 
  • Enable "retain flag" to Last Will & Testament MQTT topic 
  • Added "retain flag" to command AT#MQTT 
  • Fixed bug for MQTT published message (command AT#MQTT) via cellular modem with QoS different from the one specified in configuration 
  • Fixed bug for MQTT published message if payload is zero


FW 03.03

  • Fixed ACCESSORY users not retrieved from webserver endpoints
  • Fixed update of memory variables value and expression if name start with "." (local)
  • Fixed memory bit set/reset command if name start with "." (local) 
  • Fixed value of BLE temperature sensor when BLE is turned OFF
  • Fixed BACKUP and RESTORE issues
  • Fixed value of BLE temperature value is BLE is OFF at start-up
  • Added immediate connection to server for AT#GEO command
  • Improved G00=1 / G00=0 behavior
  • Improved location and time management
  • fixed redirect reply to file (e.g. AT#RM=D01->hello.txt)


FW 04.00

  • Added parameters S27 status of broker connection
  • Added parameters S80 start TCP port of SMM broker
  • Added parameters S81 stop TCP port of SMM broker
  • Removed device reset in case of too many failure of broker connection
  • Device doesn't cycle through broker TCP ports but it reconnects to the same broker port
  • Fixed "din66 off" LOG for analog inputs used as digital inputs
  • Added reserved command AT+SMMPORT (AT+SMMPORT=<start>,<stop>)
  • Added reserved  command AT+SMMPORTFIX (AT+SMMPORTFIX=<port>)
  • Added parameter S28 (broker port in use)
  • Added support for TAG into AT#DWAN command
  • Fixed AT#RESTORE command


FW 04.01

  • Added verbose message for AT#OTA and AT+FOTA commands
  • Added check for data connection availability before executing AT#OTA / AT+FOTA
  • Fixed AT#HTTP command now accepting single quotes in third argument
  • Added command reply redirection to memory variable (e.g. AT#RM=D01->varA)
  • Redirection to variables removes <CR> <LF> and '+'
  • Redirection to variables replaces ',' (comma)  with ' ' (space)
  • Added check to AT#OTA and AT+FOTA command in case current version is already up-to-date
  • Added notifications to console for commands with redirection reply
  • Continuous re-attempts for failed auto clock update on Sunday at 03:05AM (3 minutes)


FW 04.02

  • Fixed possible webid conflict