Change RF channel to 26 for econotag compatibility
This commit is contained in:
parent
b706c48efd
commit
3a8085b159
|
@ -161,7 +161,7 @@ void initialize(void)
|
||||||
|
|
||||||
memcpy(&uip_lladdr.addr, &addr.u8, 8);
|
memcpy(&uip_lladdr.addr, &addr.u8, 8);
|
||||||
rf230_set_pan_addr(IEEE802154_PANID, 0, (uint8_t *)&addr.u8);
|
rf230_set_pan_addr(IEEE802154_PANID, 0, (uint8_t *)&addr.u8);
|
||||||
rf230_set_channel(24);
|
rf230_set_channel(26);
|
||||||
|
|
||||||
rimeaddr_set_node_addr(&addr);
|
rimeaddr_set_node_addr(&addr);
|
||||||
|
|
||||||
|
@ -188,8 +188,8 @@ void initialize(void)
|
||||||
#if ANNOUNCE_BOOT
|
#if ANNOUNCE_BOOT
|
||||||
printf_P(PSTR("Routing Enabled\n"));
|
printf_P(PSTR("Routing Enabled\n"));
|
||||||
#endif
|
#endif
|
||||||
rime_init(rime_udp_init(NULL));
|
// rime_init(rime_udp_init(NULL));
|
||||||
uip_router_register(&rimeroute);
|
// uip_router_register(&rimeroute);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
process_start(&tcpip_process, NULL);
|
process_start(&tcpip_process, NULL);
|
||||||
|
|
Loading…
Reference in a new issue