hbnet
hbnet copied to clipboard
Implement Generation of SMS
Implement the ability to generate and send SMS.
Can successfully send Motorolaa type SMS. Have received on Anytone D878. MD-380 still having issues.
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.
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!
Committed a fix for generating SMS sequence numbers, should fix your issue.
Are you working on Hytera En/Decoding too?
Committed a fix for generating SMS sequence numbers, should fix your issue.
Will try it out ASAP. Thank you for your work.
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.
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.