snap data

snap data send unicast

Description

Send Unicast Data

Usage

snap [global options] data send (u | unicast) <target> <data> [-h]

Positional Arguments

target
SNAP address of target node or bridge
data
The data to send to remote nodes

Options

--base64 Payload is base64 encoded

Examples

Send 012345 the data This was a triumph.:

snap data send u 012345 "This was a triumph."

snap data send multicast

Description

Send Multicast Data

Usage

snap [global options] data send (m | multicast) <data> [-h] [-g <group>] [-t <ttl>] [--base64]

Positional Arguments

data
The data to send to remote nodes

Options

-g <group>, --group <group>
 Override the Network’s default multicast group
-t <ttl>, --ttl <ttl>
 Override the Network’s default multicast TTL
--base64 Payload is base64 encoded

Examples

Broadcast I'm making a note here: HUGE SUCCESS to group 7 with a ttl of 3:

snap data send m "I'm making a note here: HUGE SUCCESS" -g 7 -t 3