hello, i have a question about broadcast mode :
can the broadcast mode be used in parallel with the ble mode?
thank you.
hello, i have a question about broadcast mode :
can the broadcast mode be used in parallel with the ble mode?
thank you.
Hello,
What exactly do you mean with "broadcast mode"? A BLE beacon? Or advertisements in general?
Either way, this should be possible.
Please see this post.
I was a bit confused by your second post. I am not sure I quite understand what you mean with broadcast. Do you mean advertise? You can send advertisement packets, but the other devices will have to listen with their radio at that point in time. peripherals typically don't listen when they are not expecting any packets. You can do this, but listening like this takes a lot of power, and is not ideal for battery powered devices.
A better solution would be to send the message to the central, which can forward the packet to the other peripherals.
Peripherals works in a way that they turn off the radio when they are not using it. When they are in a connection, they will communicate with the other device when a connection interval has passed, and then turn it off again, until another connection interval has passed again. Hence they will not have their radio in listening mode and be able to hear advertising packets.
When two devices are in a connection, the messages are only meant for the device that it is connected to, and other BLE devices will not pick them up. The exception is advertising and scanning. Advertising is something a peripheral does to tell other devices that they are available for connection. Scanning is what the central does to pick up these advertising packets. Scanning is a more current consuming procedure, which is why phones often are the central in a connection.
Please let me know what you mean with broadcast mode. Maybe I misinterpreted what you meant.
Best regards,
Edvin
Hello,
What exactly do you mean with "broadcast mode"? A BLE beacon? Or advertisements in general?
Either way, this should be possible.
Please see this post.
I was a bit confused by your second post. I am not sure I quite understand what you mean with broadcast. Do you mean advertise? You can send advertisement packets, but the other devices will have to listen with their radio at that point in time. peripherals typically don't listen when they are not expecting any packets. You can do this, but listening like this takes a lot of power, and is not ideal for battery powered devices.
A better solution would be to send the message to the central, which can forward the packet to the other peripherals.
Peripherals works in a way that they turn off the radio when they are not using it. When they are in a connection, they will communicate with the other device when a connection interval has passed, and then turn it off again, until another connection interval has passed again. Hence they will not have their radio in listening mode and be able to hear advertising packets.
When two devices are in a connection, the messages are only meant for the device that it is connected to, and other BLE devices will not pick them up. The exception is advertising and scanning. Advertising is something a peripheral does to tell other devices that they are available for connection. Scanning is what the central does to pick up these advertising packets. Scanning is a more current consuming procedure, which is why phones often are the central in a connection.
Please let me know what you mean with broadcast mode. Maybe I misinterpreted what you meant.
Best regards,
Edvin
then I have a central card that receives data from 4 peripheral cards continuously and I want the central to send data once in a while to all peripheral cards at the same time (broadcast) as to receive the data, is this possible? thanks in advance