4 posts / 0 new
Last post
mohit3112
Offline
Last seen:6 months 2 weeks ago
Expert
加入:2014-08-04 13:45
Advertising time

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

JE_Dialog
Offline
Last seen:1 day 13 hours ago
工作人员
加入:2013-12-05 14:02
Hello mohit3112, the

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;

mohit3112
Offline
Last seen:6 months 2 weeks ago
Expert
加入:2014-08-04 13:45
Thanks that worked!! earlier

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

JE_Dialog
Offline
Last seen:1 day 13 hours ago
工作人员
加入:2013-12-05 14:02
Hello, in this application

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