void init_zigbee(u8 _channel, u16 pan_id, u16 short_address) { mrf24j40_setup_io(); mrf24j40_init(); //mrf24j40_set_pan_id(pan_id); //mrf24j40_set_short_address(short_address); //mrf24j40_set_channel(_channel); }
void init_zigbee(u8 _channel, u16 pan_id, u16 short_address) { mrf24j40_setup_io(); mrf24j40_init(); // RB : 30-08-2013 - Uncommented following lines mrf24j40_set_pan_id(pan_id); mrf24j40_set_short_address(short_address); mrf24j40_set_channel(_channel); }