Skip to content

Commit d303ff2

Browse files
Merge pull request #168 from pycom/pb-749-ios-updates
Pb 749 ios updates
2 parents 9538f65 + aaaebb9 commit d303ff2

File tree

7 files changed

+102
-29
lines changed

7 files changed

+102
-29
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@
77
*.iml
88
out
99
gen
10+
11+
.DS_Store
12+
static/.DS_Store
13+
static/gitbook/.DS_Store
14+
static/gitbook/assets/.DS_Store
15+
static/gitbook/assets/pybytes/.DS_Store

content/pybytes/smart/_index.md

Lines changed: 63 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,78 @@ aliases:
44
---
55

66
Pybytes iOS app will allow you to quickly provision any number of devices effortlessly to Pybytes.
7-
Your devices will need to run **firmware 1.20.1** or newer.
87

9-
Go to App Store and download Pybytes iOS app.
10-
User your Pybytes web app account to log in.
8+
<span style="background-color:#00cc96;">&nbsp;Tip:&nbsp;</span>&nbsp;Your devices will need to run **firmware 1.20.1** or newer.
119

12-
<img src="/gitbook/assets/pybytes/iOS/login.jpg" alt="Pybytes iOS login" width="300"/>
10+
Further down the page you will find the following information:
1311

14-
Tip: Go to Pybytes web app with Safari on iOS or macOS and save your login credentials.
15-
Then iPhone will let you pre-fill your saved password.
12+
* [Pybytes iOS installing and Device Provisioning](#installing)
13+
* [Take into consideration](#recommendations)
14+
* [Quick help/FAQ](#faq)
1615

17-
<img src="/gitbook/assets/pybytes/iOS/loginSavedPasswords.jpg" alt="Pybytes iOS login" width="300"/>
1816

19-
On the next screen, you will need to enter your Wi-Fi credentials.
17+
<a id="installing"></a>
18+
### Pybytes iOS installing and Device Provisioning
2019

21-
* if you are using iOS 12, turn off your Wi-Fi completely on your iPhone.
22-
* use only Wi-Fi network with 2.4GHz (Pycom devices cannot connect to 5GHz network)
23-
* your device might be provisioned faster if you move your device closer to your Wi-Fi router
20+
1. Go to the App Store and download Pybytes iOS app.
21+
2. Use your Pybytes web app account to log in.
22+
<br/>
23+
<br/>
24+
<span style="background-color:#00cc96;">&nbsp;Tip:&nbsp;</span>&nbsp;Go to Pybytes web app with Safari on iOS or macOS and save your log-in credentials.
25+
Then your iPhone will pre-fill your saved password.
2426

25-
Make sure your devices are powered on and running firmware 1.20.1 or newer.
27+
3. On the next screen, you will need to enter your Wi-Fi credentials.
28+
<br/>
29+
<br/>
30+
<img src="/gitbook/assets/pybytes/iOS/login.jpg" alt="Pybytes iOS login" width="200" style="padding:0px;box-shadow: 2px 2px 8px 2px #cccccc;"/>&nbsp;&nbsp;&nbsp;&nbsp;<img src="/gitbook/assets/pybytes/iOS/loginSavedPasswords.jpg" alt="Pybytes iOS login" width="200" style="padding:0px;box-shadow: 2px 2px 8px 2px #cccccc;" />
2631

27-
<img src="/gitbook/assets/pybytes/iOS/wifiSettings.jpg" alt="Pybytes iOS login" width="300"/>
32+
4. After pressing the START button, a list of devices will appear on the screen. It may take up to several minutes to provision all of your devices. The first device usually appears on the screen within one minute.
33+
<br/>
34+
<br/>
35+
<span style="background-color:#00cc96;">&nbsp;Tip:&nbsp;</span>&nbsp;The name of a device provisioned device is its Wireless MAC address.
36+
<br/>
37+
<br/>
38+
<img src="/gitbook/assets/pybytes/iOS/wifiSettings.jpg" alt="Pybytes iOS login" width="200" style="padding:0px;box-shadow: 2px 2px 8px 2px #cccccc;"/>&nbsp;&nbsp;&nbsp;&nbsp;
39+
<img src="/gitbook/assets/pybytes/iOS/provisionedDevicesIOS.jpg" alt="Pybytes iOS login" width="200" style="padding:0px;box-shadow: 2px 2px 8px 2px #cccccc;"/>
40+
5. As your devices are provisioning in Pybytes devices management platform, you will see notifications appearing on the screen when the provisioning is successful. You will also see the provisioned devices in the Devices section.
41+
<br/>
42+
<br/>
43+
<img src="/gitbook/assets/pybytes/iOS/provisionedDevicesPybytes.png" alt="Pybytes iOS login" style="padding:0px;box-shadow: 2px 2px 8px 2px #cccccc;"/>
2844

29-
After a moment found devices should appear on the screen.
30-
I might take up to several minutes until all your devices are provisioned.
31-
The first device usually appears on the screen within one minute.
45+
<a id="recommendations"></a>
46+
### Take into consideration
3247

33-
<img src="/gitbook/assets/pybytes/iOS/provisionedDevicesIOS.jpg" alt="Pybytes iOS login" width="300"/>
48+
* If you are using iOS 12, turn off your Wi-Fi completely on your iPhone.
49+
* Only use a Wi-Fi network with 2.4GHz as Pycom devices cannot connect to a 5GHz network.
50+
* Your device might be provisioned faster if you move your device closer to your Wi-Fi router.
51+
* Make sure your devices are powered on and running firmware 1.20.1 or newer.
52+
* You cannot provision the same devices on the different Pybytes account unless you [erased them completely](../../advance/cli/#erase-all) and flashed the latest firmware again with FW updater tool.
53+
* If there is a spinning wheel on your screen, that means that your device is being provisioned. If it has disappeared, then press the START button again.
54+
* Please take into account that we are developing a new feature and therefore some niggles can occur. (Please bear with us!) If any issues occur whilst you are using Pybytes iOS, then drop us a line at <a href="mailto:support@pycom.io">support@pycom.io</a>.
3455

35-
Then go to Pybytes -> devices. Your provisioned devices appear in the table.
36-
The name of a device provisioned device is its Wireless MAC address.
56+
<a id="faq"></a>
57+
### FAQ
3758

38-
<img src="/gitbook/assets/pybytes/iOS/provisionedDevicesPybytes.png" alt="Pybytes iOS login"/>
59+
<span style="background-color:#00cc96;">&nbsp;I can’t connect to Wi-Fi in Pybytes iOS&nbsp;</span>
60+
61+
* Firstly, check your version of iOS. If it is iOS 12, then turn off the Wi-Fi connection on your phone. Following this, try to use Pybytes iOS again, and it should now automatically connect to the WiFi.
62+
63+
* If you have version that is later than iOS 12, check your Wi-Fi router setting. It should run on a 2.4 HGz Wi-Fi network.
64+
65+
<span style="background-color:#00cc96;">&nbsp;No devices were provisioned after 5 min.&nbsp;</span>
66+
67+
* Check if your devices are on
68+
69+
* Move your devices closer to the Wi-Fi router
70+
71+
* Check that no-one else in the room is trying to provision devices with the Pybytes iOS app.
72+
73+
<span style="background-color:#00cc96;">&nbsp;How long does the provisioning take?&nbsp;</span>
74+
75+
* On average, it takes up to 2 minutes to provision 6 devices.
76+
77+
<br/>
78+
Our hope is that Pybytes iOS will simplify the device provisioning process. However, as we are still in a development pipeline, sometimes there can be a hitch in the silk. If that happens, please let us know! Drop us a line at <a href="mailto:support@pycom.io">support@pycom.io</a>.
79+
<br/>
80+
<br/>
81+
<br/>

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<title>{{ if .Title }}{{ .Title }} {{ else }}{{ .Site.Title }}{{ end }}</title>
1111
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.SiteDescription }}{{ end }}">
1212

13-
13+
<script src="/js/smooth-scroll.js"></script>
1414
<link href="/css/doc-theme.css?" rel="stylesheet">
1515
<link rel="icon" href="/favicon.ico">
1616
</head>
-547 KB
Loading

themes/doc-theme/layouts/partials/toolbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
app
33
fixed
44
height=68
5-
class="pr-3 pl-2"
5+
class="pr-3 pl-2 navbar"
66
dark
77
style="background-color: #171730;"
88
>

themes/doc-theme/static/css/doc-theme.css

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
html {
22
/*font-size: 100%;*/
3+
scroll-behavior: smooth;
34
}
45

56
/* Style the header */
@@ -122,7 +123,7 @@ a.bread:hover {
122123
.bread {
123124
font-family: 'BebasNeueBold',sans-serif;
124125
letter-spacing: 0.1em;
125-
color: rgb(120, 0, 255)!important;
126+
color: #00cc96 !important;
126127
}
127128

128129
.theme--dark.v-navigation-drawer:not(.v-navigation-drawer--floating) .v-navigation-drawer__border {
@@ -148,7 +149,7 @@ li.lefttree > a {
148149

149150
li.hot > a.hot {
150151
text-decoration: none;
151-
color: #7800FF!important;
152+
color: #00cc96!important;
152153
padding: 6px;
153154

154155
}
@@ -245,8 +246,8 @@ nav#TableOfContents {
245246

246247
img {
247248
max-width: 90%;
248-
margin-left: 5%;
249-
padding: 18px;
249+
margin-left: 0;
250+
padding: 5px;
250251
}
251252

252253
[v-cloak] > * { display:none }
@@ -281,11 +282,11 @@ table td, table th {
281282
}
282283

283284
.ppurple {
284-
color: #7800FF;
285+
color: #00cc96;
285286
}
286287

287288
.pbgpurple {
288-
background-color: #7800FF!important;
289+
background-color: #00cc96!important;
289290
color: white;
290291
}
291292

@@ -324,7 +325,7 @@ code {
324325
}
325326

326327
.primary--text {
327-
color: #7800FF;
328+
color: #00cc96;
328329
}
329330

330331
.v-window {
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Smooth scroll to anchor link
3+
*/
4+
5+
6+
$(document).ready(function(){
7+
$( 'a[href^="#"]' ).on( 'click', function( e ) {
8+
9+
if ( this.hash !== '' ) {
10+
e.preventDefault();
11+
12+
var hash = this.hash;
13+
var nav = $( '.navbar' ).outerHeight();
14+
var targetOffset = $( hash ).offset().top - nav;
15+
16+
$( 'html, body' ).animate( {
17+
scrollTop: targetOffset
18+
}, 1100, function() {
19+
//window.location.hash = hash;
20+
} );
21+
}
22+
} );
23+
} );

0 commit comments

Comments
 (0)