diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index eaf8256..ab2024f 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -32,6 +32,8 @@
android:exported="true">
+
+
diff --git a/app/src/main/java/us/beckmeyer/vvmsmsreceiver/SmsReceiver.kt b/app/src/main/java/us/beckmeyer/vvmsmsreceiver/SmsReceiver.kt
index 66b941c..496fb9f 100644
--- a/app/src/main/java/us/beckmeyer/vvmsmsreceiver/SmsReceiver.kt
+++ b/app/src/main/java/us/beckmeyer/vvmsmsreceiver/SmsReceiver.kt
@@ -15,7 +15,8 @@ class SmsReceiver : BroadcastReceiver() {
@OptIn(ExperimentalStdlibApi::class)
override fun onReceive(context: Context, intent: Intent) {
- if (intent.action == Telephony.Sms.Intents.SMS_RECEIVED_ACTION) {
+ if (intent.action == Telephony.Sms.Intents.SMS_RECEIVED_ACTION ||
+ intent.action == Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION) {
val bundle: Bundle? = intent.extras
bundle?.let {
val pdus = bundle.get("pdus") as Array
@@ -23,6 +24,9 @@ class SmsReceiver : BroadcastReceiver() {
val smsMessage =
SmsMessage.createFromPdu(pdu, bundle.getString("format"))
smsMessage?.let {
+ if (intent.action == Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION) {
+ Log.d(TAG, "Data SMS received on port 5499")
+ }
val messageBody = smsMessage.messageBody
Log.d(TAG, "Message body: $messageBody")
val pduHexString = pdu.toHexString()