OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <link rel="stylesheet" href="onc_spec.css" > | 5 <link rel="stylesheet" href="onc_spec.css" > |
6 <script src="onc_spec.js"></script> | 6 <script src="onc_spec.js"></script> |
7 <title>Open Network Configuration Format</title> | 7 <title>Open Network Configuration Format</title> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 | 10 |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 <span class="type">string</span> | 344 <span class="type">string</span> |
345 </span> | 345 </span> |
346 <span class="rule"> | 346 <span class="rule"> |
347 <span class="rule_id"></span> | 347 <span class="rule_id"></span> |
348 Allowed values are <span class="value">Cellular</span>, | 348 Allowed values are <span class="value">Cellular</span>, |
349 <span class="value">Ethernet</span>, <span class="value">WiFi</span>, | 349 <span class="value">Ethernet</span>, <span class="value">WiFi</span>, |
350 and <span class="value">VPN</span>. | 350 and <span class="value">VPN</span>. |
351 </span> | 351 </span> |
352 Indicates which kind of connection this is. | 352 Indicates which kind of connection this is. |
353 </dd> | 353 </dd> |
| 354 |
| 355 <dt class="field">ConnectionState</dt> |
| 356 <dd> |
| 357 <span class="field_meta"> |
| 358 (optional, read-only) |
| 359 <span class="type">string</span> |
| 360 </span> |
| 361 The current connection state for this network, provided by the system. |
| 362 <span class="rule"> |
| 363 <span class="rule_id"></span> |
| 364 Allowed values are: |
| 365 <span class="value">Connected</span>, |
| 366 <span class="value">Connecting</span>, |
| 367 <span class="value">NotConnected</span> |
| 368 </span> |
| 369 </dd> |
| 370 |
| 371 <dt class="field">Connectable</dt> |
| 372 <dd> |
| 373 <span class="field_meta"> |
| 374 (optional, read-only) |
| 375 <span class="type">boolean</span> |
| 376 </span> |
| 377 True if the system indicates that the network can be connected to without |
| 378 any additional configuration. |
| 379 </dd> |
| 380 |
| 381 <dt class="field">ErrorState</dt> |
| 382 <dd> |
| 383 <span class="field_meta"> |
| 384 (optional, read-only) |
| 385 <span class="type">string</span> |
| 386 </span> |
| 387 The current error state for this network. Error states are provided by |
| 388 the system and are not explicitly defined here. They may or may not be |
| 389 human-readable. This field will be empty or absent if the network is not |
| 390 in an error state. |
| 391 </dd> |
| 392 |
354 </dl> | 393 </dl> |
355 | 394 |
356 <section> | 395 <section> |
357 <h1>Ethernet networks</h1> | 396 <h1>Ethernet networks</h1> |
358 <p> | 397 <p> |
359 For Ethernet connections, <span class="field">Type</span> must be set to | 398 For Ethernet connections, <span class="field">Type</span> must be set to |
360 <span class="value">Ethernet</span> and the | 399 <span class="value">Ethernet</span> and the |
361 field <span class="field">Ethernet</span> must be set to an object of | 400 field <span class="field">Ethernet</span> must be set to an object of |
362 type <span class="type">Ethernet</span> containing the following fields: | 401 type <span class="type">Ethernet</span> containing the following fields: |
363 </p> | 402 </p> |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 </dd> | 585 </dd> |
547 | 586 |
548 <dt class="field">SSID</dt> | 587 <dt class="field">SSID</dt> |
549 <dd> | 588 <dd> |
550 <span class="field_meta"> | 589 <span class="field_meta"> |
551 (required) | 590 (required) |
552 <span class="type">string</span> | 591 <span class="type">string</span> |
553 </span> | 592 </span> |
554 SSID of the network. | 593 SSID of the network. |
555 </dd> | 594 </dd> |
| 595 |
| 596 <dt class="field">SignalStrength</dt> |
| 597 <dd> |
| 598 <span class="field_meta"> |
| 599 (optional, read-only) |
| 600 <span class="type">integer</span> |
| 601 </span> |
| 602 The current signal strength for this network in the range [0, 100], |
| 603 provided by the system. If the network is not in range this field will |
| 604 be set to '0' or not present. |
| 605 </dd> |
556 </dl> | 606 </dl> |
557 </section> | 607 </section> |
558 | 608 |
559 <section> | 609 <section> |
560 <h1>VPN networks</h1> | 610 <h1>VPN networks</h1> |
561 <p> | 611 <p> |
562 There are many kinds of VPNs with widely varying configuration options. We | 612 There are many kinds of VPNs with widely varying configuration options. We |
563 offer standard configuration options for a few common configurations at this | 613 offer standard configuration options for a few common configurations at this |
564 time, and may add more later. For all others, implementation specific fields | 614 time, and may add more later. For all others, implementation specific fields |
565 should be used. | 615 should be used. |
(...skipping 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2251 is transmitted or saved to disk should be secure. On client device, when | 2301 is transmitted or saved to disk should be secure. On client device, when |
2252 user names for connections that are user-specific are persisted to disk, | 2302 user names for connections that are user-specific are persisted to disk, |
2253 they should be stored in a location that is encrypted. Users can also opt in | 2303 they should be stored in a location that is encrypted. Users can also opt in |
2254 these cases to not save their user credentials in the config file and will | 2304 these cases to not save their user credentials in the config file and will |
2255 instead be prompted when they are needed. | 2305 instead be prompted when they are needed. |
2256 </p> | 2306 </p> |
2257 </section> | 2307 </section> |
2258 </section> | 2308 </section> |
2259 </body> | 2309 </body> |
2260 </html> | 2310 </html> |
OLD | NEW |