Skip to content

Latest commit

 

History

History
40 lines (20 loc) · 614 Bytes

File metadata and controls

40 lines (20 loc) · 614 Bytes

##1) INSTALL NODE

Install ARM version of Node.js on raspberry pi with:

Test installation with:

  • node -v
  • npm -v Both should return a version number.

##2) INSTALL DEPENDENCIES

Navigate to the folder with the node server:

  • cd /android_lab_assignment4/plugserver/

Run:

  • npm install

##3) RUN SERVER

  • sudo node plugserver.js

we need sudo because of GPIO access, which is required by rspimodulator native module

##4) RUN ANDROID APPLICATION

use the following user:

login: admin password: admin1234