Use of nRF52840 Dongle to select one of several BLE clients to connect to USB port

A few years back I used a multilink project developed by one of the Nordic support personnel, to allow using the nRF52840 devkit board to talk to one of several Peripherals via the BLE emulation of a serial port. I have a current project needing to do the same thing, but using the nRF52840 Dongle, which offers only a USB serial port. I have projects for both the 10059 board connecting to a single Peripheral, and the multilink project that can addressably connect to one of several available Peripheral devices. The latter uses the UARTE module, with the supervisory processor providing the connection to USB. I am having difficulty combining the functionality, such that I can select which of several Peripheral devices to communicate with, when run on the Dongle board. Has such an application already been done, or can anyone offer pointers as to how to go about it? I am using the older nRF5 SDK.

Parents Reply
  • SteveHx said:
    I already have the BLE-to-USB functionality working.

    Okay, good.

    SteveHx said:
    t appears at present that something inside ble_stack_init throws an error and causes a reset, but only if I configure for NRF_SDH_BLE_CENTRAL_LINK_COUNT and NRF_SDH_BLE_TOTAL_LINK_COUNT greater than 1.

    Typically, this indicates that you need to allocate more RAM to the SoftDevice. There is an older post on this topic here: http://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory

Children
Related