Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mac_fhss_callbacks.h Source File

mac_fhss_callbacks.h

00001 /*
00002  * Copyright (c) 2016-2018, Arm Limited and affiliates.
00003  * SPDX-License-Identifier: Apache-2.0
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  *     http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef MAC_FHSS_CALLBACKS_H_
00019 #define MAC_FHSS_CALLBACKS_H_
00020 
00021 uint16_t mac_read_tx_queue_sizes(const fhss_api_t *fhss_api, bool broadcast_queue);
00022 int mac_read_64bit_mac_address(const fhss_api_t *fhss_api, uint8_t *mac_address);
00023 uint32_t mac_read_phy_datarate(const fhss_api_t *fhss_api);
00024 uint32_t mac_read_phy_timestamp(const fhss_api_t *fhss_api);
00025 int mac_set_channel(const fhss_api_t *fhss_api, uint8_t channel_number);
00026 int mac_fhss_frame_tx(const fhss_api_t *fhss_api, int frame_type);
00027 int mac_synch_lost(const fhss_api_t *fhss_api);
00028 int mac_poll_tx_queue(const fhss_api_t *fhss_api);
00029 int mac_broadcast_notification(const fhss_api_t *fhss_api, uint32_t broadcast_time);
00030 int mac_get_coordinator_mac_address(const fhss_api_t *fhss_api, uint8_t *mac_address);
00031 
00032 #endif /* MAC_FHSS_CALLBACKS_H_ */