Send broadcast packet, Read associated modules – Linx Technologies HUM-xxx-DT User Manual
Page 25

– –
– –
44
45
Send Broadcast Packet - Command Code = 39
This command is used by an AP to send a broadcast message to all of its
associated EDs at one time.
The LEN byte is the number of bytes in the DATA field plus 1 for the LEN
byte. DATA can be up to 32 bytes.
The broadcast message is sent by the AP and is output by all of the
EDs connected to the AP. This allows a single transmission to update all
modules instead of having to address separate messages to each one.
The response parameter indicates if the command was successful (00) or if
there was an error (01).
The EDs output the broadcast message as shown in Figure 47.
The LEN byte is the total number of parameter bytes, including the LEN
byte, data bytes and RSSI byte.
The DATA field is up to 32 bytes of data.
The RSSI byte is the RSSI for the received broadcast message. It is
returned in 2’s complement hex format. The RSSI value in dBm is
calculated the same as the other RSSI values.
RSSI (dBm) = RSSI_value (in the response) - 256
Read Associated Modules - Command Code = 3A
This command reads out all of the modules that are associated with the
current module.
If the current module is an ED or RE, then the only associated node is the
AP. An AP can have up to 50 associated EDs in a single network. Due to
the lack of intelligence in an RE, this command does not provide the RE
information.
The first response contains the number of modules associated with
the current module. The module then outputs one response for each
associated module that contains that module’s address.
Send Broadcast Packet Command and Response
Command
Start
Command
Param 1
Param 2
End
3C
39
LEN
DATA
3E
Response
Start
Response
Param 1
End
3C
39
Status
3E
Figure 46: Send Broadcast Packet Command and Response
Read Associates List Command and Response
Command
Start
Command
End
3C
3A
3E
Response 1
Start
Response
Param 1
End
3C
3A
NumMod
3E
Response 2
Start
Response
Param 1
Param 2
Param 3
Param 4
End
3C
3A
SrcAdr3
SrcAdr2
SrcAdr1
SrcAdr0
3E
. . .
Response n
Start
Response
Param 1
Param 2
Param 3
Param 4
End
3C
3A
SrcAdr3
SrcAdr2
SrcAdr1
SrcAdr0
3E
Figure 48: Read Associates List Command and Response
Received Broadcast Packet
Start
Command
Param 1
Param 2
Param 3
End
3C
39
LEN
DATA
RSSI
3E
Figure 47: Received Broadcast Packet