2.2.3.1 Flow Description
1. When the driver receives the request from the setoid application, it frames the request in the s_sm_conf
format using sm_drv_set() function:
struct s_sm_conf
{
uint16_t flags;
uint16_t length;
uint32_t oid;
uint8_t *data;
};
2. The s_sm_conf structure is passed to sm_drv_conf, which sets the Pimfor Header and reads the value
of flags set and checks if the packet is for PIMFOR_OP_SET or PIMFOR_OP_GET
3. The structure is added into Tx Control queue after converting into fragment. Driver interrupts the device
for the packet in the transmit control queue
4. Increments Driver_Current_fragment queue value.
2.2.3.2 Flow Diagram
2-9
SHoC Driver Design