Comments (4)
I just added documentation for this parameter last week:
/*
* Together |landingPageScheme| and |landingPageUrl| tell the browser
* what page the user should visit in order to interact with their
* device. |landingPageScheme| can have any of the following values:
*
* 0x00 -> "http://"
* 0x01 -> "https://"
*
* This prefix is combined with |landingPageUrl| to produce the full
* URL.
*/
WebUSB(uint8_t landingPageScheme, const char* landingPageUrl);
(From https://github.com/webusb/arduino/blob/gh-pages/library/WebUSB/WebUSB.h#L51)
from arduino.
OK thanks. Not sure the value of 0 can be usefull as Chrome only accept https for webusb... (dont know on Windows or Linux, but with Chrome 65 on OSX, http is not allowed)
from arduino.
http:// is allowed because according to the specification http://localhost is considered a secure context.
from arduino.
👍
from arduino.
Related Issues (20)
- atmega32u4 only connects to Windows not Mac HOT 2
- No devices detected with Seeeduino Xiao
- how set baudrate? what default speed? HOT 3
- Add teensy support
- TI 83 Premium CE doesn't leave exam mode HOT 1
- MRKZero support? HOT 2
- Is webUSB supported for Arduino Uno R3 HOT 2
- WebUSB requires a board that supports USB client device mode HOT 2
- Arduino UNO support
- CUSTOM PID/VID HOT 1
- Question about usage of controlTransferOut() at connect() and disconnect() in serial.js HOT 3
- Getting Started mentions hardware/arduino/avr/cores/arduino/USBCore.h when there is no such file on Github HOT 2
- Not working with Seeeduino XIAO HOT 15
- WebUSB not working anymore with SAMD Board Version > 1.8.10 HOT 1
- No Connecting Device. HOT 3
- Can not download https://github.com/kimio-kosaka/webUSB-arduino/archive/v1.0.0.tar.gz HOT 1
- SAM Support?
- Feature Request: Arduino PortentaH7 HOT 9
- GitPod Integration HOT 1
- how can i insert a value in the console without use the keyboard? i mean, a button that I press and isert a value, what is the function to insert? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino.