avr: added code and messages for device information.

- send firmware information in DEVICE message
- introduced new version of VALUE message (sending UID now instead of
  timestamp)
- make SENDSTATS and RECVSTATS messages also send UID instead of timestamp
This commit is contained in:
Martin Preuss
2023-03-19 23:20:16 +01:00
parent 9b7e72c3ad
commit 0db8a14972
4 changed files with 137 additions and 9 deletions

View File

@@ -366,6 +366,8 @@ twiReceiveByteSendAck_error:
#ifdef WITH_DEBUG
TWI_Master_ScanNext:
in r15, SREG
cli
@@ -418,5 +420,8 @@ TWI_Master_ScanNext_finshed:
TWI_Master_ScanNext_end:
out SREG, r15
ret
#endif