0

Does anyone know how to send a Image file via Gammu?

I am trying to send an MMS Message that contains text and image via a GSM Modem connected to a Raspberry Pi 3.

I can successfully send SMS via Gammu with no problems at all. But there is very little documentation on sending MMS with Gammu.

I have read the documentation for Gammu Utility where you can send MMS. But I am missing something.

I have all the details for my providers APN Proxy and Port Settings.

Can someone please point me in the right direction? Please?

Daddyfix
  • 146
  • 1
  • 8
  • I have read [how-can-i-send-an-mms-via-a-gsm-gprs](https://stackoverflow.com/questions/16397116/how-can-i-send-an-mms-via-a-gsm-gprs-modem-connected-to-a-linux-computer/16398683#16398683) but I am confused on how I make the APN Connection to send the payload to my provider. I have also read the [SIM800 series manual](https://www.waveshare.com/wiki/File:SIM800_Series_AT_Command_Manual_V1.09.pdf) on how to send MMS – Daddyfix Jan 11 '18 at 15:36
  • did you ever figure this out? I have the same question. – gatorreina Jan 01 '19 at 21:01
  • I sort of figured it out by not using gammu! The way I was successfull was to use Python with serial plug-in to send AT commands to the GSM Modem directly. – Daddyfix Jan 02 '19 at 02:34
  • Which device are you using? – Daddyfix Jan 02 '19 at 02:34
  • Do you know Python? – Daddyfix Jan 02 '19 at 02:34
  • Where are you from? I'm in Northern Ontario, Canada – Daddyfix Jan 02 '19 at 02:34
  • I am in Chicago and am using Huwaei E1786 which is 3G -- I've managed to get it to receive MMS. I know perl and a little bit of Python. – gatorreina Jan 02 '19 at 13:33
  • Did you use Gammu to receive the MMS? I tried to send but could find docs on how to make it work with MMS. If you want I can send u a copy of my python script – Daddyfix Jan 03 '19 at 05:42
  • Kind of, gammu just downloads the hex code then I wrote a couple perl scripts that handles decoding and fetching. The python script would be great. I'll see if I can translate it to perl. – gatorreina Jan 04 '19 at 14:28
  • That's good. If you want a copy of my script send me your email – Daddyfix Jan 04 '19 at 23:42
  • How can I send you my email without posting it here? – gatorreina Jan 05 '19 at 18:36
  • BTW, if you did this thru python you might be able to answer this python-messaging question. There's a 50 point bounty on it. https://stackoverflow.com/questions/54054097/python-messaging-failed-to-handle-http-request?noredirect=1#comment94948587_54054097 – gatorreina Jan 08 '19 at 22:18
  • @Daddyfix could you share your python-script here or on pastebin? I'm trying to figure out the same thing. – Francis Jan 18 '20 at 12:17
  • @Francis You can find my code here... https://github.com/daddyfix/lte-send.py and https://github.com/daddyfix/lte-read.py – Daddyfix Jan 19 '20 at 00:53

0 Answers0