X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Finterfaces%2FAMSend.nc;h=27c93d226ed7e23ec0efa4a8b83fd29e62464669;hb=da0cfeda9689aa64cfce0aa209f51803dcb11c21;hp=6ccc5af86e5a88688edfa77d266262096ded4a0b;hpb=594acbf436f5f78611348f7763a89c84f38ba46a;p=tinyos-2.x.git diff --git a/tos/interfaces/AMSend.nc b/tos/interfaces/AMSend.nc index 6ccc5af8..27c93d22 100644 --- a/tos/interfaces/AMSend.nc +++ b/tos/interfaces/AMSend.nc @@ -114,15 +114,14 @@ interface AMSend { /** * Return a pointer to a protocol's payload region in a packet. - * The length of this region is maxPayloadLength(). This command - * behaves similarly to Packet.getPayload (minus the - * length parameter) and is included in this interface + * This command behaves identically to Packet.getPayload + * (minus the length parameter) and is included in this interface * as a convenience. * * @param msg the packet * @return the payload of the packet */ - command void* getPayload(message_t* msg); + command void* getPayload(message_t* msg, uint8_t len); }