ble_qiot_ble_device.h 899 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
  3. * Licensed under the MIT License (the "License"); you may not use this file except in
  4. * compliance with the License. You may obtain a copy of the License at
  5. * http://opensource.org/licenses/MIT
  6. * Unless required by applicable law or agreed to in writing, software distributed under the License is
  7. * distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  8. * either express or implied. See the License for the specific language governing permissions and
  9. * limitations under the License.
  10. *
  11. */
  12. #ifndef QCLOUD_BLE_QIOT_DEVICE_H
  13. #define QCLOUD_BLE_QIOT_DEVICE_H
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. void property_power_switch(const char *data, uint16_t len);
  18. void report_reply_blink(void);
  19. void action_led_blink(int ms);
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif // QCLOUD_BLE_QIOT_DEVICE_H