2017-07-10 15:10:20 +08:00
|
|
|
/****************************************************************************
|
|
|
|
* drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.h
|
|
|
|
*
|
2021-09-06 19:39:36 +08:00
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
|
|
* this work for additional information regarding copyright ownership. The
|
|
|
|
* ASF licenses this file to you 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
|
2017-07-10 15:10:20 +08:00
|
|
|
*
|
2021-09-06 19:39:36 +08:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2017-07-10 15:10:20 +08:00
|
|
|
*
|
2021-09-06 19:39:36 +08:00
|
|
|
* 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.
|
2017-07-10 15:10:20 +08:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2022-01-15 10:44:35 +08:00
|
|
|
#ifndef __DRIVERS_WIRELESS_IEEE802154_MRF24J40_MRF24J40_GETSET_H
|
|
|
|
#define __DRIVERS_WIRELESS_IEEE802154_MRF24J40_MRF24J40_GETSET_H
|
2017-07-10 15:10:20 +08:00
|
|
|
|
|
|
|
int mrf24j40_setrxmode(FAR struct mrf24j40_radio_s *dev, int mode);
|
|
|
|
|
|
|
|
int mrf24j40_setchannel(FAR struct mrf24j40_radio_s *dev, uint8_t chan);
|
|
|
|
|
2021-04-04 17:58:11 +08:00
|
|
|
int mrf24j40_setpanid(FAR struct mrf24j40_radio_s *dev,
|
|
|
|
FAR const uint8_t *panid);
|
2017-07-10 15:10:20 +08:00
|
|
|
|
2021-04-04 17:58:11 +08:00
|
|
|
int mrf24j40_setsaddr(FAR struct mrf24j40_radio_s *dev,
|
|
|
|
FAR const uint8_t *saddr);
|
2017-07-10 15:10:20 +08:00
|
|
|
|
2021-04-04 17:58:11 +08:00
|
|
|
int mrf24j40_seteaddr(FAR struct mrf24j40_radio_s *dev,
|
|
|
|
FAR const uint8_t *eaddr);
|
2017-07-10 15:10:20 +08:00
|
|
|
|
|
|
|
int mrf24j40_setcoordsaddr(FAR struct mrf24j40_radio_s *dev,
|
|
|
|
FAR const uint8_t *saddr);
|
|
|
|
|
|
|
|
int mrf24j40_setcoordeaddr(FAR struct mrf24j40_radio_s *dev,
|
|
|
|
FAR const uint8_t *eaddr);
|
|
|
|
|
|
|
|
int mrf24j40_setdevmode(FAR struct mrf24j40_radio_s *dev, uint8_t mode);
|
|
|
|
|
|
|
|
int mrf24j40_settxpower(FAR struct mrf24j40_radio_s *dev, int32_t txpwr);
|
|
|
|
|
|
|
|
int mrf24j40_setcca(FAR struct mrf24j40_radio_s *dev,
|
|
|
|
FAR struct ieee802154_cca_s *cca);
|
|
|
|
|
2017-07-12 09:12:50 +08:00
|
|
|
int mrf24j40_setpamode(FAR struct mrf24j40_radio_s *dev, int mode);
|
|
|
|
|
2022-01-15 10:44:35 +08:00
|
|
|
#endif /* __DRIVERS_WIRELESS_IEEE802154_MRF24J40_MRF24J40_GETSET_H */
|