Color sensor reset at the end of calibration added. sensor id auto assignment was changed to be a fixed value assignment to avoid sensor id shift when some sensor is absent.

Dependencies:   UniGraphic mbed vt100

af_utils/pending.h

Committer:
Rhyme
Date:
2018-02-23
Revision:
1:8818b793d147
Parent:
0:ce97f6d34336

File content as of revision 1:8818b793d147:

#ifndef _PENDING_H_
#define _PENDING_H_
#include "mbed.h"
#include "afLib.h"
#include "af_attributes.h"

class pending_class {
public:
    pending_class() ;
    pending_class(
        uint8_t     messageType, 
        uint16_t    attrId, 
        uint8_t     requestId, 
        uint16_t    valueLen, 
        uint8_t     *value
    ) ;
    ~pending_class() ;

    request_t *request ;
    uint32_t submit_time ;
    uint32_t replied_time ;
} ;
#endif /* _PENDING_H_ */