silentSMS
silentSMS copied to clipboard
[ BUG ] The sms is not silent, recipient gets the message
Sms are received on the recipient end and appear in messaging app
Hi,
thanks a log for filing this bug. Could you tell me what kind of phone did you use as receiver? Did you use the app itself, or the telnet-service of the app to send the message?
I used app itself.
It seems that the issue lies here:
pdus.encodedMessage[size + 4] = (byte) 0x40;
Whereas in the code of - bratwurzt / ZeroSMS the following code works as it should more or less
if (radioVm1.isChecked())
{
pdus.encodedMessage[size + 5] = (byte)0xC8; //voicemail on
}
else if (radioVm0.isChecked())
{
** pdus.encodedMessage[size + 5] = (byte)0xC0; //voicemail off **
}
else if (radioFlash.isChecked())
{
pdus.encodedMessage[size + 5] = (byte)0xF0; //flash
}
So you suggest that sometimes the offset is 5 bytes instead of 4? I can add a radiobutton for this to the UI easily, and then you can check it whether it solves the problem for you, would that be OK?
Sorry guys, I haven't been updating this code a lot so those comments don't necessarily mean what they are supposed to mean. =) With offsets - mostly I've been try-fail testing and sadly only voicemail on/off works for sure.
I think the best would be if I could add just a single field to the app which you can use to specify the offset value itself, making the trial-error testing easy and possible. However I'm not sure when I will have time to do this, and rancidfrog doesn't seem to be interested anymore so it might take longer for me to do this.