---
# System prepended metadata

title: To get the RSSI value of BLE 5.0 (Tutorial of Matlab)

---

# To get the RSSI value of BLE 5.0 (Tutorial of Matlab)
Wireshark
https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE/Download#infotabs
https://infocenter.nordicsemi.com/pdf/nRF_Sniffer_BLE_UG_v3.1.pdf
https://www.segger.com/downloads/jlink/JLink_Windows_V752d_x86_64.exe
https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop
https://www.wireshark.org/download.h
## Tutorial of RSSI and PDR value of BLE 5
https://www.pic-control.com/bluetooth-sniffing-using-wireshark-nrf52832-dk-board/
https://github.com/juliankaroliny/InSecTT_BLE_Channel_Sniff_Dataset/tree/v1.0.0
## For sending packets master to slave and slave to master
install putty
set speed 115200 and serial port
C:\Users\Mandavi Dubey\Downloads\DeviceDownload (1)\nRF5SDK1702d674dde\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart\hex\ble_app_uart_pca10056_s140.hex
## Github hints
1. https://github.com/ejparkNETLAB/BLEX_Slave
2. https://github.com/ds-kiel/eAFH
3. https://jimmywongiot.com/2019/04/15/how-to-modify-the-device-information-through-ble-connection/
4. ** (Python random PRNG) ** https://github.com/virtualabs/ble5-research/blob/master/csa2-hopinter-simulate.py
### Example and information Blog and git
* https://junqing-zhang.github.io/posts/2020/11/blog-post-bluetooth/
* https://github.com/tinygo-org/bluetooth
* https://novelbits.io/bluetooth-5-speed-maximum-throughput/
### BLE MATLAB Github

1. https://github.com/letruongthanh24103698/BLE_matlab.git
2. https://github.com/DohaElHady/BLE_Phy_Matlab/blob/main/BLE_PhyLayerSimulation.m?fbclid=IwAR1jnwPvfupAH3FIonJlvfTuESRF7q48F1niEfyXkQEZCklInQGyjBnjjp4
3. https://github.com/dipucwc/Energy-Efficiency-Evaluation-of-Bluetooth-5-BLE-5-Technology/blob/main/Energy%20Efficiency%20Evaluation%20of%20Bluetooth%205%20(BLE%205)Technology.m
**Matlab Helper BLE**
https://ww2.mathworks.cn/help/bluetooth/ug/end-to-end-bluetooth-low-energy-phy-simulation-with-rf-impairments-and-corrections.html
https://www.mathworks.com/help/bluetooth/ug/noncollaborative-bluetooth-le-coexistence-with-wlan-signal-interference.html
https://www.mathworks.com/help/bluetooth/ug/end-to-end-bluetooth-br-edr-phy-simulation-with-wlan-interference-and-adaptive-frequency-hopping.html
https://www.mathworks.com/help/bluetooth/ug/end-to-end-bluetooth-low-energy-phy-simulation-with-rf-impairments-and-corrections.html?requestedDomain=us
https://www.mathworks.com/help/bluetooth/ug/evaluate-the-performance-of-bluetooth-qos-traffic-scheduling-with-wlan-signal-interference.html#BluetoothSchedulingExample-16
## siliconlab
https://github.com/SiliconLabs/bluetooth_stack_features.git
### phd Thesis doc
https://michaelspoerk.com/assets/dissertation_spoerk_michael.pdf
## commmand to run the nrf52
* source ~/zephyrproject/.venv/bin/activate
* west build -p auto -b nrf52840dk_nrf52840 samples/basic/blinky
* JLinkRTTViewer
(OR)
* sudo env LANG=en_US minicom -D /dev/ttyACM0 -b 115200
* sudo env LANG=en_US minicom -D /dev/ttyACM1 -b 115200
 **For Some example running**
1. west build -p auto -b nrf52840dk_nrf52840 samples/bluetooth/peripheral_hr/
2. west build -p auto -b nrf52840dk_nrf52840 samples/bluetooth/central_hr/
3. **for algo eAFH**
west build --pristine -b nrf52840dk_nrf52840 samples/bluetooth/sample_eAFH/
(OR)
west build -p auto -b nrf52840_pca10056 samples/bluetooth/sample_eAFH/
## nrf connect desktop ubuntu
https://docs.jaredwolff.com/nrf9160-nrf-connect-desktop.html
### Errors and solution
edit sample.yaml for boardtype
/home/./zephyrproject/zephyr/samples/bluetooth/hci_spi
## BLE RSSI Dataset
https://zenodo.org/search?page=1&size=20&q=BLE%20data%20channel%20rssi

