Closed reesion closed 4 years ago
Do you add port for mqtt broker, username and password of mqtt? Default port is 1883. For example:
sudo am43ctrl 02:0d:bf:12:8c:53 --url mqtt://192.168.1.142:1883 -u mqttusername -p mqttpassword
Do you add port for mqtt broker, username and password of mqtt? Default port is 1883. For example:
sudo am43ctrl 02:0d:bf:12:8c:53 --url mqtt://192.168.1.142:1883 -u mqttusername -p mqttpassword
Yes, i've tried it with port as well and it gave me the same error
reesion@rsha01:~$ sudo am43ctrl 02:0d:bf:12:8c:53 --url mqtt://192.168.1.142:1883
am43 scanning for 1 device(s) [ '020dbf128c53' ] +0ms am43 discovered 020dbf128c53 +204ms am43* all expected devices connected, stopping scan +0ms processLeAdvertisingReport: Caught illegal packet (buffer overflow): TypeError: this.log is not a function
Do you add port for mqtt broker, username and password of mqtt? Default port is 1883. For example:
sudo am43ctrl 02:0d:bf:12:8c:53 --url mqtt://192.168.1.142:1883 -u mqttusername -p mqttpassword
Yes, i've tried it with port as well and it gave me the same error
reesion@rsha01:~$ sudo am43ctrl 02:0d:bf:12:8c:53 --url mqtt://192.168.1.142:1883
am43* scanning for 1 device(s) [ '020dbf128c53' ] +0ms
am43* discovered 020dbf128c53 +204ms
am43* all expected devices connected, stopping scan +0ms
processLeAdvertisingReport: Caught illegal packet (buffer overflow): TypeError: this.log is not a function
How about user and password of mqtt?
How about user and password of mqtt?
Tried with username and password and getting the same error.
sudo am43ctrl 02:0d:bf:12:8c:53 --url mqtt://192.168.1.142:1883 -u mqtt -p mqtt
am43 scanning for 1 device(s) [ '020dbf128c53' ] +0ms am43 discovered 020dbf128c53 +251ms am43* all expected devices connected, stopping scan +1ms processLeAdvertisingReport: Caught illegal packet (buffer overflow): TypeError: this.log is not a function
I've managed to fix it by reinstalling the package. Thanks for your help anyway
I've managed to fix it by reinstalling the package. Thanks for your help anyway
Please close it
Hi,
I am getting error when trying to connect the device to MQTT broker.
reesion@rsha01:~$ sudo am43ctrl 02:0d:bf:12:8c:53 --url mqtt://192.168.1.142
am43 scanning for 1 device(s) [ '020dbf128c53' ] +0ms am43 discovered 020dbf128c53 +190ms am43* all expected devices connected, stopping scan +1ms processLeAdvertisingReport: Caught illegal packet (buffer overflow): TypeError: this.log is not a function