ARMmbed / mbed-client-example-6lowpan

DEPRECATED: Example demonstrating 6LoWPAN mesh networking
https://cloud.mbed.com/docs/current
Other
19 stars 13 forks source link

arm_net_phy_tx_done returns -1 #79

Closed shahab5 closed 8 years ago

shahab5 commented 8 years ago

Hi,

Setup uses a FRDM board as mbed client in 6lowpan with a border router. Although, it works and gets detected in mbed device connector. But I didn't understand the reason for the API to return -1.

FYI, interface_id = 0 and tx_handle = 1 (verified this at rf_start_cca).

Thanks, Shahab

ciarmcom commented 8 years ago

ARM Internal Ref: ONME-2665

SeppoTakalo commented 8 years ago

Is this related https://github.com/ARMmbed/mbed-client-example-6lowpan/issues/75

shahab5 commented 8 years ago

During the debugging of #75, I observed this API throws an error on my platform and FRDM-K64F as well. However, the latter board works fine.

SeppoTakalo commented 8 years ago

@shahab5 Thanks for reporting this.

I checked the code and it seems that the arm_net_phy_tx_done() returns -1 always, unless given TX handle is incorrect when it would return -2

This is now taken into our backlog and will be fixed in future releases. As a workaround, you can ignore the return value for now.

Br. Seppo.

SeppoTakalo commented 8 years ago

I will close this from this example applications. This has been recorded into our Nanostack's backlog.