Bluetooth transfer between two android devices (P2P sync)

Hi,

I am hoping to implement DHIS2 Capture in very rural locations without internet for a community health application that would contain a component of Community Event Based Surveillance (CEBS). This requires that periodic data transfer occurs between community level care givers and their supervisors without an internet connection.

With this case study in mind, we are thinking of what configuration on the DHIS2 capture application can be used to build this function for data transfer leveraging bluetooth technology on android device.

1 Like

Hi Al-Gassin,

I am trying to utilize Bluetooth for data transfer between two android devices in an offline environment.

Is there any code template or documentation I could use?

Hi @Alhaj,

I have several questions about the use case please:

Does this mean that the CEBS data entry users don’t access the internet at all so you’re working on send the data to the supervisors (when they meet) using bluetooth? Which means the supervisors also don’t have internet connection? The point of the two questions above is then I wondering when does the sync to the main instance happens?

Based on the current software features this is not currently available; however, there might be a way using ‘metadata synchronization’ to create local networks (if the supervisors have laptops). Here’s an alternative architecture that I would like to suggest (please note that this will require a server administrator to review):


The supervisor will have a local instance installed in the laptop, gives the data entry users local network access link using hotspot.

Another option to use SMS for reporting, but you can always provide more details about the usecase and share insights for a new feature request, see ideas.

I hope this helps. I’m looking forward to feedback from network/server administrators on how functional this would be.

Thank you!