Concurrent BLE connection

I have a project with nRF52833 and nRF Connect SDK. In low power mode, the nRF52833 provides some simple BLE functions as host and controller. In high power mode, the nRF52833 has a UART connection to a 4-core processor running embedded Linux and its own BLE host. The UART here is an HCI interface.
Is it possible to run both functionalities, i.e. Linux BLE host -> HCI/UART  -> controller on nRF52833 and additionally host/controller on nRF52833 simultaneously in the sense of a concurrent BLE connection?

Parents
  • Hello,

    Unfortunately, it is not possible to have both a full BLE application and an HCI device running at the same time, as you request. 

    Does it need to be HCI? Perhaps you can look into our Bluetooth Shell application? It is poorly documented, because it is used a lot by our developers, but basically, it is kind of a serialization of the BLE stack. It will not work as a HCI device for your linux BLE host, but you can use serial commands to control the device. Is that something that could work?

    Here is a guide showcasing the Bluetooth shell project:

     Using Bluetooth Shell 

    Best regards,

    Edvin

  • Hello Edvin,

    Unfortunately, that's not a solution for us.

    it is not possible to have both a full BLE application and an HCI device running at the same time,

    What exactly do you define by the term 'full BLE application'? It sounds like a half or lightweight BLE application is possible in parallel.


    With only HCI, what would happen if the BLE host goes to sleep/sleeps and the controller continues to run?

  • By full BLE application I mean that the nRF e.g. starts advertising, connect to devices, send messages (notifications/indications) on it's own. 

    This will not be done in HCI. When the chip is running HCI, it will only do as it is told by the host. So the host will determine when it should start/stop advertising, connect/disconnect, send notifications/indications, turn on/off notifications on connected devices, read characteristics from a connected device, etc.

    itec said:
    With only HCI, what would happen if the BLE host goes to sleep/sleeps and the controller continues to run?

    If the host goes to sleep, the HCI device will continue to do the last thing it was told to do, and it will wait for new commands from the host. 

    If the host suddenly wakes up, and the HCI device has started doing a lot of things on it's own, and is not in the state where it is expected to be, things will start to act weird, and you wouldn't want that.

    BR,
    Edvin

Reply
  • By full BLE application I mean that the nRF e.g. starts advertising, connect to devices, send messages (notifications/indications) on it's own. 

    This will not be done in HCI. When the chip is running HCI, it will only do as it is told by the host. So the host will determine when it should start/stop advertising, connect/disconnect, send notifications/indications, turn on/off notifications on connected devices, read characteristics from a connected device, etc.

    itec said:
    With only HCI, what would happen if the BLE host goes to sleep/sleeps and the controller continues to run?

    If the host goes to sleep, the HCI device will continue to do the last thing it was told to do, and it will wait for new commands from the host. 

    If the host suddenly wakes up, and the HCI device has started doing a lot of things on it's own, and is not in the state where it is expected to be, things will start to act weird, and you wouldn't want that.

    BR,
    Edvin

Children
No Data
Related