Skip to content

Commit 2989a08

Browse files
authored
Merge pull request #213 from AVSystem/fix_powerbi_demo
Change PowerBI tutorial to use prebuilt binaries
2 parents 66a2a8f + 7fd27fa commit 2989a08

File tree

3 files changed

+8
-78
lines changed

3 files changed

+8
-78
lines changed

docs/Demo_Projects/Edge_Impulse_demo.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,14 @@ To connect the board:
9999
1. In **Device Inventory**, select **Add device**.
100100
1. Select the **Connect your LwM2M device directly via the Management server** tile.
101101

102-
![Add via Management server](https://iotdevzone.avsystem.com/docs/LwM2M_Client/Nordic/images/mgmt_tile.png)
102+
![Add via Management server](images/mgmt_tile.png)
103103

104104
1. In the **Device credentials** step:
105105
- Add the **Endpoint name**, the default endpoint name is: `Anjay-zephyr-client`
106106
- **Key Identity** is the same as the endpoint name
107107
- Add the **Key**, the default key is: `test`
108108
- Click **Add device** and then **Confirm** in the confirmation pop-up
109109

110-
![Add Management quick](https://iotdevzone.avsystem.com/docs/LwM2M_Client/Nordic/images/add_mgmt_quick.png)
111-
112110

113111
## Add the Pattern Detection Object to {{ coiote_short_name }}
114112

docs/Demo_Projects/Tracking_tutorial.md

Lines changed: 6 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -31,97 +31,29 @@ This tutorial uses the **Thingy:91** prototyping platform in combination with th
3131

3232
## Part 1 - Connect the Thingy:91 to {{ coiote_short_name }} using the LwM2M Anjay client
3333

34-
### Set up the Anjay Zephyr Client
34+
### Program the device
3535

36-
#### Get Zephyr and Python dependencies
36+
Follow guide for [programming Thingy:91 with already built binaries](https://iotdevzone.avsystem.com/docs/LwM2M_Client/Nordic/Thingy91/#use-an-already-built-binary) to get an application running Anjay LwM2M Client
37+
on your device.
3738

38-
To get the Zephyr SDK and dependencies follow the first 4 steps of the instruction provided by [the Zephyr Project](https://docs.zephyrproject.org/latest/getting_started/index.html).
39-
40-
0. [Select and update OS](https://docs.zephyrproject.org/latest/develop/getting_started/index.html#select-and-update-os)
41-
0. [Install dependencies](https://docs.zephyrproject.org/latest/develop/getting_started/index.html#install-dependencies)
42-
0. [Get Zephyr and install Python dependencies](https://docs.zephyrproject.org/latest/develop/getting_started/index.html#get-zephyr-and-install-python-dependencies)
43-
0. [Install Zephyr SDK](https://docs.zephyrproject.org/latest/develop/getting_started/index.html#install-zephyr-sdk)
44-
45-
46-
#### Clone the Anjay Zephyr repository
47-
48-
Open the command line interface on your machine and clone the Anjay Zephyr repository using [Git](https://formulae.brew.sh/formula/git):
49-
50-
```
51-
git clone https://github.com/AVSystem/Anjay-zephyr-client
52-
```
53-
54-
### Compile the demo project
55-
56-
0. Connect the Thingy:91 board to a USB port of your machine.
57-
0. Set West manifest path to `Anjay-zephyr-client/demo`, manifest file to `west-nrf.yml`, and run `west update` using the following commands:
58-
59-
```
60-
west config manifest.path Anjay-zephyr-client/demo
61-
west config manifest.file west-nrf.yml
62-
west update
63-
```
64-
65-
*For more information about the west build commands, see the [Zephyr Project documentation](https://docs.zephyrproject.org/3.0.0/guides/west/build-flash-debug.html).*
66-
67-
0. Go to the directory `Anjay-zephyr-client/demo` and configure the client using **menuconfig**.
68-
69-
**Menuconfig** allows for, among others, enabling the **GPS** and **cell-based location services**. To open the configuration menu, run the command:
70-
71-
```
72-
west build -b thingy91/nrf9160/ns -p -t menuconfig
73-
```
74-
75-
In the config screen:
76-
77-
- Open the folder: `anjay-zephyr-client --->`
78-
- Select: `Enable manual requests for cell-based location`
79-
- Open the folder: `Enable GPS on nRF9160-based devices --->`
80-
- Select `Enable A-GPS using Nordic Location Services over LwM2M`
81-
82-
83-
![menuconfig](images/menuconfig1.png "Anjay menuconfig")
84-
85-
After making the configuration changes, close the config menu by pressing `Q` and save it by pressing `Y`.
86-
87-
**Build the project** using the updated configuration by running:
88-
```
89-
west build
90-
```
91-
92-
0. Find the `app_signed.hex` file under the `build/zephyr` directory in the project folder.
93-
94-
### Write the firmware to the Thingy:91
95-
96-
- When using the Thingy:91, use the `app_signed.hex` file which you can find in the `build/zephyr` directory.
97-
- Flash it using **Programmer** application in **nRF Cloud for Desktop** via **MCUboot**.
98-
99-
*For more information on flashing the Thingy:91 using MCU Boot, see [link](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thingy91_gsg.html#program-the-nrf9160-sip-application)*
100-
101-
![nrf - write.png](images/nrf-write_done.png)
102-
103-
- Powercycle the Thingy:91 to activate the application.
104-
105-
106-
## Connect the Thingy:91 to {{ coiote_long_name }}
39+
### Connect the Thingy:91 to {{ coiote_long_name }}
10740

10841
To connect the board:
10942

11043
1. [Log in]({{ coiote_site_link }}/) to {{ coiote_short_name }} and from the left side menu, select **Device Inventory**.
11144
1. In **Device Inventory**, select **Add device**.
11245
1. Select the **Connect your LwM2M device directly via the Management server** tile.
11346

114-
![Add via Management server](https://iotdevzone.avsystem.com/docs/LwM2M_Client/Nordic/images/mgmt_tile.png)
47+
![Add via Management server](images/mgmt_tile.png)
11548

11649
1. In the **Device credentials** step:
11750
- Think of a unique **Endpoint name**.
11851
- **Key Identity** is the same as the Endpoint name.
11952
- Create a **Key** and store it somewhere to retrieve later when configuring your device.
12053
- Click the **Add device** button and click **Confirm** in the confirmation pop-up.
12154

122-
![Add Management quick](https://iotdevzone.avsystem.com/docs/LwM2M_Client/Nordic/images/add_mgmt_quick.png)
12355

124-
## Configure the Client
56+
### Configure the Client
12557

12658
0. With the Thingy:91 still connected to a serial port interface, connect to your device using a serial communication program (e.g. Minicom, RealTerm or PuTTY).
12759

docs/LwM2M_Client/Nordic/Thingy91.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Open the command line interface on your machine, then paste and run the followin
8181
0. Find the `app_signed.hex` file under the `build/zephyr` directory in the project folder.
8282
8383
## Flash the binaries
84-
To program the board, go through the process of **flashing Thingy:91**. Use the nRF Connect Programmer with the downloaded `.hex` file and follow the [program the nRF9160 SiP application](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thingy91_gsg.html#program-the-nrf9160-sip-application) section.
84+
To program the board, go through the process of **flashing Thingy:91**. Use the nRF Connect Programmer with the downloaded `.hex` file and follow the [Flash instructions for the Thingy:91](https://academy.nordicsemi.com/flash-instructions-for-the-thingy91/) guide.
8585
8686
After successful flashing, reboot the board and go to the next step.
8787

0 commit comments

Comments
 (0)