File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -952,6 +952,8 @@ static void boardInit(void) {
952952 } else {
953953 Serial.println (" Set S8 AbcDays failure" );
954954 }
955+
956+ ag->s8 .printInformation ();
955957 }
956958
957959 localServer.setFwMode (fwMode);
Original file line number Diff line number Diff line change @@ -835,3 +835,13 @@ bool S8::setAbcPeriod(int hours) {
835835 * @return int Hour
836836 */
837837int S8::getAbcPeriod (void ) { return getCalibPeriodABC (); }
838+
839+
840+ void S8::printInformation (void ) {
841+ Serial.print (" S8 type ID: 0x" );
842+ Serial.println (getSensorTypeId (), HEX);
843+ Serial.print (" S8 serial number: 0x" );
844+ Serial.println (getSensorId (), HEX);
845+ Serial.print (" S8 memory map version: 0x" );
846+ Serial.println (getMemoryMapVersion (), HEX);
847+ }
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ class S8 {
8080 bool isBaseLineCalibrationDone (void );
8181 bool setAbcPeriod (int hours);
8282 int getAbcPeriod (void );
83+ void printInformation (void );
8384
8485private:
8586 /* * Variables */
You can’t perform that action at this time.
0 commit comments