X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2FAssociateP.nc;h=f631f65cb358eb8164bf3ab98be501a56c724a93;hb=4bf382c560b62b21e16980e7444091554bfa90a4;hp=11f96f0d492a40eb9338e1449e4a49bed31f6142;hpb=dbddb4bea6c87c2b0f7b32f03e181408775446bb;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/AssociateP.nc b/tos/lib/mac/tkn154/AssociateP.nc index 11f96f0d..f631f65c 100644 --- a/tos/lib/mac/tkn154/AssociateP.nc +++ b/tos/lib/mac/tkn154/AssociateP.nc @@ -175,6 +175,7 @@ implementation if (!m_associationOngoing) return; // have not received an AssociationResponse yet, poll the coordinator now + dbg_serial("AssociationP", "Polling the coordinator for an AssociationResponse now...\n"); if (m_coordAddrMode == ADDR_MODE_SHORT_ADDRESS) *((nxle_uint16_t*) &coordAddress) = call MLME_GET.macCoordShortAddress(); else @@ -184,6 +185,7 @@ implementation m_shortAddress = 0xFFFF; m_assocRespStatus = IEEE154_TRANSACTION_OVERFLOW; signal DataRequest.pollDone(); + dbg_serial("AssociationP", "Poll failed (locally)...\n"); } }