Raspberry Pi server for smartcar NFC payment system
- Open blueman -> right click TEAM_FIVE -> connect to serial -> check if it is
dev/rfcomm<n>
- change
var port = new SerialPort('/dev/rfcomm<n>',{ baudRate: 115200 });
ofserial.js
, where is obtained from step 1. and then runnode serial.js
- (if said Device or resource busy)
sudo cutecom
-> connect todev/rfcomm<n>
-> disconnect -> redo 2.
sudo rfcomm bind 1 00:21:13:01:81:1C 1
node serial.js