hbnet icon indicating copy to clipboard operation
hbnet copied to clipboard

Implement Generation of SMS

Open kf7eel opened this issue 4 years ago • 8 comments

Implement the ability to generate and send SMS.

kf7eel avatar Apr 26 '21 20:04 kf7eel

Can successfully send Motorolaa type SMS. Have received on Anytone D878. MD-380 still having issues.

kf7eel avatar Apr 26 '21 20:04 kf7eel

Tested with a Radioddity GD-73e.

I am able to receive the first message sent. The others are transmitted via the MMDVM, received by the radio (I can see the transmission on GQRX with my SDR), but are ignored by the radio.

After a reboot of the GD-73e, it's able to receive another SMS.

It seems like there's some kind of message unique ID which is reset at the reboot of the radio.

jess-sys avatar Jan 31 '22 23:01 jess-sys

This is exciting to hear! This is the first report of sucessfully receiving a generated SMS, that is not my test radio.

The message sequence number is hardcoded into the SMS data sequence. Each message sent from the gateway contains a sequence number that some radios do indeed use to reject duplicate messages. I have seen similar behavior from my radio. My test radio has not had an issue receiving with the same message sequence number. However, it sounds like your radio uses this. I'll change the code to actually generate a sequence number. I'll fix this shortly...

Thanks!

kf7eel avatar Feb 01 '22 13:02 kf7eel

Committed a fix for generating SMS sequence numbers, should fix your issue.

kf7eel avatar Feb 19 '22 14:02 kf7eel

Are you working on Hytera En/Decoding too?

KingAnonGit avatar Mar 11 '22 21:03 KingAnonGit

Committed a fix for generating SMS sequence numbers, should fix your issue.

Will try it out ASAP. Thank you for your work.

jess-sys avatar Mar 11 '22 21:03 jess-sys

See data_gateway-SAMPLE.cfg as well, there are some new changes that are required as of a few commits ago.

Committed a fix for generating SMS sequence numbers, should fix your issue.

Will try it out ASAP. Thank you for your work.

kf7eel avatar Mar 12 '22 00:03 kf7eel

Are you working on Hytera En/Decoding too?

I made a change last week that should allow the gateway to decode Hytera SMS, I have not tested it though. Don't have a Hytera radio.

kf7eel avatar Mar 12 '22 00:03 kf7eel