node-bluetooth icon indicating copy to clipboard operation
node-bluetooth copied to clipboard

baud rate of "Node-Bluetooth" package

Open thefakhreddin opened this issue 6 years ago • 1 comments

Dear @song940 What is the default baud rate of the node-bluetooth package? And is it possible to customize it within the code? Thanks.

thefakhreddin avatar Feb 06 '19 08:02 thefakhreddin

+1

i use this package (nice!!) with new ardusimple gps, all sentences are truncated no way to get lines 1 by 1, searching now :p maybe baudrate can fix this (this gps is 38400 by default)

normally i have line like with serialport : $GBGSV,3,3,09,29,12,034,,71 $GNGLL,4842.50545,N,00227.22579,E,145400.00,A,A74

from ble i have: ( i added start and stopp for debug

the connection.delimiter option seems not changing anything

START 45400.00,1,-0.4,-0.7,-1.6,0.2,0.9,0.3,-2.7,0.1,-2.3,,,,1,15E $GNGRS,145400.00,1,-0.5,1.2,-0.4,3.7,0.9,-11.8,0.9,0.0,,,,,1,54 STOPPPPPP

thanks

smolleyes avatar Feb 20 '19 14:02 smolleyes