Table 36 Interface Commconncetion Optional Parameters; Table 37 Interface Commconncetion Bnf Syntax - Motorola MOTORAZR maxx V6 Developer's Manual

Java me developer guide
Hide thumbs Also See for MOTORAZR maxx V6:
Table of Contents

Advertisement

Java ME Developer Guide
Chapter 28 - CommConnection Interface

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
BNF syntax
<comm_connection_string
>
<port_id>
<options_list>
<baud_rate_string>
<baud_rate>
<bitsperchar>
<bit_value>
<stopbits>
<stop_value>
<parity>
<parity_value>
<blocking>
<autocts>
<autorts>
<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-
DRAFT - Subject to Change
on.
::= "comm:"<port_id>[<options_list>] ;
::= string of alphanumeric characters
::= *(<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
::= ";baudrate="<vbaud_rate>
::= string of digits
::= ";bitsperchar="<bit_value>
::= "7" | "8"
::= ";stopbits="<stop_value>
::= "1" | "2"
::= ";parity="<parity_value>
::= "even" | "odd" | "none"
::= ";blocking="<on_off>
::= ";autocts="<on_off>
::= ";autorts="<on_off>
::= "on" | "off"
is thrown.
[185/201]

Advertisement

Table of Contents
loading

Table of Contents