want to know how can i judge that the variation is caused in the connection interval, connection supervision timeout, slave latency once i have flashed ble_app_template code in nrf52832 s132.
want to know how can i judge that the variation is caused in the connection interval, connection supervision timeout, slave latency once i have flashed ble_app_template code in nrf52832 s132.
when changed the Connection Interval for 3000ms the device doesnot discover?
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(3000, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(3000, UNIT_1_25_MS)
Is this still you, RIDHIMA?
Please elaborate on what you are asking. The more specific you are, the easier it will be for us to help you.
Do you mean to say that the device does not show up when you scan for it, if you change the peripheral's MIN_CONN_INTERVAL and MAX_CONN_INTERVAL values? These values does not matter to the advertisement or discoverability of the device, so I think that something else might have gone wrong then.
Best regards,
Karl
Yes Karl,
I happened to change :
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(3000, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(3000, UNIT_1_25_MS) in ble_App_template code
but thw the device doesnot show any adevrtising?
Karl, kindly assist
I happened to change :
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(3000, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(3000, UNIT_1_25_MS) in ble_App_template code
but the the device doesnot show any adevrtising?
I wanted to set the Connection interval as either 100/1000/2000/4000ms, how cn this be achieved?
Hello again, RIDHIMA
Ridhi said:but the the device doesnot show any adevrtising?
If you do not see the device advertise after the change you will need to proceed with regular debugging techniques.
- Does your application build and flash without errors or warnings?
- Is there any indication that your program is running as it should, or to the contrary?
- What does your logger output when you attempt to run your program? Are there any LEDS or other peripheral indicating that the program is executed as expected?
- Are you able to open a debug session? Does the programcounter get stuck anywhere in your program, or end up someplace unexpectedly?
If you make sure to add DEBUG in your preprocessor defines, like shown in the included image, the logger will output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.
Ridhi said:I wanted to set the Connection interval as either 100/1000/2000/4000ms, how cn this be achieved?
Yes, the maximal connection interval length is 4000 ms, anything equal to or lower than that is fine.
Best regards,
Karl