zoukankan      html  css  js  c++  java
  • [转帖]4412开发板/4418开发板Android4.4.4实现ble功能

    本文转自迅为论坛:http://bbs.topeetboard.com

    ①.4418开发板实现ble功能方法

     


    4418/android/device/nexell/drone2/device.mk中添加:

    frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml
    frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml

    ②.4412开发板实现ble功能方法

     


    4412Android4.4.4中iTop4412_KK4.4_git/device/samsung/smdk4x12/device.mk添加:

    frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml
    frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml

    以上列举了两个开发板的Android4.4.4支持ble的修改方法,这个方法的本质是把android.hardware.bluetooth.xml,android.hardware.bluetooth_le.xml两个文件复制到system/etc/permissions/之中,这样就打开了ble权限。应该Android4.4支持ble的方法都是这样的。大家可以尝试一下,欢迎在下面留言评论。

  • 相关阅读:
    CSS3选择器
    在sublimen中整理CSS代码及其兼容性问题
    sublime 插件安装
    sublime 使用快捷键
    HTML5标签选择,图文混排使用dl dt dd
    HTML布局
    分页器
    Django ==> Form 组件
    Django ==> ModelAdmin
    前端 ==> Ajax
  • 原文地址:https://www.cnblogs.com/topeet/p/6807043.html
Copyright © 2011-2022 走看看