PDA

View Full Version : QModemService in QtExtended 4.4



funghy
24th February 2009, 23:37
I want to communicate directly with the GSM Modem of my neo.
When I call:


QModemService* modemService = QModemService::createVendorSpecific();


It gives the following output in the log:



Feb 25 09:26:19 om-gta02 user.notice DEBUGGER: Modem : opening serial device "/dev/ttySAC0" at 115200
Feb 25 09:26:19 om-gta02 user.notice DEBUGGER: Modem : Device: "/dev/ttySAC0" is a tty device: True
Feb 25 09:26:19 om-gta02 user.notice DEBUGGER: Modem : NONBLOCK successfully reset
Feb 25 09:26:19 om-gta02 user.notice DEBUGGER: Modem : Opened "/dev/ttySAC0"
Feb 25 09:26:19 om-gta02 user.notice DEBUGGER: Modem : querying multiplexer plugin "neomultiplex"
Feb 25 09:26:19 om-gta02 user.notice DEBUGGER: Hardware : virtual bool NeoMultiplexerPlugin::detect(QSerialIODevice*)
Feb 25 09:26:19 om-gta02 user.notice DEBUGGER: Hardware : virtual bool NeoMultiplexerPlugin::detect(QSerialIODevice*) is gta02
Feb 25 09:26:19 om-gta02 user.notice DEBUGGER: AtChat : T : "^Z"
Feb 25 09:26:29 om-gta02 user.notice DEBUGGER: Mux : *** mux setup timed out ***
Feb 25 09:26:29 om-gta02 user.notice DEBUGGER: AtChat : T : "^Z"
Feb 25 09:26:39 om-gta02 user.notice Qtopia: ApplicationLayer : Trigger todo
Feb 25 09:26:39 om-gta02 user.notice DEBUGGER: Mux : *** mux setup timed out ***
Feb 25 09:26:39 om-gta02 user.notice DEBUGGER: Initializing the modem failed.


While when I start my device i got the following:


Feb 25 08:36:43 om-gta02 user.notice Qtopia: Modem : opening serial device "/dev/ttySAC0" at 115200
Feb 25 08:36:43 om-gta02 user.notice Qtopia: Modem : Device: "/dev/ttySAC0" is a tty device: True
Feb 25 08:36:43 om-gta02 user.notice Qtopia: Modem : NONBLOCK successfully reset
Feb 25 08:36:43 om-gta02 user.notice Qtopia: Modem : Opened "/dev/ttySAC0"
Feb 25 08:36:43 om-gta02 user.notice Qtopia: Modem : querying multiplexer plugin "neomultiplex"
Feb 25 08:36:43 om-gta02 user.notice Qtopia: Hardware : virtual bool NeoMultiplexerPlugin::detect(QSerialIODevice*)
Feb 25 08:36:43 om-gta02 user.notice Qtopia: Hardware : virtual bool NeoMultiplexerPlugin::detect(QSerialIODevice*) is gta02
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : T : "^Z"
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F : ^Z
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F :
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F :
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F : OK
Feb 25 08:36:43 om-gta02 user.notice Qtopia: Modem : Attempts needed to initialize the modem 0
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : T : "ATE0"
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F :
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F : ATE0
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F :
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F :
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F : OK
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : T : "AT+CMUX=1,0,5,64"
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F :
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F :
Feb 25 08:36:43 om-gta02 user.notice Qtopia: AtChat : F : OK


Has anybody any clue how to communicate directly with the modem? I'm stuck for a few days now with this problem.

Thanks in advance!

Maarten