background image

KKM Co.Ltd   

 

KGateway(for KBeacon) Configuration   

Copyright by KKM Inc. 

  public   

 

18

 / 

33

 

G9SiSlPOh6xXEqBQZJj9EB8vsmHRwSLaLAaMXeYaViOHlA9ZA3JcwVEQIFCq4tGI 

E1xg6G1S1kUJQj3/jjM15j7RldjxYh34KxA99hsSgTqzEA1vX9aLW8e5OGtE1WsE 

NHKgRUJvL2qgA8Y07ErBmVft8ykn1byR1io64jMCgYBngkNY3ES70G8r 

LjpWaG08szujx4/yNcdd7OMJaKzCXM8y3zdgPrf710wKsDhWc2xxoaKmDDWG0XO3 

RCsq1ay4iDdl12T6bPo1E4GDqwyKESrRS4PNPvmoKEO/8M7Z 

NkbHbTPvDzYxfNp2K/sGIQKBgQCOwpmIQ5zYV8UntWSbnj3rx9wU9rs9TKgLmef0 

tx+iYQzQLc8T8hTsiTBQ9e5ejM1EIQhxBKQ2ZDyymwRX0kHopXXBZxEMj 

+rBTCYgpoaQ/mVKcroIpiQ5rhbvdMV5DXQjVdCJ4NB3M5h0kPJ/pXn+LDNh2i2sM 

6EfMcwKBgG72O5CFfxD50266IOz7MsUV0wIPN2kkhDB5oSUiJVc2i/piy+O0zCfE 

TIEecsxxKWvLtoQBdITgq9u15sFVSkKq5I2NQLalv3YzKpuv6lg0GlH2 

/9T75FmQ0StYMJcWkOVmrfUQm7fNzFZv06CVIHkF3PaH823/p4Gs 

-----END RSA PRIVATE KEY----- 

 

10.

 

Publish Topic: 

The status of the status release message, the status of the gateway scanning 

to each label, published through this topic. 

11.

 

Publish  Action: 

The  response  message  of  the  gateway  to  the  MQTT  server,  such  as 

pictures and new response messages, is published through this topic. 

12.

 

Subscribe Action: 

The gateway store will subscribe to the request from the MQTT server 

to listen to this topic. Such as pictures with new request messages. 

 

 

4.3.4

 

HTTP

 

configuration

 

 

1.

 

Service  Access

:  select  HTTP  and the  KGateway  will using  HTTP protocol  to  connect to 

cloud server. 

2.

 

Authentication

: The KGateway support single password authentication for HTTP post. 

3.

 

Url

: The cloud HTTP service.   

We provide a test HTTP server and the URL address is:   

http://api.ieasygroup.com:8091/postdata

 

Summary of Contents for KGateway

Page 1: ...nfiguration Manual Revision History Version Date Change Description Author V1 0 2017 7 1 initial Ning V1 1 2018 8 20 Add hidden Wi Fi function Hogen V1 2 2018 12 1 Modify network architecture picture...

Page 2: ...onfiguration 15 4 3 4 HTTP configuration 18 4 4 Modifying the Web Portal Login Password 19 5 Quickly verify KGateway API 19 5 1 How to verify HTTP API 20 5 2 How to verify MQTT API 20 6 Trouble shooti...

Page 3: ...on advertisement packet then report the data through Wi Fi or Ethernet Also it can accept data command from the cloud and forward the data to KBeacon such as updating the KBeacon configuration The KGa...

Page 4: ...usb dongle was insert 4 The KGateway supports Wi Fi Hopping which means one KGateway can connect to internet by another KGateway 3 2 Power supply interface There are two interfaces for power supply ma...

Page 5: ...acket success 10 second frequency flash indicating that the KGateway connect to the cloud success but it didn t find any KBeacon devices 3 4 Insert LTE USB dongle SIM card If needed Please note This p...

Page 6: ...nnected to the MQTT HTTPs server through this interface so you need to ensure that the network between this interface and the MQTT server is interconnected WAN address IP address configuration see 4 3...

Page 7: ...configuration IP address is 192 168 8 1 Login in to the gateway by typing http 192 168 8 1 in the browser 5 Enter the user name admin and password admin 4 2 Network interface 4 2 1 Configure WAN inter...

Page 8: ...d KGateway for KBeacon Configuration Copyright by KKM Inc public 8 33 4 2 1 1 Connect to internet by Ethernet The IP address can be assigned in DHCP or static configuration 4 2 1 2 Connect to internet...

Page 9: ...100 100 means the signal is very strong Connect to an hidden Wi Fi AP You can see some Wi Fi name like mac address it means that Wi Fi was hidden You should input the Wi Fi name and password if you w...

Page 10: ...was insert into the KGateway 4 2 2 View the WAN interface status 4 2 2 1 Ethernet status The AP MAC was also printed in the KGateway shell WAN IP The gateway IP address in WAN interface Router IP Your...

Page 11: ...way connect to internet by cellular the cellular signal will show in this page Very good signal RSRP 85dBm Good signal RSRP 85 95dBm Middle signal RSRP 95 105dBm Pool signal RSRP 105 115dBm Very pool...

Page 12: ...on page where each field is defined as follows 1 Upload period KGateway uses this parameter to control upload period of modified advertisement data about KBeacon to Cloud It needs at least Upload peri...

Page 13: ...rvices filter to 0xFEA0 6 BLE mac filter KGateway can use this parameter to filter KBeacon mac address This parameter uses Regular express For example if Ble Mac filter value set to 20DD then followin...

Page 14: ...not include advertisement content This option will reduce the advertisement packet size 4 3 2 MQTT without SSL configuration 1 Service Access select MQTT and the KGateway will using MQTT protocol to...

Page 15: ...of the gateway to the MQTT server such as pictures and new response messages is published through this topic 9 Subscribe Action The gateway store will subscribe to the request from the MQTT server to...

Page 16: ...J8l KYXcrvHAniyBEszeBzA37kxK4hhAc7EuM8t0fuolOqHbRApc29sFXwC mhz xa72 FqVyAKeYUlREr808mcjyInvaaZJH9IgjAiAzONT38eNbvTbH9MHV2fD1SEZJozqH mvW6BCgEjuPpvzIjGva1tO9tXegheLPEM J1bnm7i5uPtN26BgZxxAxcuoxFQSST g...

Page 17: ...LpkjatKjjUZY 8MqKohDDKATEo7J8 VAUU 1RHH1rL7qTke7bqQA1D63X4uMCoqnENNVIrdx0aPs3 FbJamviEWeHE7Xe 9z ttnkD46iH6nK94FR4K1yFFql16VDXyj 8COAl5lgxBqP9 i6lfDq3d6CrPxL8p1REAy TigRD6jkKIr0xRbT8iMKMfgEknkmPvUSwB9...

Page 18: ...gq9u15sFVSkKq5I2NQLjDhtCB5 alv3YzKpuv6lg0GlH2 9T75FmQ0StYMJcWkOVmrfUQm7fNzFZv06CVIHkF3PaH823 p4Gs END RSA PRIVATE KEY 10 Publish Topic The status of the status release message the status of the gatewa...

Page 19: ...eway can support simple password that connect to clouds 4 4 Modifying the Web Portal Login Password The default login password is root and users can change it to other password 5 Quickly verify KGatew...

Page 20: ...dically post the KBeacon advertisement data to HTTP server 4 You can view the reported data on HTTP server by follow address You should replace the mac address to your KGateway http api ieasygroup com...

Page 21: ...normal Check if the network type is right Check the network status If Gateway connects network success it will get the IP address and DNS IP address Also the RX Bytes and TX Bytes will increase 6 1 1...

Page 22: ...NG command detection KGateway on MQTT HTTP server The PING command is used to detect whether the base station and the MQTT server network are connected If the ping failed please check whether the LAN...

Page 23: ...y KKM Inc public 23 33 Assuming that the IP address of the router is 192 168 3 1 the IP address of the base station can be configured as 192 168 3 128 KKM MQTT server information Address api ieasygrou...

Page 24: ...rts MQTT client to verify KGateway in KGateway API Introduction document If MQTT client connection fails please check 1 is there a firewall on the MQTT server to prevent other client connections The d...

Page 25: ...cellular provide signal Input 3001 12345 on the dial UI then tap on call Please check the rsrp0 signal You can goto step2 if the iPhone s signal was much bigger then KGateway showing If it is almost...

Page 26: ...ts a variety of filtering conditions to meet the filtering requirements in different scenarios 7 1 Scenario 1 Only upload nearby beacon advertisement Sometimes we want the KGateway only report the KBe...

Page 27: ...rtisement message number Also some MQTT hub may limit the max MQTT message size For example If the advertisement packet does not change The Gateway use a long upload period interval to send the advert...

Page 28: ...BLE mac address is reversed it means the BLE mac address end with 33DD We can set the BLE mac filter to 33DD to filter KBeacon device The Gateway only report KBeacon advertisement packet to clouds 7 4...

Page 29: ...r 59 uuid 7777772E6B6B6D636E2E636F6D000001 majorID 0001 rssi 64 minorID 0001 type 4 time 2019 09 02 09 47 43 gmac D03304002122 7 5 Scenario 5 Only upload Eddystone advertisement Sometimes we want the...

Page 30: ...ne beacon packet s services ID is 0xFEAA If we set the service id then the KGateway will only report Google Eddystone packet 7 7 Scenario 7 Beacon Location Sometimes the clouds only need to monitor be...

Page 31: ...r own MQTT Server There is some third party MQTT server software Following example uses mosquito as an example which test in windows10 environment 1 Download mosquito https mosquitto org files binary...

Page 32: ...ent generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no g...

Page 33: ...s device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation RF Exposure Warning Statements This equipm...

Reviews: