For this assignment, I made an app to open an Atom window in the computer when a physical button is pressed. It's using my computer as a central device and it's built on Nodejs using the Noble module. The peripheral it's a button sketch running on an Arduino 101. The button sends the data to the central when is pressed and the central device runs the following command lines "$ open ~/Desktop/file.js" .
The code can be found here