Re: Bluetooth-dev Digest, Vol 13, Issue 102
Re: Bluetooth-dev Digest, Vol 13, Issue 102
- Subject: Re: Bluetooth-dev Digest, Vol 13, Issue 102
- From: Dwayne Wedderburn <email@hidden>
- Date: Mon, 21 Nov 2016 21:13:30 -0500
Can anyone give me some assistance? I'm coding a BLE to work with the BLE controller app that I downloaded on my phone, but the phone cannot detect the hardware! Any advice?
Dwayne
> On Nov 10, 2016, at 3:00 PM, email@hidden wrote:
>
> Send Bluetooth-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/bluetooth-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Bluetooth-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: iOS Peripheral get notified of writeWithoutResponse from
> Central (Hank Li)
> 2. Re: iOS Peripheral get notified of writeWithoutResponse from
> Central (Sean Hamstra)
> 3. Re: iOS Peripheral get notified of writeWithoutResponse from
> Central (Sean Hamstra)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 09 Nov 2016 12:54:21 -0800
> From: Hank Li <email@hidden>
> To: Sean Hamstra <email@hidden>
> Cc: "email@hidden" <email@hidden>
> Subject: Re: iOS Peripheral get notified of writeWithoutResponse from
> Central
> Message-ID:
> <CA+=email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> create your delegate first before creating the manager, if the method is
> not calling, it means your delegate is not used.
> https://developer.apple.com/reference/corebluetooth/cbperipheralmanagerdelegate
>
>
> Thanks,
> Hank Li
> http://devicelinked.com
>
> On Wed, Nov 9, 2016 at 12:51 PM, Sean Hamstra <email@hidden>
> wrote:
>
>> Right. That is only hit when the central sends a write request with
>> response. When a fast write command, (write without response) is sent, I'm
>> not seeing that hit at all. Should it be? iOS 10.1.1
>>
>>> On Wed, Nov 9, 2016 at 3:47 PM, Nick Brook <email@hidden> wrote:
>>>
>>> On CBPeripheralDelegate
>>>
>>> - (void)peripheralManager:(CBPeripheralManager *)*peripheral* di
>>> dReceiveWriteRequests:(NSArray *)*requests*
>>>
>>> Nick
>>>
>>> On 9 Nov 2016, at 20:43, Sean Hamstra <email@hidden> wrote:
>>>
>>> Thanks, Hank. I don't have control of the central. Just the
>>> CBPeripheralManager. I want to know on the peripheral side when a write
>>> (without response) has happened.
>>>
>>>> On Wed, Nov 9, 2016 at 3:38 PM, Hank Li <email@hidden> wrote:
>>>>
>>>> use the callback didwrite...
>>>>
>>>>
>>>> Thanks,
>>>> Hank Li
>>>> http://devicelinked.com
>>>>
>>>> On Wed, Nov 9, 2016 at 12:36 PM, Sean Hamstra <
>>>> email@hidden> wrote:
>>>>
>>>>> I'm running iOS as a peripheral (CBPeripheralManager). I have a
>>>>> characteristic that allows for .writeWithoutResponse. I want to know when a
>>>>> central writes (without response) to a characteristic so I can do some
>>>>> work. How is this possible? Clearly the writeRequest callback isn't sent
>>>>> since it's not a write request but rather a command from the central. What
>>>>> am I missing?
>>>>>
>>>>> Any help would be greatly appreciated! Thanks.
>>>>>
>>>>> Sean
>>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Bluetooth-dev mailing list (email@hidden)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> email@hidden
>>>>>
>>>>> This email sent to email@hidden
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Sean Hamstra | Software EngineerSpinDance, Inc. | Smart Choice. Smart
>>> Products.*
>>> main 616.355.7000 | mobile 616.566.6187
>>> SpinDance.com | #SMARTproduct
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>>
>>
>> --
>>
>> *Sean Hamstra | Software EngineerSpinDance, Inc. | Smart Choice. Smart
>> Products.*
>> main 616.355.7000 | mobile 616.566.6187
>> SpinDance.com | #SMARTproduct
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/bluetooth-dev/attachments/20161109/1b8f7872/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 09 Nov 2016 15:56:10 -0500
> From: Sean Hamstra <email@hidden>
> To: Hank Li <email@hidden>
> Cc: "email@hidden" <email@hidden>
> Subject: Re: iOS Peripheral get notified of writeWithoutResponse from
> Central
> Message-ID:
> <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> It does get called on writes with response, so I know it's working. I'm
> watching it fire. But when a write without response is sent it does not get
> called. Which makes some sense since it's not a "request" but I still need
> to know when it happens.
>
>> On Wed, Nov 9, 2016 at 3:54 PM, Hank Li <email@hidden> wrote:
>>
>> create your delegate first before creating the manager, if the method is
>> not calling, it means your delegate is not used.
>> https://developer.apple.com/reference/corebluetooth/
>> cbperipheralmanagerdelegate
>>
>>
>> Thanks,
>> Hank Li
>> http://devicelinked.com
>>
>> On Wed, Nov 9, 2016 at 12:51 PM, Sean Hamstra <email@hidden>
>> wrote:
>>
>>> Right. That is only hit when the central sends a write request with
>>> response. When a fast write command, (write without response) is sent, I'm
>>> not seeing that hit at all. Should it be? iOS 10.1.1
>>>
>>>> On Wed, Nov 9, 2016 at 3:47 PM, Nick Brook <email@hidden> wrote:
>>>>
>>>> On CBPeripheralDelegate
>>>>
>>>> - (void)peripheralManager:(CBPeripheralManager *)*peripheral* di
>>>> dReceiveWriteRequests:(NSArray *)*requests*
>>>>
>>>> Nick
>>>>
>>>> On 9 Nov 2016, at 20:43, Sean Hamstra <email@hidden>
>>>> wrote:
>>>>
>>>> Thanks, Hank. I don't have control of the central. Just the
>>>> CBPeripheralManager. I want to know on the peripheral side when a write
>>>> (without response) has happened.
>>>>
>>>>> On Wed, Nov 9, 2016 at 3:38 PM, Hank Li <email@hidden> wrote:
>>>>>
>>>>> use the callback didwrite...
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Hank Li
>>>>> http://devicelinked.com
>>>>>
>>>>> On Wed, Nov 9, 2016 at 12:36 PM, Sean Hamstra <
>>>>> email@hidden> wrote:
>>>>>
>>>>>> I'm running iOS as a peripheral (CBPeripheralManager). I have a
>>>>>> characteristic that allows for .writeWithoutResponse. I want to know when a
>>>>>> central writes (without response) to a characteristic so I can do some
>>>>>> work. How is this possible? Clearly the writeRequest callback isn't sent
>>>>>> since it's not a write request but rather a command from the central. What
>>>>>> am I missing?
>>>>>>
>>>>>> Any help would be greatly appreciated! Thanks.
>>>>>>
>>>>>> Sean
>>>>>>
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Bluetooth-dev mailing list (email@hidden)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>> email@hidden
>>>>>>
>>>>>> This email sent to email@hidden
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Sean Hamstra | Software EngineerSpinDance, Inc. | Smart Choice. Smart
>>>> Products.*
>>>> main 616.355.7000 | mobile 616.566.6187
>>>> SpinDance.com | #SMARTproduct
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Bluetooth-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> email@hidden
>>>>
>>>> This email sent to email@hidden
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Sean Hamstra | Software EngineerSpinDance, Inc. | Smart Choice. Smart
>>> Products.*
>>> main 616.355.7000 | mobile 616.566.6187
>>> SpinDance.com | #SMARTproduct
>>>
>>
>>
>
>
> --
>
> *Sean Hamstra | Software EngineerSpinDance, Inc. | Smart Choice. Smart
> Products.*
> main 616.355.7000 | mobile 616.566.6187
> SpinDance.com | #SMARTproduct
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/bluetooth-dev/attachments/20161109/0dac525a/attachment.html>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 10 Nov 2016 09:21:04 -0500
> From: Sean Hamstra <email@hidden>
> To: Hank Li <email@hidden>
> Cc: "email@hidden" <email@hidden>
> Subject: Re: iOS Peripheral get notified of writeWithoutResponse from
> Central
> Message-ID:
> <CAFrbMk=email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> Thanks all. I am now receiving the callbacks. The central side had a bug.
> Isn't that how it goes?
>
> Cheers!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/bluetooth-dev/attachments/20161110/883fa7d5/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> Bluetooth-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/bluetooth-dev
>
> End of Bluetooth-dev Digest, Vol 13, Issue 102
> **********************************************
_______________________________________________
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