background image

www.mokosmart.com

4

Type

Parameter

Description

Broker setting

Host

The IP address or domain name of your server.

Port

Server port number.

Client id

MQTT client id, each device connected to the server

should have a unique client id.

Topics

Subscribe

The gateway uses it to subscribe messages from the APP.

You can use the default topic directly or modify it.

If the topic of “Settings for APP” page has been set, it

should be set the same as the APP published topic.

Publish

The gateway uses it to publish messages to the APP. You

can use the default topic directly or modify it.

If the topic of “Settings for APP” page has been set, it

should be set the same as the APP subscribed topic.

General

Clean session

Default: Enable, range: Enable/Disable

Qos

Quality of service. Default: 1, range: 0-2

Keep Alive

Default : 60, range: 10-120

User Credentials

Username

If access to your server doesn’t require a username and

password, it can be blank.

Password

SSL/TSL

SSL/TLS

Enable means SSL mode

Disable means TCP mode

Certificates

It supports three type of certificates:

CA signed server certification;

CA certificate file;

Self signed certificates

Device Id

Device Id

Each added device should have a unique device id.

Time setting

NTP URL

NTP server IP or domain name, it can be blank, then

device will use the default NTP server.

Timezone

Default: UTC+0, range: UTC-12 - UTC+12

2.2.2 Configure APP and Device connect to AWS iot

When configuring the gateway to connect to AWS iot, please enable the SSL/TSL option, then

select the certificate files locally from the mobile phone.

Summary of Contents for MK107

Page 1: ...Datash MK107 BLE to WIFI Gateway User Manual Version V1 0...

Page 2: ...Set the Filter Condition 6 2 4 1 Beacon Type Filter 7 2 4 2 Beacon Data Filter 8 2 4 3 Duplicate Data Filter 10 2 4 4 Upload Data Option 10 2 5 Set Device Parameters 11 2 5 1 LED Status Option 12 2 5...

Page 3: ...andard MQTT brokers such as EMQTT Mosquito etc and also can work with AWS iot and Ali iot This section will guide users to use MKScannerPro APP to configure the gateway to connect to EMQTT and AWS iot...

Page 4: ...Publish The APP use it to publish message to the gateway it can be blank General Clean session Default Enable range Enable Disable Qos Quality of service Default 1 range 0 2 Keep Alive Default 60 rang...

Page 5: ...Fill in the configurations for the device and configure an available WIFI SSID and password The gateway will automatically connect to the WIFI and server and the indicator will turn to blue flashing 5...

Page 6: ...topic General Clean session Default Enable range Enable Disable Qos Quality of service Default 1 range 0 2 Keep Alive Default 60 range 10 120 User Credentials Username If access to your server doesn t...

Page 7: ...eft picture is the MQTT settings for APP page of Android APP and the right picture is the MQTT settings for APP page of IOS APP 2 3 Set the Gateway Scan BLE Device When the gateway is successfully con...

Page 8: ...it second 65535 is a special value which means the gateway will be always scanning Other value is a countdown time when the time expires the gateway will automatically stop scanning 2 4 Set the Filter...

Page 9: ...ay can filter data by beacon type and there are total 9 beacon types With the default configuration the gateway will scan and upload all types of beacon data When the option is disabled the gateway wi...

Page 10: ...ill report advertising data which doesn t meet the filter rules Parameter Description Filter Condition A RSSI Default 127 dBm range 127 0 dBm MAC address Default is disabled when enabling it please en...

Page 11: ...abling it please enter a full iBeacon UUID or keyword iBeacon major Default is disabled when enabling it please enter the range value of iBeacon major and the second value must be greater than or equa...

Page 12: ...ata is duplicate according to the MAC address MAC Data Type Judge whether the data is duplicate according to the MAC address and the data type Mac Raw Data Judge whether the data is duplicate accordin...

Page 13: ...www mokosmart com 11 2 5 Set Device Parameters The gateway supports user to flexibly modify the device parameters according to their application All parameters on this page can be modified...

Page 14: ...abled the LED will be OFF 2 5 2 Data Report Timeout When the Bluetooth data packet reaches the specified length the gateway will immediately report the data packet to the server When the Bluetooth dat...

Page 15: ...t minute Value 0 means that the device will not reboot 2 5 5 Scan Timeout Option When the scan switch is enabled but no any data is scanned for a period of time the gateway will automatically reboot o...

Page 16: ...Update button the gateway will enter the update process During OTA process LED will flash yellow if OTA succeed LED turns solid green if failed LED turns solid red Note The OTA server 47 104 172 169 8...

Page 17: ...the device will restore to factory setting and the indicator will flash blue and green once You can also press and hold the reset button for 10 seconds to reset it 2 9 Remove Device Select a gateway...

Page 18: ...www mokosmart com 16 MOKO TECHNOLOGY LTD 4F Building2 Guanghui Technology Park MinQing Rd Longhua Shenzhen Guangdong China Tel 86 755 23573370 829 sales mokosmart com https www mokosmart com...

Reviews: