diff --git a/docs/learn/sdk/atid-reference.md b/docs/learn/sdk/atid-reference.md index 6ac4b61..d2dfdc2 100644 --- a/docs/learn/sdk/atid-reference.md +++ b/docs/learn/sdk/atid-reference.md @@ -127,6 +127,8 @@ The `AtKey` class API reference is available [here](https://pub.dev/documentatio {% tab title="C" %} ## C +You can find all these examples also on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c). + ### Introduction There are three kinds of atKeys: diff --git a/docs/learn/sdk/crud-operations.md b/docs/learn/sdk/crud-operations.md index 87bfb7b..f15a02b 100644 --- a/docs/learn/sdk/crud-operations.md +++ b/docs/learn/sdk/crud-operations.md @@ -187,6 +187,8 @@ The `AtClient` class API reference is available [here](https://pub.dev/documenta {% tab title="C" %} ## C +You can find all of these examples on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c). + ### Table of Contents * [#introduction](crud-operations.md#introduction "mention") diff --git a/docs/learn/sdk/events.md b/docs/learn/sdk/events.md index aaa9828..9146581 100644 --- a/docs/learn/sdk/events.md +++ b/docs/learn/sdk/events.md @@ -60,6 +60,8 @@ await atClient.notificationService.notify( {% tab title="C" %} ## C +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). + ### Table of Contents * [#introduction](events.md#introduction "mention") @@ -175,6 +177,8 @@ atclient_monitor_response_free(&response); #### Example Application +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). + ```c #include #include @@ -368,6 +372,8 @@ atclient_notify_params_free(¬ify_params); #### Example Application +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). + ```c #include #include diff --git a/docs/learn/sdk/onboarding.md b/docs/learn/sdk/onboarding.md index bd012f7..a4cf7ed 100644 --- a/docs/learn/sdk/onboarding.md +++ b/docs/learn/sdk/onboarding.md @@ -121,6 +121,8 @@ Then open the Advanced settings drop down and click `Generate New API Key`: {% tab title="C" %} ## C +Find the full example on our [GitHub](https://github.com/atsign-foundation/at\_demos/tree/trunk/demos/get\_started\_c/1-authentication#1---authentication). + ### 1. Fetch your atServer's address from the production atDirectory First, include `atclient_utils.h` and `#include ` at the top of you program. @@ -239,6 +241,8 @@ atclient_free(&atclient); Here is an example application that authenticates my atSign `@jeremy_0`. +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). + ```c #include #include diff --git a/docs/sdk/get-started.md b/docs/sdk/get-started.md index 893cc4c..643f8c8 100644 --- a/docs/sdk/get-started.md +++ b/docs/sdk/get-started.md @@ -238,6 +238,8 @@ Now you are ready to begin developing! Setup a CMake project which includes the atSDK package suite. +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). + #### 1. Ensure you have a C Compiler, CMake, and a build automation tool 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`. diff --git a/docs/sdk/synchronization/connection-hooks.md b/docs/sdk/synchronization/connection-hooks.md index 44f09ca..fc38481 100644 --- a/docs/sdk/synchronization/connection-hooks.md +++ b/docs/sdk/synchronization/connection-hooks.md @@ -4,6 +4,8 @@ {% tab title="C" %} ## C +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). + ### Connection Hooks 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 #### Print something before we write to the atServer +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). + ```c #include #include