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.
The time between each communication event between the master/central and the slave/peripheral is called the connection interval. It is typically set near the top of the main.c file in our examples. The defines are:
MIN_CONN_INTERVAL
MAX_CONN_INTERVAL
and are given in units of 1.25 ms.
If you control both devices, central and peripheral, you can set MIN_CONN_INTERVAL = MAX_CONN_INTERVAL, and also equal in both of the devices. (The devices will disconnect if they can't agree on a connection interval).
The minimum allowed connection interval in BLE is 7.5ms ( = 4 units of 1.25ms).
I am not sure whether you will be able to squeeze 4 connections with a connection interval of 7.5ms on one central, but you can give it a go. 10ms should be fine I believe. Do some testing, and you will figure out pretty fast whether the connections will be maintained or not.
So a standard broadcast message is not possible in BLE. You can look into using the esb examples that we have, where several devices can listen on the same channel, and hence you can do broadcasting with this. Check out the examples:
SDK\examples\proprietary_rf\esb_prx
SDK\examples\proprietary_rf\esb_ptx
if you are interrested.
Best regards,
Edvin
The time between each communication event between the master/central and the slave/peripheral is called the connection interval. It is typically set near the top of the main.c file in our examples. The defines are:
MIN_CONN_INTERVAL
MAX_CONN_INTERVAL
and are given in units of 1.25 ms.
If you control both devices, central and peripheral, you can set MIN_CONN_INTERVAL = MAX_CONN_INTERVAL, and also equal in both of the devices. (The devices will disconnect if they can't agree on a connection interval).
The minimum allowed connection interval in BLE is 7.5ms ( = 4 units of 1.25ms).
I am not sure whether you will be able to squeeze 4 connections with a connection interval of 7.5ms on one central, but you can give it a go. 10ms should be fine I believe. Do some testing, and you will figure out pretty fast whether the connections will be maintained or not.
So a standard broadcast message is not possible in BLE. You can look into using the esb examples that we have, where several devices can listen on the same channel, and hence you can do broadcasting with this. Check out the examples:
SDK\examples\proprietary_rf\esb_prx
SDK\examples\proprietary_rf\esb_ptx
if you are interrested.
Best regards,
Edvin
ok thanks you and so to send exactly at the same time (broadcast) I can't use ble, I have to use the role of radio ?