Mqtt issues

Hi is the data sent to a Mqtt server different from the AP gateway then the BLE receiver.
I have configured an MQTT server and receive the info from the receiver fine however the data from the AP gateway
is not readable.
Are the two devices passing on the data to the MQTT in a different format?

Yes. They are in different format. Please check the link for AB Gateway packet format

well that sucks!!! :slight_smile:

Why would you create so your communications are different as usual beacon data?
now we have two create two different instances to support both devices from your company.

Is there any way we can get it to just send the advertising data from beacons the same as the receiver???

Thanks

Sorry. AB BLE Gateway has better BLE scan performance. It can get more data in same time. If we use the same format with receiver, we can only post a little data in same time (JSON packet size is 2x size than binary format).

We also provide php sdk to parse the data.

Could you answer a few questions for me on the gateway.

1.Does the device do a http post on port 80 and send its data packet to a web server when its configured to use "HTTP Client” connection type ?
2.Can the target port be changed from 8080 to ssl 443 port
3.If a custom built socket server is required to listen on port 8080.
do you have any example code to illustrate how the socket protocol must work
using preferably C#? any links would also be helpful.

Thanks mate

1.Does the device do a http post on port 80 and send its data packet to a web server when its configured to use "HTTP Client” connection type ?

Yes. but the port is configurable

2.Can the target port be changed from 8080 to ssl 443 port

You can change it to 8080. But SSL is not supported yet

3.If a custom built socket server is required to listen on port 8080.

WebSocket is supported. Not socket server

do you have any web socket configuration and supporting handlers that you can show us so that it would simplify this integration for us?

Here’s a WebSocket server written in php. Please check it. You can use our php sdk to parse data.

Thanks, couple more questions.

BLE Gatewawy

1.Does the Ab BLE device do a http post on port 80 and send its data packet to a web server when its configured to use "HTTP Client” connection type ?
2.Can the target port be changed from 8080 to ssl 443 port
3.If a custom built socket server is required to listen on port 8080.
do you have any example code to illustrate how the socket protocol must work
using preferably C#? any links would also be helpful.

Please check my previous link

do you have an example of a http handler that i can load onto our server so that the AB gateway can post data to?
I saw that one of the settings of the AB gateway was an http server.

Thanks again

Here’re http server sample codes written in nodeJS and JAVA

thank you