Build 0.17.0 version of 23/06/17. It takes serialport 4.0.7 and browser-serialport 2.1.0
Hacking firmata for SA5Firmata (and others) compatibility
Changing line 633: if (currByte > 0x7F) { -> if (currByte > 0xF7) {
Adding 11 SYSEX_RESPONSE definitions from SA5
Note: SA5 functions in version 2:
codi
SYSEX_RESPONSE (reporters)
Only commands
0xC0
joyX
0xC1
joyY
0xC2
butZ
0xC3
butC
0xC4
accX
0xC5
accY
0xC6
accZ
0xC7
tone
0xC8
pulseIn
0xC9
pulseOut
0xCA
ping
0xCB
ir reporter
0xCC
Ir on
0xCD
Ir off
0xCE
Ir sender
0xCF
dht11
Used browserify 14.4.0
2. Manifest
Adding “public key” to build the plugin without pem
Now, background.js only calls bundle.js
Note: protocol “file:///*” is not possible
3. Postal i Dispatcher
Changes in main.js. Updating ‘once’, adding ‘reportDigitalPin’, ‘getDigitalPinValue’, ‘getAnalogPinValue’ and ‘getArduinoBoardParam’ and deleting ‘digitalRead’ and ‘analogRead’.
Changes in arduino.js with new commands (related in main.js)
4. Updating reporters (current problem with readings)
Changing plugin/threads.js using new postal functions and adding a ‘proof’ to check when values are updated from background.
5. Watchers
Adding plugin/objects.js to update watcher readings with ‘chromium’ operation (same of reporters, but without ‘roofs’ because their continuous operation)
6. Standaritzation of reportDigitalPin in s4a/objects.js
Using reportDigitalPin(pin,1)
7. Prepare and Build
Changes in prepare and build. Building plugin into a folder if there is no pem.
8. Desktop node_modules
Current desktop version uses firmata 0.16.0 and browser-serialport 2.1.0,) Updatig firmata to 0.17.0 and adding provisional hacks (this is out of the PR)
9. getArduinoBoardParam(name) into Desktop
Adding into s4a/arduino.js board.getArduinoBoardParam(name) = nop;
10. Fixing warnigs in chromium ide.version() function
Chromium development -- 2017 july
1. Firmata.js in chromium
Note: SA5 functions in version 2:
2. Manifest
Note: protocol “file:///*” is not possible
3. Postal i Dispatcher
4. Updating reporters (current problem with readings)
5. Watchers
6. Standaritzation of reportDigitalPin in s4a/objects.js
7. Prepare and Build
8. Desktop node_modules
9. getArduinoBoardParam(name) into Desktop
10. Fixing warnigs in chromium ide.version() function
plugin/gui.js - ide.version() uses synchronous getURL (deprecated)
Pending