Skip to content

Commit

Permalink
mock out info response
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer authored Mar 25, 2023
1 parent 90d1988 commit 9a0e110
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions server/nodeRouter.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ func getNodeInfo(c *gin.Context) {
}

c.JSON(http.StatusOK, gin.H{
"message": "Hello World",
"modemInfo": strings.Join(info, " "),
"signal": strings.Join(signalStrength, " "),
"modemInfo": strings.Join(info, " "),
"signal": strings.Join(signalStrength, " "),
"accessoriesBattery": -1, // Mock
"gpsLatitude": 12.517572, // Mock
"gpsLongitude": -69.9649462, // Mock
})
}

0 comments on commit 9a0e110

Please sign in to comment.