Hello,
I have used ble_app_uart example and wants to transmit 12 bytes data over ble using this function ble_nus_string_send call.
In 1 second how many times ble_nus_string_send sends frames(12 bytes in each frame) over ble?
Hello,
I have used ble_app_uart example and wants to transmit 12 bytes data over ble using this function ble_nus_string_send call.
In 1 second how many times ble_nus_string_send sends frames(12 bytes in each frame) over ble?
This question may be of interest.
The actual connection interval is set by the central device (Nexus), the minimum and maximum connection interval you have listed are just a preferred connection interval that the peripheral gives to the central. So you need to figure out what the actual connection interval is, this is explained in multiple questions in here. Let's assume it's 20 ms.
As a peripheral the S130 v1.0.0 is capable of sending 2 notifications in each connection interval. I guess your Nexus is able to receive 2 notifications in a connection interval, but if I was you I would test it.
So with this you would end up with 2/0.020 = 100 notifications/s
To test you can either use a sniffer, or you can count the number of notifications that are sent from the peripheral in one second.
If this is not sufficient for you I would look into S130 v2.0.0, it is capable of sending 6 notifications of 20 B in each connection (maybe more if the payload is smaller). Again, you will only achieve this if the Nexus supports it.
This question may be of interest.
The actual connection interval is set by the central device (Nexus), the minimum and maximum connection interval you have listed are just a preferred connection interval that the peripheral gives to the central. So you need to figure out what the actual connection interval is, this is explained in multiple questions in here. Let's assume it's 20 ms.
As a peripheral the S130 v1.0.0 is capable of sending 2 notifications in each connection interval. I guess your Nexus is able to receive 2 notifications in a connection interval, but if I was you I would test it.
So with this you would end up with 2/0.020 = 100 notifications/s
To test you can either use a sniffer, or you can count the number of notifications that are sent from the peripheral in one second.
If this is not sufficient for you I would look into S130 v2.0.0, it is capable of sending 6 notifications of 20 B in each connection (maybe more if the payload is smaller). Again, you will only achieve this if the Nexus supports it.