Groups > Symbian > Symbian EPOC Java > Re: commports/6600




commports/6600

commports/6600
Thu, 05 Jan 2006 10:55:24 +010
Hi All,


Do you know why nokia 6600 returns null from 
getParamter("microedition.commports")?
The same program running at emulator works perfect and return two ports 0,1.

TIA,

Post Reply
Re: commports/6600
Thu, 5 Jan 2006 17:25:32 -0000
I guess because support for serial port communication via CommConnection is
not implemented on the Nokia 6600 MIDP.

Regards
Martin


"David Lovecraft" <DiL@nospam.com> wrote in message
news:OvWv51dEGHA.2560@extapps30...
> Hi All,
>
>
> Do you know why nokia 6600 returns null from
> getParamter("microedition.commports")?
> The same program running at emulator works perfect and return two ports
0,1.
>
> TIA,
>
> David

Post Reply
Re: commports/6600
Fri, 06 Jan 2006 10:44:16 +010

  It is so wired, becouse CommConnection is a part od MIDP2.0 and Nokia 
6600 suppose to support MIDP 2.0 and has to have implemented 
CommConnection class, right?


David


Martin wrote:
> I guess because support for serial port communication via CommConnection
is
> not implemented on the Nokia 6600 MIDP.
> 
> Regards
> Martin
> 
> 
> "David Lovecraft" <DiL@nospam.com> wrote in message
> news:OvWv51dEGHA.2560@extapps30...
> 
>>Hi All,
>>
>>
>>Do you know why nokia 6600 returns null from
>>getParamter("microedition.commports")?
>>The same program running at emulator works perfect and return two ports
> 
> 0,1.
> 
>>TIA,
>>
>>David
> 
> 
Post Reply
Re: commports/6600
Fri, 6 Jan 2006 10:49:23 -0000
Not so I'm afraid. Read the spec for JSR 118, MIDP 2.0. Under
"Specification
Requirements" you will find a list of what MUST be implemented for
compliance (i.e. things that must be supported to pass the TCK), a list of
what SHOULD be implemented (recommended practice, but could be ommitted in
particular circumstances) and a list of what MAY be supported (truly
optional).

CommConnection falls under MAY.

MIDP in Symbian OS v7.0s (upon which the Nokia 6600 is based) has no
implementaion for CommConnection.

Regards
Martin


In terms of the GCF only HTTP must be supported
"David Lovecraft" <DiL@nospam.com> wrote in message
news:hXmLTUqEGHA.3180@extapps30...
>
>
>   It is so wired, becouse CommConnection is a part od MIDP2.0 and Nokia
> 6600 suppose to support MIDP 2.0 and has to have implemented
> CommConnection class, right?
>
>
> David
>
>
> Martin wrote:
> > I guess because support for serial port communication via
CommConnection
is
> > not implemented on the Nokia 6600 MIDP.
> >
> > Regards
> > Martin
> >
> >
> > "David Lovecraft" <DiL@nospam.com> wrote in message
> > news:OvWv51dEGHA.2560@extapps30...
> >
> >>Hi All,
> >>
> >>
> >>Do you know why nokia 6600 returns null from
> >>getParamter("microedition.commports")?
> >>The same program running at emulator works perfect and return two
ports
> >
> > 0,1.
> >
> >>TIA,
> >>
> >>David
> >
> >
> >

Post Reply
about | contact