I'm not able to connect to vSPoT api's using mqtt broker.
vSPoT instance IP - 192.168.99.135
mqtt broker IP - 192.168.99.122,
venue_id - vspot
password - 12345678
below is my mosquitto-bridge config file:
pid_file /tmp/mqtt_bridge.pidautosave_interval 0
log_dest file /tmp/mqtt_bridge.log
# listener for MQTT messages without PSK
listener 1883 192.168.99.122
topic "1.0.0/LOC/SPOT_GPB/vspot/GPB_LOCR" in
I've used the following command to start the local mosquitto broker:
mosquitto -c mosquitto_bridge.conf
After this I locally subscribe to the mqtt-bridged TLS PSK connection to venue server using the mosquitto_sub utility:
mosquitto_sub -h 192.168.99.122 -p 1883 -t "1.0.0/LOC/SPOT_GPB/vspot/GPB_LOCR"
I was expecting some encoded message streaming on my stdout. Unfortunately this is not happening.
Help would be appreciated. Thanks!
PS: I'm using the instructions from - https://github.com/rksg/gpb_mqtt_sample_client