8 years, 3 months ago.

Xbee 802.15.4 driver for 6LoWPAN

Hello, I have written PHY driver code for XBEE similiar to the atmel-rf-driver. Using mbed-mesh-api 6lowpan ND test example I am trying to enable 6LoWPAN stack so that I can I can communicate with other XBEE device connected to XCTU on another PC. The mesh init api is successful with (rf_device_id and rf_network_id = 0). However while making the interface up I get the following log

[DBG ][m6LND]: app_parse_network_event() 3 [DBG ][m6LND]: Link Layer Scan Fail: No Beacons [DBG ][m6LND]: Restart bootstrap calling nwk interface up

Do I have to send ND command when the driver rf_interface_state_control function is called (For 6LoWPAN bootstrap process)?

Also while setting the channel my code is

const phy_rf_channel_configuration_s phy_2_4ghz = {2405000000, 5000000, 250000, 16, M_OQPSK};

const phy_device_channel_page_s phy_channel_pages[] = { {CHANNEL_PAGE_0, &phy_24ghz}, {CHANNEL_PAGE_0, NULL} };

Is this fine? Please let me know if the above setting is correct.

Hi Amit, Did you manage in the end to make your driver works?

posted by Rob Doume 26 Aug 2016

1 Answer

8 years, 3 months ago.

Hi Amit,

This Questions feed is for mbed Classic. Since you're using mbed OS, could you please post your question in http://forums.mbed.com?

Thanks, Brian

Ok Brian. Apologies.

posted by Amit M 02 Mar 2016

No problem! Just want to make sure you get your question answered :)

posted by Brian Daniels 02 Mar 2016