python-gammu
python-gammu copied to clipboard
How to expose or force USE_SMSTEXTMODE from python?
Some alarms system only receive SMS in text mode and gammu seems to always default to send in PDU mode.
Is there a way to expose or force text mode from the python API?
Thanks.
Oscar
The features configuration is indeed not exposed in the Python API. So far, the preferred solution was to include needed flags inside Gammu, so that it does not have to be configured by every user: https://github.com/gammu/gammu/blob/master/libgammu/gsmphones.c
The features configuration is indeed not exposed in the Python API. So far, the preferred solution was to include needed flags inside Gammu, so that it does not have to be configured by every user: https://github.com/gammu/gammu/blob/master/libgammu/gsmphones.c
Please help me make this. What I can do?
I don't see SIM800 in this config:
/* Other */
{"SIMCOM_SIM300D","SIMCOM_SIM300D","", {F_ENCODED_USSD, 0}},
{"SIMCOM_SIM900","SIMCOM_SIM900","", {0}},
{"Quectel_M35", "Quectel_M35","", {0}},
how I can add SIM800 configuration in docker HA on Synology NAS?
This should be a change in the C version of gammu.
Filed new issue to track it:
https://github.com/gammu/gammu/issues/752
gammu/gammu#752
Thx very much ! but I use SIM800 on HomeAssistant. I dont know what GSM modem using in my alarm system. I send sms to my alarm system from SIM800. I hope we understand each other
It’s working! Thx you very much!