• Question about pairing/bonding?


    Except that on android you can bypass the pairing dialog if you know the PIN in advance through a different channel.
     
    Etan

    On 06.02.2013, at 10:09, "András Kövi" <email@hidden> wrote:

    Hi BPa,
     
    actually if CoreBluetooth receives the request from the peripheral that it needs authentication, then it will take the control from your application and return only after the process has finished (succeeded or failed). Your app has nothing to do with pairing. This is a security concern and Apple decided to not allow any control for apps over it. The same approach was taken by other mobile platforms too so it's not an exceptional behavior.
     
    Regards,
    Andras


    2013/2/6 <email@hidden>
     
    Thanks Etan.
     
    So iOS CoreBluetooth Framework will do all the work w.r.t the process of pairing and bonding?
    Not clear how this would work in practice. 
     
    -BPa


    From: Etan Kissling <email@hidden>
    To: "<email@hidden>" <email@hidden
    Cc: BLE-Dev <email@hidden
    Sent: Wednesday, January 30, 2013 3:38 AM
    Subject: Re: Question about pairing/bonding?

    BPa,
     
    you cannot initiate pairing from the iOS central side. Instead, you have to read/write a characteristic value,
    and then let your peripheral respond with an "Insufficient Authentication" error.
    iOS will then initiate pairing, will store the keys for later use (bonding) and encrypts the link. As far as I know,
    it also caches discovery information, so that future connections can be set up faster.
     
    Etan

    On 30.01.2013, at 01:40, <email@hidden>
     wrote:

     
    I have been using the TI sensortag as well as the keyfob etc. and extending the applications on iOS devices. 
    However I have yet to figure out how to do pairing/bonding with peripherals.
     
    The CoreBluetooth framework is not very clear in terms of the process of doing pairing/bonding.
     
    Any thoughts appreciated.
     
    -BPa
    _______________________________________________
    Do not post admin requests to the list. They will be ignored.
    Bluetooth-dev mailing list      (email@hidden)
    Help/Unsubscribe/Update your Subscription:

    This email sent to email@hidden



     _______________________________________________
    Do not post admin requests to the list. They will be ignored.
    Bluetooth-dev mailing list      (email@hidden)
    Help/Unsubscribe/Update your Subscription:

    This email sent to email@hidden

     _______________________________________________
    Do not post admin requests to the list. They will be ignored.
    Bluetooth-dev mailing list      (email@hidden)
    Help/Unsubscribe/Update your Subscription:
    
    This email sent to email@hidden


    https://lists.apple.com/archives/bluetooth-dev/2013/Feb/msg00014.html
  • 相关阅读:
    Android学习小Demo(20)关于Fragment的应用
    计算机常识--框架、编程语言篇
    用python做oj上的简单题(持续更新中.......)
    UIControl-IOS开发
    Android各种屏幕分辨率(VGA、HVGA、QVGA、WQVGA、WVGA、FWVGA) 具体解释
    包管理器Bower使用手冊之中的一个
    23web app实现上下左右滑动
    iOS IAP教程
    一步一步写算法(之 A*算法)
    执行游戏时出现0xc000007b错误的解决方法
  • 原文地址:https://www.cnblogs.com/scaptain/p/3920231.html
Copyright © 2020-2023  润新知