Searched refs:uartInstance (Results 1 – 3 of 3) sorted by relevance
30 if (this.uartInstance === null) {38 if (this.uartInstance === null || !data) {45 this.uartInstance.write(data);50 if (this.uartInstance === null) {53 return this.uartInstance.read();57 if (this.uartInstance === null) {63 if (this.uartInstance === null) {67 this.uartInstance.on(function(data, len){73 if (this.uartInstance === null) {76 this.uartInstance.close();[all …]
26 this.uartInstance = __native.UART.open(this.options.id);27 if (this.uartInstance === null) {35 if (this.uartInstance === null || !data) {38 __native.UART.write(this.uartInstance, data);42 if (this.uartInstance === null) {45 return __native.UART.read(this.uartInstance);49 if (this.uartInstance === null) {55 if (this.uartInstance === null) {64 if (this.uartInstance === null) {67 __native.UART.close(this.uartInstance);[all …]
4 var uartInstance = new event.EventEmitter(); variable6 uartInstance.on('data', function(arg, arg2) {11 uartInstance.emit('data', 'this is uart data', 'data 2');
Completed in 4 milliseconds