Hi Guys,
I recently bought the IoT LoRa Node Phat, using with Raspberry Pi 4 Model B 8GB RAM.
My OS Version : Raspbian GNU/Linux 10 (buster)
For reference, I did follow this link,
I have run in to an issue with the initial setup, it seems when running rak811 commands I’m getting errors, for example,
pi@raspberrypi:~ $ rak811 -d get-config dev_eui
DEBUG:rak811.serial:Serial initialized
DEBUG:rak811.serial:Sending: >at+get_config=dev_eui\r\n<
RAK811 timeout: Timeout while waiting for data
Details :
pi@raspberrypi:~ $ ls -l /dev/serial*
lrwxrwxrwx 1 root root 7 Jan 25 11:27 /dev/serial0 → ttyAMA0
lrwxrwxrwx 1 root root 5 Jan 25 11:27 /dev/serial1 → ttyS0
pi@raspberrypi:~ $ ls -l /dev/ttyAMA*
crw-rw---- 1 root dialout 204, 64 Jan 25 11:27 /dev/ttyAMA0
pi@raspberrypi:~ $ ls -l /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 Jan 25 11:27 /dev/ttyS0
pi@raspberrypi:~ $ rak811v3 -v -d version
DEBUG:rak811.serial:Serial initialized
DEBUG:rak811.serial:Sending: >at+version\r\n<
Traceback (most recent call last):
File “/usr/local/bin/rak811v3”, line 8, in
sys.exit(cli())
File “/usr/local/lib/python3.7/dist-packages/click/core.py”, line 1130, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.7/dist-packages/click/core.py”, line 1055, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.7/dist-packages/click/core.py”, line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.7/dist-packages/click/core.py”, line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.7/dist-packages/click/core.py”, line 760, in invoke
return __callback(*args, **kwargs)
File “/usr/local/lib/python3.7/dist-packages/click/decorators.py”, line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File “/usr/local/lib/python3.7/dist-packages/rak811/cli_v3.py”, line 146, in version
click.echo(lora.version)
File “/usr/local/lib/python3.7/dist-packages/rak811/rak811_v3.py”, line 442, in version
return(self._send_command(‘version’))
File “/usr/local/lib/python3.7/dist-packages/rak811/rak811_v3.py”, line 252, in _send_command
response = self._serial.receive(timeout=timeout)
File “/usr/local/lib/python3.7/dist-packages/rak811/serial.py”, line 156, in receive
raise Rak811TimeoutError(‘Timeout while waiting for data’)
rak811.serial.Rak811TimeoutError: Timeout while waiting for data
Maybe my Phat and Raspberry are not connected correctly ?