Data - Mantracourt T24-BSi Technical Manual

T24 series
Hide thumbs Also See for T24-BSi:
Table of Contents

Advertisement

Data

This will be of variable length and will depend on the data type.
RSSI
This indicates the signal strength that this packet was received at. See RSSI & CV in Appendix A.
CV
This indicates correlation value which equates to the quality of the signal when this packet was received. See
RSSI & CV in Appendix A.
See Advanced Data Provider Interface in
Read
The read packets are used to read parameters from a remote device or the base station itself. To talk to the base
station just use the base station ID. The module you are communicating with must not be in low power mode and
you will need to know its ID.
Packet Type
To ID
05
00
00
Packet Type
This is 0x5 hex (5 decimal).
To ID
This is the ID of the device to read from (MSB first).
Command
The command number of the parameter you want to read. You will need to refer to the device manual for this
information.
Write
The write packet is used to write parameter values to a device or execute commands.
You can write any supported data format to any other data format parameter but some formats are not very
suitable. i.e. You can write an INT32 formatted value to a parameter that is just a UINT8 but if the value exceeds
either the target data type limits or any other bounded limits imposed by the device you will receive an
INVALID_DATA response.
When executing a command you do not need any data so it is usual to specify the data type as No Content (zero)
and not include any data.
Packet Type
To ID
06
00
00
Packet Type
This is 0x6 hex (6 decimal).
To ID
This is the ID of the device to write to from (MSB first). You can use the broadcast ID here of 0xFFFFFF (255
decimal for each of the To ID bytes) but be careful as this will write the value to all devices on the same channel
and encryption key. You may have mixed device types so command numbers between devices may be different.
Use broadcast with care.
Command
The command number of the parameter you want to write to. You will need to refer to the device manual for this
information.
Data Type
Specify the data type of the data you are sending.
Data types are as follows:
Data Type
Description
0
No content/unknown
1
UINT8
2
UINT16
3
INT32
9
Mantracourt Electronics Limited T24 Technical Manual
Command
00
00
Command
00
00
Size In Bytes
0
1
2
4
Data Type
Data
00
[...]

Advertisement

Table of Contents
loading

Table of Contents