Example - Mantracourt T24-BSi Technical Manual

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

Advertisement

7
SHUNTCALON
8
SHUNTCALOFF
9
DOTARE
A
REMOVETARE
B
LEDONUNTILNEXTTX
To use this interface the sender must reply with the DPCI packet within 8 milliseconds of receiving the Data
Provider packet in case the provider is operating in a low power mode.
The format of the packet to send is as follows:
Packet
Data
Type
Tag
xx
xx
03

Example

To pause a module that is sending data using a Data Tag of 0x1234 you would issue the following pause command
via DPCI.
Packet
Data
Type
Tag
12
34
03
Base Station Assisted
The DPCI interface is useful when using base stations with USB or fast serial interfaces but the slower baudrates
mean that the 8ms window does not allow enough time to receive and reply.
Base stations with v2.00 or higher radio modules can help by utilising the DPCI autonomously so as to release the
sender from any timing restrictions.
The base stations support issuing a SLEEP, PAUSE or STAYAWAKE command via DPCI using a simple method.
Simply send a normal write command but instead of using the module ID you can use the module Data Tag. This
will cause the base station to handle the sending of the command using the DPCI, each time it sees an incoming
Data Provider packet matching the Data Tag, for the duration of the WAKERDURATION setting in the base
station.
By using FFFF as a Data Tag the base station will send the DPCI command for every Data Provider packet it sees.
Examples
The base station has the default setting of 12000 for WAKERDURATION so will perform these actions for a duration
of 12 seconds. So there is no need to send these commands to the base station quicker than this interval.
You want to keep a specific module awake that is transmitting Data Providers using a Data Tag of 0x1234
Every 10 seconds (or quicker if you want although this will not affect what the base station does) send a
STAYAWAKE command using the Data Tag instead of the module ID.
Packet Type
To ID
06
00
12
Now each time the base station sees a Data Provider packet marked with a Data Tag of 0x1234 it will issue a
STAYAWAKE command via DPCI.
If you wanted to keep all modules awake use 0xFFFF Data Tag instead of the module ID
Packet Type
To ID
06
00
FF
No each time the base station sees any Data Provider packet it will issue a STAYAWAKE command via DPCI.
To pause the module you would use
Mantracourt Electronics Limited T24 Technical Manual
Status
Data
Function
Type
Byte
xx
00
FF
Status
Data
Function
Type
Byte
02
00
FF
Command
58
34
Command
58
FF
Data Type
00
Data Type
00
80

Advertisement

Table of Contents
loading

Table of Contents