
www.ezurio.com
A slave on the other hand does NOT have prior knowledge of when a packet will be received and has to assume that a packet will be received from a master on every receive slot. This means that it has to leave its receiving circuitry on for most of the receive slot duration. The result of this is high power consumption as illustrated in the power table in Section 4.1, where a slave with no data transmission still consumes around 31mA whereas a master consumes only 6mA.
This problem was identified very early in the evolution of Bluetooth (especially since headsets spend all their time as a slave in a Bluetooth connection) and it was solved by having a mode called Sniff, with appropriate lower layer negotiating protocol.
Sniff mode during connection is basically an agreement between the slave and its master that data packets will only be exchanged for N timeslots every M slots. The slave can then assume that it will never be contacted during
It is stated above that during sniff mode, a slave listens for N slots every M slots. The Bluetooth specification states that a master can have up to 7 slaves attached to it with all slaves having requested varying sniff parameters. It may therefore be impossible to guarantee that each slave gets the M parameter it requested. In light of this, the protocol for enabling sniff mode specifies that a requesting peer specify the M parameter as a minimum and maximum value. This will allow the master to interleave the sniff modes for all slaves attached.
For this reason, the sniff parameters are specified in the BISM2 module via four S registers. S Register 561 is used to specify ‘N’, S Register 562 is used to specify ‘T’ and S Registers 563/564 are used to specify minimum ‘M’ and maximum ‘M’ respectively. Although the specification defines these parameters in terms of timeslots, the S register values have to be specified in units of milliseconds and the firmware does the necessary translation to timeslots.
High Power Consumption
Exchange | Data Exchange | Data Exchange | Data Exchange |
Data |
|
| T Slots |
|
|
|
T Slots
TSlots
NSlots
TSlots
Low Power Consumption
Data Exchange
TSlots
N Slots |
|
| N Slots |
|
|
|
|
MSlots (Negotiated)
MSlots (Negotiated)