Skip to content

Commit

Permalink
Merge pull request #386 from meshtastic/time
Browse files Browse the repository at this point in the history
Updating time comments
  • Loading branch information
thebentern authored Sep 12, 2023
2 parents 82ce944 + ebfd5de commit e9feb64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
7 changes: 3 additions & 4 deletions meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ message Position {

/*
* This is usually not sent over the mesh (to save space), but it is sent
* from the phone so that the local device can set its RTC If it is sent over
* the mesh (because there are devices on the mesh without GPS), it will only
* be sent by devices which has a hardware GPS clock.
* from the phone so that the local device can set its time if it is sent over
* the mesh (because there are devices on the mesh without GPS or RTC).
* seconds since 1970
*/
fixed32 time = 4;
Expand Down Expand Up @@ -1477,4 +1476,4 @@ message DeviceMetadata {
* Has Remote Hardware enabled
*/
bool hasRemoteHardware = 10;
}
}
8 changes: 2 additions & 6 deletions meshtastic/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ message AirQualityMetrics {
*/
message Telemetry {
/*
* This is usually not sent over the mesh (to save space), but it is sent
* from the phone so that the local device can set its RTC If it is sent over
* the mesh (because there are devices on the mesh without GPS), it will only
* be sent by devices which has a hardware GPS clock (IE Mobile Phone).
* seconds since 1970
* Seconds since 1970 - or 0 for unknown/unset
*/
fixed32 time = 1;

Expand Down Expand Up @@ -237,4 +233,4 @@ enum TelemetrySensorType {
* PM2.5 air quality sensor
*/
PMSA003I = 13;
}
}

0 comments on commit e9feb64

Please sign in to comment.