mirror of
https://github.com/gillham/logic_analyzer.git
synced 2026-05-01 15:10:43 +03:00
Add firmware version to metadata
Return the firmware version to the Logic Sniffer extended SUMP protocol metadata request. Now you can see what version is loaded on your device.
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
* until after the trigger fires.
|
||||
* Please try it out and report back.
|
||||
*
|
||||
* Release: v0.06 November 4, 2011.
|
||||
* Release: v0.07 February 8, 2013.
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -785,6 +785,13 @@ void get_metadata() {
|
||||
Serial.write('0');
|
||||
Serial.write((uint8_t)0x00);
|
||||
|
||||
/* firmware version */
|
||||
Serial.write((uint8_t)0x02);
|
||||
Serial.write('0');
|
||||
Serial.write('.');
|
||||
Serial.write('7');
|
||||
Serial.write((uint8_t)0x00);
|
||||
|
||||
/* sample memory */
|
||||
Serial.write((uint8_t)0x21);
|
||||
Serial.write((uint8_t)0x00);
|
||||
|
||||
Reference in New Issue
Block a user