Skip to content

Commit

Permalink
Add subfolder for techguides
Browse files Browse the repository at this point in the history
  • Loading branch information
jaboto committed Oct 19, 2020
1 parent 4a50136 commit ba6635f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Android Compressed SMS Sync

![quick overvier of the architecture](resources/images/compressed-sms.png)
![quick overvier of the architecture](resources/images/sms-sync/compressed-sms.png)

The android app compresses the SMS using a specific module from the SDK. After the SMS is compressed it will be sent to a gateway that was configured in the settings screen of the app. When the gateway receives the SMS, a custom webhook will redirect the SMS to dhis2 server using /sms/inbound API. Finally if everything works fine, dhis2 will send a confirmation SMS using the gateway API to the originator device.

Expand Down Expand Up @@ -112,7 +112,7 @@ Compress the information using the lib mentioned before and encode the SMS in ba
## Android APP
Configure SMS gateway (ej: +34670872412) and enable SMS submission in settings:

![Android SMS Settings](resources/images/android-sms-settings.png)
![Android SMS Settings](resources/images/sms-sync/android-sms-settings.png)

If you really want to get a confirmation SMS to check if the sync was performed successfully on the server side you should enable *wait for SMS result response*.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ In the original implementation, each of the command based SMS listeners inherite

See the following diagram.

![](resources/images/smscompression.png)
![](resources/images/sms-compression/smscompression.png)


#### SMS Parser/Listener Implementation for New SMS Format
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ba6635f

Please sign in to comment.