hi,
the ble device advertises at advertising event who will set the advertising events how to to set and change advertising events.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi,
the ble device advertises at advertising event who will set the advertising events how to to set and change advertising events.
Hi,
It's duty of firmware to do that. You can set advertisement interval from it.
First download BLE stack 1.4.0 from TI website.
There are lots of example in that . Simplest is bloodpressure located at :
C:\Texas Instruments\BLE_CC254x_140\\Projects\ble\BloodPressure\Source\bloodPressure.c
Study this file and you'll get most of the answers.
hi maulik Vaghela,
i am fully happy with your answer i am thankful to you. your answers making me clear.
i want to ask you one more thing suppose a ble device is connected to master device, the connection has any time limit such that it will discontinue automatically after that time limit. or the connection continues until master device disconnects the connection.
No, until master disconnects.
I am not aware of any possible method to do that if that's possible.
dear maulik vaghela,
after connection establishment between master device and slave if the master moves away from the ble device range and comes into ble device range after some time what will happen please explain me?
Device will disconnect because BLE will try to maintain connection and there will be connection timeout as device will be out of range.
hi maulik vaghela,
suppose a master device wants to connect to a ble device what it should do, whether it has to wait for advertisement packets that will come from the ble device or there is a method to connect.
Yes, It has to wait for advertisement. BLE device must be in advertisement mode in order to be able to connect.
Generally you can control once device has been discovered who will initiate the connection request. Generally master initiates the connection. If you want your BLE device to initiate connection than set "GAPBOND_PAIRING_MODE" to "GAPBOND_PAIRING_MODE_INITIATE".
hi maulik vaghela,
with you valuable replies now i am clear upto some extent, can you explain what a ble device do when it is in neither advertisement mode nor connection mode.
in advertisement mode how much time it will advertise if no device connects to it what will it do.
in connection mode if master device is idle( means just connected) what will it do.
thank you once again for your time and replies.
hi,
Read this carefully:
http://e2e.ti.com/support/wireless_connectivity/f/538/t/353930.aspx.
Once connection has been established, both device will send some packets to each other, just to check connection at regular interval even if they are idle.
hi maulik Vaghel.
i need one more clarification from you, a ble device can connect to internet or wifi directly without need of a master device. and to control ble devices from anywhere out of the range we need to have a master device which is in the range of ble device.
what are the ways such that a master device be in connected with ble device even after the range.
please explain it to me.