File tree Expand file tree Collapse file tree 6 files changed +12
-9
lines changed
examples/communication/explicit
SendBroadcastExplicitDataSample
src/com/digi/xbee/api/sendbroadcastexplicitdata
SendExplicitDataAsyncSample
src/com/digi/xbee/api/sendexplicitdataasync
src/com/digi/xbee/api/sendexplicitdata Expand file tree Collapse file tree 6 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 73
73
all the remote modules of the network. When that happens, a line with the
74
74
result of the operation is printed to the standard output:
75
75
76
- Sending broadcast data [A0 - A1 - 1554 - C105 ] >> 48 65 6C 6C 6F 20 58 42 65 65 20 57 6F 72 6C 64 21 | Hello XBee World!... Success
76
+ Sending broadcast data [A0 - A1 - 1554 - 1234 ] >> 48 65 6C 6C 6F 20 58 42 65 65 20 57 6F 72 6C 64 21 | Hello XBee World!... Success
77
77
78
78
Verify that in the XCTU console a new Explicit Rx Indicator frame has been
79
79
received by the remote ZigBee device. Select it and review the details, some
87
87
- Source endpoint: A0
88
88
- Destination endpoint: A1
89
89
- Cluster ID: 15 54
90
- - Profile ID: C1 05
90
+ - Profile ID: 12 34
91
91
- Receive options: 02
92
92
- RF data/Received data: 48 65 6C 6C 6F 20 58 42 65 65 20 57 6F 72 6C 64 21
93
93
Hello XBee World!
Original file line number Diff line number Diff line change @@ -35,10 +35,11 @@ public class MainApp {
35
35
36
36
private static final String DATA_TO_SEND = "Hello XBee World!" ;
37
37
38
+ // Examples of endpoints, cluster ID and profile ID.
38
39
private static final int SOURCE_ENDPOINT = 0xA0 ;
39
40
private static final int DESTINATION_ENDPOINT = 0xA1 ;
40
41
private static final int CLUSTER_ID = 0x1554 ;
41
- private static final int PROFILE_ID = 0xC105 ;
42
+ private static final int PROFILE_ID = 0x1234 ;
42
43
43
44
/**
44
45
* Application main method.
Original file line number Diff line number Diff line change 85
85
that happens, a line with the result of the operation is printed to the
86
86
standard output:
87
87
88
- Sending data asynchronously to 0013A20040XXXXXX [A0 - A1 - 1554 - C105 ] >> 48 65 6C 6C 6F 20 58 42 65 65 21 | Hello XBee!... Success
88
+ Sending data asynchronously to 0013A20040XXXXXX [A0 - A1 - 1554 - 1234 ] >> 48 65 6C 6C 6F 20 58 42 65 65 21 | Hello XBee!... Success
89
89
90
90
- Where 0013A20040XXXXXX is the 64-bit address of the remote ZigBee device
91
91
whose Node Identifier is 'REMOTE'.
102
102
- Source endpoint: A0
103
103
- Destination endpoint: A1
104
104
- Cluster ID: 15 54
105
- - Profile ID: C1 05
105
+ - Profile ID: 12 34
106
106
- Receive options: 01
107
107
- RF data/Received data: 48 65 6C 6C 6F 20 58 42 65 65 21
108
108
Hello XBee!
Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ public class MainApp {
38
38
private static final String DATA_TO_SEND = "Hello XBee!" ;
39
39
private static final String REMOTE_NODE_IDENTIFIER = "REMOTE" ;
40
40
41
+ // Examples of endpoints, cluster ID and profile ID.
41
42
private static final int SOURCE_ENDPOINT = 0xA0 ;
42
43
private static final int DESTINATION_ENDPOINT = 0xA1 ;
43
44
private static final int CLUSTER_ID = 0x1554 ;
44
- private static final int PROFILE_ID = 0xC105 ;
45
+ private static final int PROFILE_ID = 0x1234 ;
45
46
46
47
/**
47
48
* Application main method.
Original file line number Diff line number Diff line change 85
85
that happens, a line with the result of the operation is printed to the
86
86
standard output:
87
87
88
- Sending data to 0013A20040XXXXXX [A0 - A1 - 1554 - C105 ] >> 48 65 6C 6C 6F 20 58 42 65 65 21 | Hello XBee!... Success
88
+ Sending data to 0013A20040XXXXXX [A0 - A1 - 1554 - 1234 ] >> 48 65 6C 6C 6F 20 58 42 65 65 21 | Hello XBee!... Success
89
89
90
90
- Where 0013A20040XXXXXX is the 64-bit address of the remote ZigBee device
91
91
whose Node Identifier is 'REMOTE'.
102
102
- Source endpoint: A0
103
103
- Destination endpoint: A1
104
104
- Cluster ID: 15 54
105
- - Profile ID: C1 05
105
+ - Profile ID: 12 34
106
106
- Receive options: 01
107
107
- RF data/Received data: 48 65 6C 6C 6F 20 58 42 65 65 21
108
108
Hello XBee!
Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ public class MainApp {
38
38
private static final String DATA_TO_SEND = "Hello XBee!" ;
39
39
private static final String REMOTE_NODE_IDENTIFIER = "REMOTE" ;
40
40
41
+ // Examples of endpoints, cluster ID and profile ID.
41
42
private static final int SOURCE_ENDPOINT = 0xA0 ;
42
43
private static final int DESTINATION_ENDPOINT = 0xA1 ;
43
44
private static final int CLUSTER_ID = 0x1554 ;
44
- private static final int PROFILE_ID = 0xC105 ;
45
+ private static final int PROFILE_ID = 0x1234 ;
45
46
46
47
/**
47
48
* Application main method.
You can’t perform that action at this time.
0 commit comments