ARM mbed Nanostack RF driver for NXP KW41Z 802.15.4 wireless MCU
ARM mbed Nanostack RF driver for NXP KW41Z 802.15.4 wireless MCU
This driver is used with 6LoWPAN stack.
Code far from being stable yet, but basic functionality seems to be working. Two FRDM-KW41Z boards running code build from mbed-os-example-mesh-minimal and nanostack-border-router are able to build mesh.
Main repository is at https://github.com/istepura/kw41z-rf-driver
kw41-rf-driver/NanostackRfPhyKw41z.h
- Committer:
- Igor Stepura
- Date:
- 2017-07-23
- Revision:
- 3:9f6427e86978
- Parent:
- 1:4e0ed8184753
File content as of revision 3:9f6427e86978:
/* Copyright 2017, Igor Stepura <igor.stepura@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ #ifndef NANOSTACK_RF_PHY_KW41Z_H_ #define NANOSTACK_RF_PHY_KW41Z_H_ #include "ns_types.h" #include "NanostackRfPhy.h" class NanostackRfPhyKw41z : public NanostackRfPhy { public: NanostackRfPhyKw41z(); ~NanostackRfPhyKw41z(); int8_t rf_register(); void rf_unregister(); void get_mac_address(uint8_t *mac); void set_mac_address(uint8_t *mac); }; #endif /* NANOSTACK_RF_PHY_KW41Z_H_ */