Skip to content

Commit 6b3208f

Browse files
authored
Initial feedback updates
1 parent 078f459 commit 6b3208f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

serial_protocol.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ Only needs to be called when the chiplet is in a new environment and needs to co
3939
##BEGIN_DB
4040
Called to start communicating with the Firebase database, it can take either just a host for accessing public variables or you may also provide a secret for accessing protected variables in the database.
4141
###Usage
42-
BEGIN %Host%
43-
BEGIN %Host% %Secret%
42+
BEGIN_DB %Host%
43+
BEGIN_DB %Host% %Secret%
4444
###Response
4545
+OK - Accepted initialization parameters
4646
###Examples
47-
>> BEGIN https://samplechat.firebaseio-demo.com
47+
>> BEGIN_DB https://samplechat.firebaseio-demo.com
4848
<< +OK
49-
>> BEGIN https://samplechat.firebaseio-demo.com nnz...sdf
49+
>> BEGIN_DB https://samplechat.firebaseio-demo.com nnz...sdf
5050
<< +OK
5151
##GET
5252
Fetches the value at %PATH% and returns it on the serial line. If %PATH% points to a leaf node you will get the raw value back, if it points to an internal node you will get a JSON string with all children.
@@ -198,11 +198,11 @@ Used to stop listening to events at a given path. This must be the same path pro
198198
## BEGIN_MESSAGING
199199
Called to start communicating with Firebase Cloud Messaging, it requires a server key.
200200
###Usage
201-
BEGIN %Server_Key%
201+
BEGIN_MESSAGING %Server_Key%
202202
###Response
203203
+OK - Accepted initialization parameters
204204
###Examples
205-
>> BEGIN https://samplechat.firebaseio-demo.com
205+
>> BEGIN_MESSAGING AIzaSyCk4GtbBa-XMQbc5TyT5oe1KnH71M-2lAZ
206206
<< +OK
207207

208208
## MESSAGE_TO_USERS

0 commit comments

Comments
 (0)