我有一个支持语音的56K传真调制解调器,应该支持全双工。我需要打电话,我可以播放声音(输出),还可以接收声音(输入)。
程序: - 我
nitializing modem
AtQ0 ' Enables modem to send result codes to the DTE.
AT+GCI=B5 ' set country of installation to XX
AT-STE=7 ' to be able to get busy , line in use messages
AT+FCLASS=8 ' set mode to voice mode
AT+VSM=130 ' set received audio format
-- Dialing phone number
ATD123456; ' to dial number 123456
-- WHAT IS NEXT
??? I do assume that i have to read the data signals using VTR , but it gives me error since the modem is not into connect mode. If I used AT+VLS=1 , it will work well to get the audio data from line, but I can not then dial number (ATD1123456;)
问题: - 启动电话和记录数据的正常逻辑是什么。 - 然后我应该读取和写入相同的COM端口,因为此调制解调器应支持全双工。 ,还是要使用两个不同的COM端口?