]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Added the SendNotifier interface to support CTP + LPL integration.
authorrincon <rincon>
Mon, 4 Feb 2008 23:10:13 +0000 (23:10 +0000)
committerrincon <rincon>
Mon, 4 Feb 2008 23:10:13 +0000 (23:10 +0000)
commit7f2c910da50c4f145c927035deea6f6588fc4ac2
tree9743ef5e944d06dafd397fd918248b727c48a0d8
parent6aa36e3ec8bad9d8762e447d648cdbc25f31d6a4
Added the SendNotifier interface to support CTP + LPL integration.

Create and drop a module into your system that listens for the SendNotifier events for the AM types related to CTP or Dissemination, then have it call LowPowerListening.setRxSleepInterval(msg, 512);.  Or capture the event for every AM type.

This can also be used to control other transmit parameters on a system-wide basis, like full duplex PA control on a per-destination basis, etc.  If this hook works out, we can expand this into other radio stacks.
tos/chips/cc2420/CC2420ActiveMessageC.nc
tos/chips/cc2420/CC2420ActiveMessageP.nc
tos/interfaces/SendNotifier.nc [new file with mode: 0644]