on.
Table 36 Interface Commconncetion optional parameters
28.4 BNF Format for Connector.open
() string
The URI must conform to the BNF syntax specified in Table 37. If the URI does not
conform to this syntax, an
,<.
is thrown.
BNF syntax
<comm_connection_string
>
::= "
comm:
"<port_id>[<options_list>] ;
<port_id>
::=
string of alphanumeric characters
<options_list>
::= *(<baud_rate_string>| <bitsperchar>|
<stopbits>| <parity>| <blocking>| <autocts>|
<autorts>) ;
; if an option duplicates a previous option in the
; option list, that option overrides the previous
; option
<baud_rate_string>
::= ";
baudrate
="<vbaud_rate>
<baud_rate>
::=
string of digits
<bitsperchar>
::= ";
bitsperchar
="<bit_value>
<bit_value>
::= "7" | "8"
<stopbits>
::= ";
stopbits
="<stop_value>
<stop_value>
::= "1" | "2"
<parity>
::= ";
parity
="<parity_value>
<parity_value>
::= "even" | "odd" | "none"
<blocking>
::= ";
blocking
="<on_off>
<autocts>
::= ";
autocts
="<on_off>
<autorts>
::= ";
autorts
="<on_off>
<on_off>
::= "on" | "off"
Table 37 Interface Commconncetion BNF syntax
28.5 Comm Security
Access to serial ports is restricted to prevent unauthorized transmission or reception
of data. The security model applied to the serial port connection is defined in the im-
Java ME Developer Guide
Chapter 28 - CommConnection Interface
[185/201]
DRAFT - Subject to Change