This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

When smartphone range is shorter than a peripheral(nRF5X), is there any way to receive an advertisement from the peripheral?

Hi, I made a device with using NRF51822, named 'allb' the wearable device for babies. http://myallb.com

We're planning to make a new version of it with using nRF52840, which has a wider range and Bluetooth 5.0. But my question is that many smartphones do not have a chip that has long range. So, the range of nRF52840 would be much longer than the smartphones.

In this situation that they can't communicate each other, the connection between them will be disconnected. Question, I want to make the smartphone to receive a data even in that situation(Opposite is not necessary).

How can I achieve that? Sending Advertisement can be possible in this scenario? Is the advertising also needed a connection for both sides? (Then, it won't help to resolve my problem)

Or is there any other way?

Thanks.

  • Advertising and scanning are separate but related functions.

    The Periperal device advertises based on some policy that you decide for the Peripheral's implementation. There are no commands that the smartphone can send to the Peripheral to cause it to start advertising. (Unless something changed in BT5.)

    When you tell the smartphone to start scanning what you are really asking is for the smartphone to listen for advertisements. You are simply telling the radio (Bluetooth Controller) to passively listen for advertising packets. The smartphone will not send out any packets that cause Peripherals to start advertising.

    The smartphone may make some transmissions during this period, but they will be in response to an advertising packet.

    Is that clearer?

  • hi @ta2, my answer is "no" and the smartphone doesn't have to send a response to my device. My question is for the situation when it can't make a connection because out of range. If they are in the range and it can be connected, everything is fine but I'm looking for the solution for that specific scenario. So back to my original question, in the position that smartphone and device can't be connected because of out of range but device's signal is enough to reach to the smartphone, Is there any way to send a data to the smartphone?

  • @ta2, Ah yes, I understood. Then, in the position that smartphone and device can't be connected because of out of range but device's signal is enough to reach to the smartphone, Is there any way to send a data to the smartphone? (The smartphone doesn't have to respond to the device)

  • Correct. If you don't need a response from the smartphone, then all you need is an output signal from your device that is strong enough to reach the smartphone. It doesn't matter whether or not the smartphone has enough power output to send something to your device.

    In fact, that's why I suggested BLE_GAP_ADV_TYPE_ADV_NONCONN_IND. (Do I have that symbol typed in correctly? It looks odd.)

    Anyway, NONCONN is advising any device that receives the advertising packet that there is no point in sending anything to your device. In NONCONN the receiver in your device is probably turned off to save power.

Related