This example project explains the following: * Reading and writing NFC tag * Use Flash storage to store Javascript source code which can be executed when the board is turned on. * Downloading JavaScript program from url. Project demo: Writes and runs JS program from Flash storage by downloading from internet using URL from NFC tag. NFC tag must contain the following info: 1- Password 2- URL separated by: , Note: This project is based on Mbed JavaScript and hence cannot be compiled using MBed Compiler. Read Readme.md for information about compiling and running this project.
Diff: package.json
- Revision:
- 0:1cefa69131b8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/package.json Sun Aug 19 21:39:08 2018 +0500 @@ -0,0 +1,21 @@ +{ + "name": "mbed-js-st-fw-nfc02a1-example", + "version": "1.0.0", + "description": "Example of loading JS firmware from flash using nfc authentication", + "main": "main.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "ST", + "license": "Apache-2.0", + "dependencies": { + "mbed-js-st-js-manager": "^1.0.0", + "mbed-js-st-serial-interface": "^1.0.0", + "mbed-js-st-network-interface": "^1.0.0", + "mbed-js-st-devi2c": "^1.0.0", + "mbed-js-st-x-nucleo-nfc02a1": "^1.0.0" + }, + "devDependencies": { + "mbed-js-gulp": "github:ARMmbed/mbed-js-gulp" + } +}