Skip to content

Commit a433bdb

Browse files
JeremyTubongbanuagitbook-bot
authored andcommitted
docs(GITBOOK#135): C Links to GitHub
1 parent 6c38bc9 commit a433bdb

File tree

6 files changed

+20
-0
lines changed

6 files changed

+20
-0
lines changed

docs/learn/sdk/atid-reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ The `AtKey` class API reference is available [here](https://pub.dev/documentatio
127127
{% tab title="C" %}
128128
## C
129129

130+
You can find all these examples also on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c).
131+
130132
### Introduction
131133

132134
There are three kinds of atKeys:

docs/learn/sdk/crud-operations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ The `AtClient` class API reference is available [here](https://pub.dev/documenta
187187
{% tab title="C" %}
188188
## C
189189

190+
You can find all of these examples on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c).
191+
190192
### Table of Contents
191193

192194
* [#introduction](crud-operations.md#introduction "mention")

docs/learn/sdk/events.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ await atClient.notificationService.notify(
6060
{% tab title="C" %}
6161
## C
6262

63+
You can find the full code of this example on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/4a-monitor#4a---monitor).
64+
6365
### Table of Contents
6466

6567
* [#introduction](events.md#introduction "mention")
@@ -175,6 +177,8 @@ atclient_monitor_response_free(&response);
175177
176178
#### Example Application
177179
180+
You can find the full code of this example on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/4a-monitor#4a---monitor).
181+
178182
```c
179183
#include <atclient/atclient.h>
180184
#include <atclient/atclient_utils.h>
@@ -368,6 +372,8 @@ atclient_notify_params_free(&notify_params);
368372
369373
#### Example Application
370374
375+
You can find the full code of this example on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/4b-notify#4b---notify).
376+
371377
```c
372378
#include <atclient/atclient.h>
373379
#include <atclient/atclient_utils.h>

docs/learn/sdk/onboarding.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ Then open the Advanced settings drop down and click `Generate New API Key`:
121121
{% tab title="C" %}
122122
## C
123123

124+
Find the full example on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/1-authentication#1---authentication).
125+
124126
### 1. Fetch your atServer's address from the production atDirectory
125127

126128
First, include `atclient_utils.h` and `#include <atclient/constants.h>` at the top of you program.
@@ -239,6 +241,8 @@ atclient_free(&atclient);
239241

240242
Here is an example application that authenticates my atSign `@jeremy_0`.
241243

244+
This code is also available on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/1-authentication#1---authentication).
245+
242246
```c
243247
#include <atclient/atclient.h>
244248
#include <atclient/atclient_utils.h>

docs/sdk/get-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ Now you are ready to begin developing!
238238

239239
Setup a CMake project which includes the atSDK package suite.
240240

241+
The full example can be found [here](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/0-my-first-c-app).
242+
241243
#### 1. Ensure you have a C Compiler, CMake, and a build automation tool
242244

243245
The method at which you decide to use to install these prerequisites are up to you. These three tools can be installed using either `apt` or `pip`.

docs/sdk/synchronization/connection-hooks.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
{% tab title="C" %}
55
## C
66

7+
The full example code can be found on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/5a-hooks#5a---hooks).
8+
79
### Connection Hooks
810

911
Connections hooks are useful for when you want to add additional control to the connection lifecycle in the atSDK. This means you as the developer can implement things like automatically reconnecting when connections drop (example below).
@@ -42,6 +44,8 @@ atclient_connection_hooks_set(&(atclient->atserver_connection), ATCLIENT_CONNECT
4244
4345
#### Print something before we write to the atServer
4446
47+
The full example code can be found on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/5a-hooks#5a---hooks).
48+
4549
```c
4650
#include <atclient/atclient.h>
4751
#include <atclient/atclient_utils.h>

0 commit comments

Comments
 (0)