SMS send from script

Home Forums General SMS send from script

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15899
    Jeff Eigner
    Participant

    I’m using sms-utils to send messages. My H/W is BeagleBone Black – MTD-H5. Is it possible to place an entire sms message in a single string?

    I.E. sms -d /dev/ttyACM3 <address> <text body>

    I don’t see anything that describes non-interactive mode, is that the mode I need to use?

    Thanks

    #15901
    Brandon Bayer
    Blocked

    Jeff,

    You can put the text body in a file and use the -f option

    ~# sms send
    usage: send [ OPTIONS ... ] < number >
    where  OPTIONS := {
             --alphabet { seven-bit | eight-bit } |
             -f, --file < input-file > |
             --smsc-addr < smsc-addr > |
             --cmgw-first
           }
    
    #15929
    Jeff Eigner
    Participant

    Thanks Brandon!

    I got my “help” from ~# sms
    Usage: sms [ OPTIONS … ] { send | read | list | delete }
    where OPTIONS := {
    -d, –device <device> |
    -b, –baud-rate <rate> |
    -i, –interactive |
    -n, –non-interactive |
    –read-timeout <timeout> (default: 5000 milliseconds) |
    –verbose
    }
    Should have tried ~# sms send

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.