Identification of connected APP in NRF52840 devices.

Hello Everyone,

                           I am a beginner for working on Nordic devices. I have one query. I have to build a firmware in NRF52840. Now 2 different apps will be connecting to this NRF52840. I will be configuring NRF52840 as a peripheral device. Now there are 2 apps. Both the apps are different and have different functionality:-

1) 1st app.(APP A) -- after connection with BLE, the device will continuously send some data to this app.

2) 2nd app (APP B)- The device will start some activity after BLE authentication.

My question is how will the device(NRF52840) know which app is connected to the device? What code do I write in the device so that device will identify which app is connected to the device? Will I have to create 2 different services for 2 different apps?

Please help me on this.

Parents Reply Children
Related