Jump to content

problem sending audio with modem


Buzzchewan

Recommended Posts

Hello,

I am trying exactly what you said about to send a voice message by the modem...

But when i do the AT+VTX CONNECT, i am playing the message by a shell script : cat sirene.wav > /dev/ttyS0 ...

But i dont know how, (or if its good) to send a <DLE><ETX> to stop the modem...Well im french sorry for my bad expression :lightbulb:

Better to show you what i did, and if you can see what is wrong...Would be nice :

In a chat script

:::Appel.txt:::

ABORT BUSY

ABORT ERROR

ABORT 'NO CARRIER'

'' ATH

OK AT&F

OK AT+IFC=2,2

OK ATM1L2

OK AT+FCLASS=8

OK AT+VSM=1,8000,0,0

OK AT+VIT=0

OK AT+VTD=10;+VDT=1,0

OK AT+VSD=0,0;+VLS=5

OK AT+VSP=1

OK AT+VRN=15

OK ATDT\T

OK AT+VTX

CONNECT

:::END:::

:::Then in a phone.sh shell script :::

#Script phone.sh

#

echo $USER appel le fichier "chat" pour composer un num

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.