Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note - even if you don't have a Wi-Fi network, Wi-Fi still needs to be enabled on most devices to use this functionality.
Note - these instructions are written for two devices. However, many clients can connect to the host without syncing to the server.

...

If you encounter an error in this process, please connect the device to the internet and submit your device's logs to the server by going to the CommCare home screen, pressing the settings button in the top right of the screen twice, selecting the "Settings" options, then pressing the settings button in the top right again, and selecting the "Force Log Submission" option.

Setting up the devices

Client- Transfer Forms

  • The first device has collected forms as usual, this forms would have been filled in offline. Please note that a user logging in for the first time in a device still requires internet connection.

    forms.jpegImage Added

  • Navigate to the home screen of CommCare ODK and select the "Settings" button

  • Select "Advanced" and choose "Wi-Fi Direct" from the drop down menu

    settings.jpegImage Added

  • Select "Transfer" at the dialog screen, this indicates that the device will send their forms to the host device

    mode.jpgImage Added

Host - Receive Forms

  • Navigate to the home screen of CommCare ODK and select the "Settings" button (It doesn't matter with which user you login as all forms will show up on HQ under the original client user)

  • Select "Advanced" and choose "Wi-Fi Direct" from the drop down menu

  • Select "Receive Forms" at the dialog screen

    Screenshot_20240704-140346_CommCare.jpgImage Added

  • Wait until the device's status reads "Connected" is showing the success messages for setting up host group (requires Wi-fi Direct to be enabled)

    Ready.jpgImage Added

Setting up the connection between the devices

Client

  • When both phones have completed these steps, the client device should press the "Discover Peers" button

    discover.jpegImage Added

  • This will populate the list of other devices you can transfer forms to

  • From the list of devices, select the host device you want to connect to. You can determine the address of your phone next to the "My Device" icon at the top of host phone's screen

...

  • The host device now needs to press "Accept" to begin the connection

  • Wait a moment until both devices read "Connected" on the peer list

  • When this is done, the sending device can press the "Transfer Forms" button to begin form transfer

  • After this process, the host device will acknowledge the transfer .and the number of transferred forms will be shown

    Screenshot_20240704-163404_CommCare.jpgImage Added

Host - Upload Forms/Syncs with CommCare HQ

  • When the host has connectivity, again select the "settings" button at the top right of the home screen and select the "Wi-fi Direct" option

  • Select "Send" from the dialog screenSelect

  • Then select "Submit Files"" and forms will be sent to CommCare HQ (this step requires an internet connection)

    Screenshot_20240704-163430_CommCare.jpgImage Added

If you encounter an error in this process, please connect the device to the internet and submit your device's logs to the server by going to the CommCare home screen, pressing the settings button in the top right of the screen twice, selecting the "Settings" options, then pressing the settings button in the top right again, and selecting the "Force Log Submission" option.