mirror of
https://github.com/google/pebble.git
synced 2025-03-22 19:52:19 +00:00
74 lines
2.4 KiB
Markdown
74 lines
2.4 KiB
Markdown
|
---
|
||
|
# Copyright 2025 Google LLC
|
||
|
#
|
||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
# you may not use this file except in compliance with the License.
|
||
|
# You may obtain a copy of the License at
|
||
|
#
|
||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||
|
#
|
||
|
# Unless required by applicable law or agreed to in writing, software
|
||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
# See the License for the specific language governing permissions and
|
||
|
# limitations under the License.
|
||
|
|
||
|
title: Developer Connection
|
||
|
description: |
|
||
|
How to enable and use the Pebble Developer Connection to install and debug
|
||
|
apps directly from a computer.
|
||
|
guide_group: tools-and-resources
|
||
|
order: 3
|
||
|
---
|
||
|
|
||
|
In order to install apps from the local SDK using the `pebble` tool or from
|
||
|
[CloudPebble]({{ site.links.cloudpebble }}), the Pebble Android or iOS app must
|
||
|
be set up to allow a connection from the computer to the watch. This enables
|
||
|
viewing logs and installing apps directly from the development environment,
|
||
|
speeding up development.
|
||
|
|
||
|
Follow the steps illustrated below to get started.
|
||
|
|
||
|
|
||
|
## Android Instructions
|
||
|
|
||
|
In the Pebble mobile app:
|
||
|
|
||
|
* Open the overflow menu by tapping the three dot icon at the top right and tap
|
||
|
*Settings*.
|
||
|
|
||
|

|
||
|
|
||
|
* Enable the *Developer Mode* option.
|
||
|
|
||
|

|
||
|
|
||
|
* Tap *Developer Connection* and enable the developer connection using the
|
||
|
toggle at the top right.
|
||
|
|
||
|

|
||
|
|
||
|
* If using the `pebble` tool, make note of the 'Server IP'. If using
|
||
|
CloudPebble, this will be handled automatically.
|
||
|
|
||
|
|
||
|
## iOS Instructions
|
||
|
|
||
|
In the Pebble mobile app:
|
||
|
|
||
|
* Open the left-hand menu and tap the *Settings* item.
|
||
|
|
||
|

|
||
|
|
||
|
* Enable the Developer Mode using the toggle.
|
||
|
|
||
|

|
||
|
|
||
|
* Return to the menu, then tap the *Developer* item. Enable the Developer
|
||
|
Connection using the toggle at the top-right.
|
||
|
|
||
|

|
||
|
|
||
|
* If using the `pebble` tool, make note of the phone's 'Listening on' IP
|
||
|
address. If using CloudPebble, this will be handled automatically.
|