Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Align
alignright

Anchor
AMLLoctop
AMLLoctop

Panel
titleBGColor#F0F0F0
titleValid for N670 / N870 / N870E but not supported by N610. Software 2.52 or higher is needed.

Via the MQTT interface an application server is able to request the Location from the handset.

The location information can be based on:

  • DECT
    • Supported by: SL800H / S700H / R700H / S650H / SL750H / OpenStage M3
    • Provides raw DECT RSSI values 
  • Bluetooth
    • Supported by: SL800H / S700H / R700H
    • Provides Bluetooth RSSI values transmitted by BLE beacons
  • DECT and Bluetooth
  1.  Example set-up using Ubuntu server

Anchor
AMLLocsetup
AMLLocsetup

Background Color
color#F0F0F0

1. Example set-up using an Ubuntu server

Scroll to top

The following test environment is used for the documentation.

draw.io Diagram
bordertrue
diagramNameAMLLocsetup
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth762
revision1

Ubuntu preparation
First we installed the mosquitto client: sudo apt install mosquitto-clients

Host file:

Add the N870 to your host file in case you want to use a DNS name. (/etc/hosts)

Code Block
languagebash
127.0.0.1       localhost
127.0.1.1       Int-VirtualBox
192.168.178.192 int-589ec60e71c0
 
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Anchor
#AMLocMQTTresponse
#AMLocMQTTresponse

Background Color
color#F0F0F0

2. How to see the MQTT response

Scroll to top

Before you start sending the first location request, you would also like to see the response of the Cordless system.

If you want to see the MQTT communication/response from the N670/N870 you can do this by opening a new command line window on the Linux PC and enter the command.


Code Block
languagebash
mosquitto_sub -u as1 --psk-identity as1 --psk 123456789012345678901234567890ab -t +/+/as1/pos/# -p 8884 -h 192.168.178.190 -v