I am working with the accelerometer profile in dice project . I need to increase the advertisement time (just for testing purpose ) ,currently it is 30s with 20ms interval. can you please point me to correct place where we have to make change
Thanks
I am working with the accelerometer profile in dice project . I need to increase the advertisement time (just for testing purpose ) ,currently it is 30s with 20ms interval. can you please point me to correct place where we have to make change
Thanks
Hello mohit3112, the advertising intervals are set in the file app_accel_proj_task.c under the app directory.
Best regards,
约翰
FUNCTION DEFINITIONS
****************************************************************************************
*/
void app_task_custom_init()
{
accel_adv_interval1 = 30; //GZ
accel_adv_interval2 = 0;
accel_adv_interval3 = 0;
accel_con_interval = 10;
accel_mode = 0;
accel_latency = 0x8;
accel_window = 0xFF;
Thanks that worked!! earlier i change to 20s but i think 30s is the minimum that you can set ( correct me if i am wrong ) also what is the max time you can set ?
Thanks
Hello, in this application the way its stuctured, then yes, i believe it is the minumum - but in the real world the minumum and maximum are defined by the main core 4.0 specificaiton.. Theoretically the maxium is also the maxium defined by the core spec, although we have not tried out any lengthy intervals as it was only created as a demo..
Thanks &BR JE_Dialog