Skip to content

Commit

Permalink
Switch to MQTT and add a LTE interface
Browse files Browse the repository at this point in the history
  • Loading branch information
acfloria committed Sep 23, 2019
1 parent aaf6c64 commit 7612d05
Show file tree
Hide file tree
Showing 9 changed files with 423 additions and 411 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
satcomSDcard/
*~
.settings*
credentials.cfg
42 changes: 17 additions & 25 deletions relay.cfg
Original file line number Diff line number Diff line change
@@ -1,43 +1,35 @@
# Message broker (rabbitmq) connection details
# Default port is 5672
[rabbitmq]
hostname = localhost
port = 5672
# MQTT broker (mosquitto) connection details
# Default port is 1883
[mqtt]

port = 1883

# change stuff here: v v v v v v v v v v v v v
#---------------------------------------------------------------------------
# username and password of the rabbitmq broker
user = ENTER_HERE
password = ENTER_HERE

#---------------------------------------------------------------------------
# ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
# relay server address:
# for simulator
hostname = localhost

# for real application
#hostname = ENTER_HERE

# Rock7 HTTP interface connection details
[iridium]
# Local UDP connection details
[lte]

# change stuff here: v v v v v v v v v v v v v
#---------------------------------------------------------------------------
# UDP port on which the relay server is listening for messages
target_port = 30000

[iridium]
# Address of the destination Rock7 HTTP gateway:
# for simulator
url = http://localhost:45678

# for real application
#url = ENTER_HERE

# IMEI of the destination RockBLOCK modem
imei = ENTER_HERE

# Rock7 username
username = ENTER_HERE

# Rock7 password
password = ENTER_HERE
#url = https://core.rock7.com/rockblock/MT:80

#---------------------------------------------------------------------------
# ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^

# Local port listening for MT messages from the Iridium gateway
local_port = 45679
local_port = 45679
Empty file removed relay.log
Empty file.
Loading

0 comments on commit 7612d05

Please sign in to comment.