This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Heltec Automation LoRaWAN communication example | |
* | |
* Function: | |
* 1. Read the longitude and latitude of GPS and upload it to the LoRaWAN server. | |
* 2. Display the longitude and latitude of GPS on the screen. | |
* | |
* Description: | |
* 1. Communicate using LoRaWAN protocol. | |
* | |
* HelTec AutoMation, Chengdu, China |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "ef6a48be18856f84", | |
"type": "tab", | |
"label": "Helium GPS Mapper", | |
"disabled": false, | |
"info": "", | |
"env": [] | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from itertools import chain | |
from datetime import datetime as dt, timedelta as td | |
import json | |
import grpc | |
from google.protobuf.json_format import MessageToJson | |
from chirpstack_api import api | |
api_token = '<CHIRPSTACK API_KEY>' | |
server = 'localhost:8080' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import time | |
class AppCommands: | |
""" | |
Get Guild Application Commands | |
GET/applications/{application.id}/guilds/{guild.id}/commands | |
Delete Guild Application Command |