Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers fhss_ws_empty_functions.c Source File

fhss_ws_empty_functions.c

00001 /*
00002  * Copyright (c) 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 #include "nsconfig.h"
00018 #include "ns_types.h"
00019 #include "fhss_api.h "
00020 #include "fhss_config.h "
00021 #include "fhss.h"
00022 #include "fhss_common.h"
00023 #include "channel_list.h"
00024 #include "channel_functions.h"
00025 #include "fhss_ws.h"
00026 #include "nsdynmemLIB.h"
00027 #include "common_functions.h"
00028 #include "eventOS_callback_timer.h"
00029 #include "randLIB.h"
00030 #include <string.h>
00031 
00032 #ifndef HAVE_WS
00033 
00034 fhss_structure_t *fhss_ws_enable(fhss_api_t *fhss_api, const fhss_ws_configuration_t *fhss_configuration, const fhss_timer_t *fhss_timer)
00035 {
00036     (void) fhss_api;
00037     (void) fhss_configuration;
00038     (void) fhss_timer;
00039 
00040     return NULL;
00041 }
00042 
00043 int fhss_ws_set_callbacks(fhss_structure_t *fhss_structure)
00044 {
00045     (void) fhss_structure;
00046     return -1;
00047 }
00048 
00049 int fhss_ws_set_parent(fhss_structure_t *fhss_structure, const uint8_t eui64[8], const broadcast_timing_info_t *bc_timing_info, const bool force_synch)
00050 {
00051     (void) fhss_structure;
00052     (void) eui64;
00053     (void) bc_timing_info;
00054     (void) force_synch;
00055 
00056     return -1;
00057 }
00058 
00059 int fhss_ws_remove_parent(fhss_structure_t *fhss_structure, const uint8_t eui64[8])
00060 {
00061     (void) fhss_structure;
00062     (void) eui64;
00063 
00064     return -1;
00065 }
00066 
00067 int fhss_ws_configuration_set(fhss_structure_t *fhss_structure, const fhss_ws_configuration_t *fhss_configuration)
00068 {
00069     (void) fhss_structure;
00070     (void) fhss_configuration;
00071 
00072     return -1;
00073 }
00074 
00075 int fhss_ws_set_hop_count(fhss_structure_t *fhss_structure, const uint8_t hop_count)
00076 {
00077     (void) fhss_structure;
00078     (void) hop_count;
00079 
00080     return -1;
00081 }
00082 
00083 #endif // HAVE_WS
00084