EasyManua.ls Logo

SeeedStudio reComputer R1000 - Wi-Fi Scanning; Bluetooth Scanning; Lora over Mini-Pcie; Lora SPI

SeeedStudio reComputer R1000
46 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
reComputer R1000
© 2009-2024 Seeed Technology Co.,Ltd. All rights reserved.
23
# Don't forget to connect to network before running command
git clone https://github.com/rm-hull/spidev-test.git
2. Navigate into the spidev-test directory:
cd spidev-test
3. Compile the spidev_test.c file:
gcc spidev_test.c -o spidev_test
4. Run the spidev_test program with the following command:
./spidev_test -D /dev/spidev0.1 -v -p hello
This command tests SPI communication on the specified SPI device (/dev/spidev0.1) with verbose output (-v) and sends
the message "hello" (-p hello).
By shorting the TPM module's MISO and MOSI pins, you're effectively creating a loopback scenario, where data sent on
MOSI is received on MISO. This setup allows you to test SPI communication without an actual device connected.
3.5 Wi-Fi Scanning
To scan for Wi-Fi networks:
sudo iwlist wlan0 scan
This command will list available Wi-Fi networks along with their details.
3.6 Bluetooth Scanning
To scan for Bluetooth devices:
sudo bluetoothctl
This command will open the Bluetooth control interface. From there, you can run additional commands to scan for nearby
Bluetooth devices:
scan on
This command will start scanning for nearby Bluetooth devices. You can then use other commands within the bluetoothctl
interface to interact with Bluetooth devices, such as pairing or connecting to them.
3.7 LoRa
®
over Mini-PCIe
3.7.1 LoRa
®
SPI
After install the LoRa® SPI to Mini-PCIe slot 2, can configure LoRa® SPI, follow these steps:
1. Clone the SX1302_HAL repository:
cd ~/
git clone https://github.com/Lora-net/sx1302_hal
2. Navigate into the cloned directory:
cd sx1302_hal
3. Modify the configuration file:

Related product manuals