src/app/www/js/functions.js
/**
     * Sends a string through bluetooth serial.
     * @param {String} str 
     */
Sends a string through bluetooth serial.
@param {String} str
Sends a string through bluetooth serial . @param { String } str
bluetoothSend(str) {
        bluetoothSerial.write.promisify(str)
            .bind(bluetoothSerial)
            .then(this.successCallback.bind(this))
            .catch(this.error.bind(this));
    }
bluetoothSend ( str ) { bluetoothSerial . write . promisify ( str ) . bind ( bluetoothSerial ) . then ( this . successCallback . bind ( this ) ) . catch ( this . error . bind ( this ) ) ; }
Sends a string through bluetooth serial.
Sends a string through bluetooth serial .