website logo
BlogPlansAbout UsCareersSignup
⌘K
Introduction
Getting started on Bytebeam Cloud
Concepts
Projects
Streams
Device Shadow
Device Metadata
Actions
Module Integration Guides
ESP32
Arduino
Console Guides
Device Management
Dashboards
Streams (Tables)
Actions
Users
Roles
Release Notes
R10 24-May-2023
R9 10-May-2023
R8 26-Apr-2023
R7 05-Apr-2023
R6 22-Mar-2023
R5 08-Mar-2023
R4 22-Feb-2023
R3 10-Feb-2023
R2 01-Feb-2023
R1 19-Jan-2023
Docs powered by archbee 

Pushing data to Bytebeam

1min

To push data to Bytebeam you need to first create a stream. You can do this by following the Creating a Stream guide. Once you have created a stream you can use the publishToStream method to publish data to the stream.

C++
|
// Publish data to the bytebeam stream

//
// streamName: Name of the stream to publish the payload
// payload: Data to be published
//

bool Bytebeam.publishToStream(char* streamName, const char* payload);


Bytebeam expects the payload to be in the JSON format. Have a look at the PushData example sketch for a full fledged example showing how to use this function.



Updated 17 May 2023
Did this page help you?
Yes
No
PREVIOUS
Setting up BytebeamArduino SDK
NEXT
Receiving actions
Docs powered by archbee