BLE UART

We have an NRF52833 connected to the host board(runs LINUX) through UART can anyone help us with the code that goes in the NRF module that can make it work as a transceiver module(just like BLE adaptor) like sending data received from BLE to UART and data received from the host board to BLE

The final solution we are looking for is as follows: Using python on the host board we should be able to use NRF as a BLE adaptor and connect to BLE devices like sensors and receive data from them. All the connection and scanning and reading data code should be controlled or written in python and NRF should act like a transceiver module 

Can it be done? or are we looking in the wrong direction? 

Parents Reply
  • 1) Flashed HCI_UART sample using below steps 
    -west build -p auto -b nrf52833dk_nrf52833 samples\bluetooth\hci_uart
    -west flash
    2)Connected the board to linux machine and ran the below command 
    -sudo btattach -B /dev/ttyACM0 -S 1000000 -R
    btattach
    3) ran hciconfig 
    output 
    hciconfig
    can see two Bluetooth devices one is of laptop and one is the NRF connected 
    4) ran btmon
    output 
    btmon
    5) After that tried to run hciconfig scan , bluetoothctl scan , hci1 find -l but none of this was able to scan for ble using nrf as dongle 

    why is the device BD address 00:00:00:00 is it a valid address? 

Children
Related