Other Parts Discussed in Thread: PACKET-SNIFFER
Hi,
I'm developing an application using the CC2650MODA (will eventually move to CC2640R2) and I'm seeing large (250ms) latency between a sensor event being detected by the SCIF and receiving a BLE notify on my Android app.
I looked at the SimpleBLEPeripheral_createTask function but can't see how often the SimpleBLEPeripheral_taskFxn is run.
void SimpleBLEPeripheral_createTask(void) { Task_Params taskParams; // Configure task Task_Params_init(&taskParams); taskParams.stack = sbpTaskStack; taskParams.stackSize = SBP_TASK_STACK_SIZE; taskParams.priority = SBP_TASK_PRIORITY; Task_construct(&sbpTask, SimpleBLEPeripheral_taskFxn, &taskParams, NULL); }
For low latency response, I'd like it to run every 1ms or so to process the notify. Without specifying the task period, what will it default to? Or is it always running unless blocked by something of higher priority?
Thanks,
Jim