This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BleFi

Hi,

I downloaded the "BleToWifiGateway-1.0.0-windows-installer.exe" and flash the image.

But I got error message as below. 

[MQTT] ERROR - Dev-context <0> Broker connection fail

Does any face this error and fix it???

Detail log in attached file.

*********************************************************
       BleFi - BLE-WiFi gateway (Jorjin)
       Version : 1
*********************************************************



[NPI] Waiting for SBL to be complete ...
[WLAN EVENT] Device Connected to the AP: JFAP , BSSID: 4:8d:38:9:15:5


[WiFi] Connecting to network
[WiFi] Auto Connecting....
[GW] SimpleLink Ready, starting Gateway[NETAPP EVENT] IP Acquired: IP=192.168.1.13 , Gateway=192.168.1.1

[WiFi] Autoconnect Success
KickGenericTask()
[GW] Device bonding information file <blefi.cfg> Present
Autoscan 0 seconds
G:>
[MQTT] GW Mode   : demo
[MQTT] Gw Server : 192.84.45.44
[MQTT] Dev Mode   : quickstart
[MQTT] Dev Server : quickstart.messaging.internetofthings.ibmcloud.com
[MQTT] Client ID 20c38ff557f3
[MQTT] Server : 192.84.45.44
[MQTT] Client-Id : 20c38ff557f3
[MQTT] Connecting to broker...
[SBL] Firmware Up to date
[GW] Waiting for NPI initialization ...
[MQTT] Broker connect Successful
[MQTT] Subscribing to topics...
[GW] NPI initialized.
[GW] Starting the BLE Stack
[GW] BLE Stack Initialized

[MQTT] Subscription to these topics successful
/blefi/find
/blefi/20c38ff557f3/scan
/blefi/20c38ff557f3/linke
/blefi/20c38ff557f3/linkt


G:> scan

[GW] Discovering...
Device Found -  0  Simple Topology 0xB0B448D24B86 0 173
Device Found -  1
Device Found -  2  CC2650 SensorTag 0xC4BE84706C03 0 212
Scan Complete

Devices discovered : 3
Use <list> command to display the devices


G:> linke 2

[GW] Connecting to the device...
Connected to Device - 0  CC2650 SensorTag 0xC4BE84706C03

Device successfully connected , Conn Id - 0 BD addr -0xC4BE84706C03

G:>
[MQTT] Dev Client Id : d:quickstart:st-app:c4be84706c03
[MQTT] ERROR - Dev-context <0> Broker connection fail