ESP includes several working examples for the C SDK.
PublisherExample | Demonstrates the basics of SDK use |
PublisherAnySchemaExample | Publishes using stream metadata |
SubscriberCallbackExample | Subscribes using the callback mechanism |
SubscriberExample | Displays published data |
Subscriber_gd_example | Subscribes using the guaranteed delivery mechanism |
UpdateShineThroughExample | Publishes updates using ShineThrough |
These examples and a readme file with instructions for running them are located at ESP_HOME\examples\cpp\sdk.