Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V3.1.20.0
-
Component/s: Firmware
-
Labels:None
-
Epic Link:
Description
Under some circumstances driver/toolkid did not recognize a channel init.
The correct way for a channel init is:
- once a ChannelInit command is received by AP task (and if ConfigurationLock is not set) the AP task shall remove the ready and running bit
- before setting the ready or running bit the AP task shall spend at least 25ms time
- this can be done by e.g. calling TLR_TSK_SLEEP(25); or by using a TLR timer before setting the bits
- do NOT set the ready bit until database evaluation is finished
- if there is a database found the ready and running bit shall be set at the same time
- if no database is found the ready bit shall be set but running bit stays cleared
- now the evaluation for an internally stored SET_CONFIG packet shall start
- if a packet exists the stack shall be configured with this packet and afterwards the running bit shall be set
- if no packet exists the running bit is not set at all