加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tuya_ble_port_nrf52832.h 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
YonghuiGao 提交于 2020-07-24 19:07 . demo_project_v1.2.0
/**
* \file tuya_ble_port_nrf52832.h
*
* \brief
*/
/*
* Copyright (C) 2014-2019, Tuya Inc., All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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.
*
* This file is part of tuya ble sdk
*/
#ifndef TUYA_BLE_PORT_NRF52_H__
#define TUYA_BLE_PORT_NRF52_H__
#include "tuya_ble_stdlib.h"
#include "tuya_ble_type.h"
#include "tuya_ble_config.h"
#include "app_util_platform.h"
#include "elog.h"
tuya_ble_status_t nrf_err_code_convert(uint32_t errno);
#if (TUYA_BLE_LOG_ENABLE||TUYA_APP_LOG_ENABLE)
#define TUYA_BLE_PRINTF(...) log_d(__VA_ARGS__)//
#define TUYA_BLE_HEXDUMP(...) elog_hexdump("", 8, __VA_ARGS__)//
#else
#define TUYA_BLE_PRINTF(...)
#define TUYA_BLE_HEXDUMP(...)
#endif
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化