Skip to content

Commit

Permalink
Merge pull request #88 from WildernessLabs/send_pos_event
Browse files Browse the repository at this point in the history
send the event
  • Loading branch information
ctacke authored Jul 11, 2024
2 parents d364b7b + 3de6ca2 commit e93a2b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Meadow.Clima/Controllers/CloudController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public void LogDeviceInfo(string deviceName, double latitiude, double longitude)
cloudEvent.Measurements.Add("device_name", deviceName);
cloudEvent.Measurements.Add("lat", latitiude);
cloudEvent.Measurements.Add("long", longitude);

SendEvent(cloudEvent);
}
public void LogWarning(string message)
{
Expand Down

0 comments on commit e93a2b6

Please sign in to comment.