Lines Matching defs:connect
25 function connect(callback, options) {
33 serial.connect('device', options, test.callbackPass(function(connectionInfo) {
102 connect();
114 connect(function() {
163 // connecting to the port. This test uses an IoHandler that fails to connect.
165 serial.connect('device',
166 test.callbackFail('Failed to connect to the port.'));
173 serial.connect('device',
174 test.callbackFail('Failed to connect to the port.'));
178 // value is passed to connect.
180 serial.connect('device', {bitrate: -1}, test.callbackFail(
181 'Failed to connect to the port.'));
184 // Test that a successful connect returns the expected connection info.
186 connect(function(connectionInfo) {
195 connect(function(connectionInfo) {
213 connect(function() {
224 // after the initial call during connect.
226 connect(function() {
242 connect(function() {
255 connect(function() {
280 connect(function() {
312 connect(function() {
356 connect(function() {
369 connect(function() {
380 connect(function() {
398 connect(function() {
412 connect(function() {
428 connect(function() {
451 connect(function() {
468 connect(function() {
484 connect(function() {
508 connect(function() {
529 connect(function() {
550 connect(function() {
571 connect(function() {