last day (16 days later) » 

1:14 PM
hi
Atyre thodok free thyo
check this Open source codes
 
Where?
Ok
 
This is a library in which you can process you characteristics and services
which you have listed
you can List the Characteristic and Services in Array or Dictionary
And in Above code, There are Parameters name
"characteristic" which action you want to perfrom
with connected device
Hope it helps. Code is no doubt OLD but it should works
because in Bluetooth there are no any major changes are introduced yet
make sure your device is compatible to Bluetooth 4.0
What you think ?? Is this will be helpful ?
 
user6820627
@Hemang Can I be a help vampire here?
 
user6820627
Bluetooth Low Energy ("BLE") is a new radio standard, introduced in 2006. Bluetooth Low Energy is also known as Bluetooth Smart and is a subset of Bluetooth v4.0.
 
Hi
 
user6820627
1:26 PM
@Hemang did i understand ble correctly?
 
Yes, its just a start but good thing.
I know BLE, but I am trying to implement it to communicate to a ios app.
 
user6820627
@Hemang i am frontend dev, not ios/android dev,
 
Ok
 
user6820627
@Hemang what project are you making?
 
I am connecting an ios app to a bluetooth enabled printer.
We should execute a print command directly from the app.
So this is the requirement of the project.
 
user6820627
1:31 PM
@Hemang you make it for fun, or for your customer?
 
user6820627
it looks simple, hello, world
 
I am doing it for a local customer.
 
@LearnHowToBeTransparent : Parden me , If it was simple like "Hello world" , there will be dozens of tutorial available
 
No, it's not a simple one. @LearnHowToBeTransparent
 
user6820627
@Hemang so deadline = 2 weeks?
 
1:34 PM
No deadline constraints.
Customer wants me to check if it's feasible & possible for his business.
He's a printing lab so he's thinking to handle his printers from his iPhone.
I am not sure, how I am gonna do that, he just give me this two lines of requirements.
 
user6820627
[tag:cv-pls] unclear `customer's requirements`.

you need to discuss more before making the project.
 
I understand what he wants.
 
@Hemang : Let me know When you face any technical difficulties.
 
user6820627
@Wolverine you are hemang's friend?
 
@LearnHowToBeTransparent : I do not want to sound rude, But above questions will not technically hep him to achieve
what he is trying to implement
 
user6820627
1:39 PM
@Wolverine ok, just curious. i will go out soon.
 
@Wolverine, thanks! I will tell you.
@lea
@Wolverine, hahahha, what you did mate. He left the chat room.
 
@Hemang You can thank me later
:)
 
;)
Ok, so do you have any idea about this?
 
Hmm, You are able to get the characteristics ?
or a list of characterstics
 
the above sample is quite old and the code it's included which I have already written my self.
 
1:41 PM
right
?
 
Yes
 
ok.. So Those delegate methods are making me curious
If we pass any of the "Fetched characterstics" as a paramater
would it do the trick ?
 
No
may be I am doing something wrong.
I am not sure.
the problem is starting here
there are two different classes
 
hmm..
 
1. CBCentralManager
2. CBPeripheralManager
When to use which one? and why?
 
1:43 PM
CBCentralManager is responsible for device connetions
 
Yes
correct
 
we need to use CBCentralManager
 
Not the 2nd one?
 
CBPeripheralManager is used i think to make your device work like blouetooth
 
Ohk
so I don't need it, as I already have a BT device.
 
1:44 PM
The CBCentralManager is in charge of scannning and connecting to external devices.
The CBPeripheralManager controls the ability behind advertising and displaying the phone itself to other LE devices in the area.
Now we are not handling any kind of operation on device side
then we should use CBCentralManager
Once it is get connected
then we can use the it
but now what I am thinking problem is
As per above demo link
means he know the staticsts
in that it had define the characteristics statically
and in our case do we know about characteristics of Device ?????
I need to Go, But i will be back
Till then try to refer this Developer, I Think you are already doing that thing hopefully
see you after sometime.
 
Ok
sure.
thanks mate.
 
anytime
 
2:08 PM
:)
 

  last day (16 days later) »